Menu

[r3020]: / trunk / Src / ExternalObj.idl  Maximize  Restore  History

Download this file

140 lines (121 with data), 3.0 kB

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
/*
* This Source Code Form is subject to the terms of the Mozilla Public License,
* v. 2.0. If a copy of the MPL was not distributed with this file, You can
* obtain one at http://mozilla.org/MPL/2.0/
*
* Copyright (C) 2006-2013, Peter Johnson (www.delphidabbler.com).
*
* $Rev$
* $Date$
*
* Source for type library that defines the interface to extensions to the
* browser control DOM's "external object".
*/
[
uuid(DA95AEFB-3FB5-4A9E-9F9D-A53DD05CA7D4),
version(12.0),
helpstring("CodeSnip DOM External Object Extender Type Library"),
custom(DE77BA63-517C-11D1-A2DA-0000F8773CE9, 1219706147),
custom(DE77BA64-517C-11D1-A2DA-0000F8773CE9, 117441012)
]
library ExternalObj
{
importlib("stdole2.tlb");
/*
* V12 interface of extension to browser DOM's "external" object.
*/
[
uuid(BA971829-ED4D-4092-BCAE-4B5DB1A2D74A),
version(12.0),
helpstring("DOM external object extender"),
dual,
oleautomation
]
interface IWBExternal12: IDispatch
{
/*
* Update database from internet.
*/
[
id(0x00000065)
]
HRESULT _stdcall UpdateDbase( void );
/*
* Display named snippet.
* @param SnippetName [in] Name of snippet to display.
* @param UserDefined [in] Whether snippet is user defined.
*/
[
id(0x00000066)
]
HRESULT _stdcall DisplaySnippet([in] BSTR SnippetName,
[in] VARIANT_BOOL UserDefined, [in] VARIANT_BOOL NewTab );
/*
* Displays configure compilers dialog box.
*/
[
id(0x0000006A)
]
HRESULT _stdcall ConfigCompilers( void );
/*
* Edits the named snippet.
* @param SnippetName [in] Name of snippet to edit. Must be user defined.
*/
[
id(0x0000006C)
]
HRESULT _stdcall EditSnippet([in] BSTR SnippetName);
/*
* Displays Donate dialog box.
*/
[
id(0x0000006D)
]
HRESULT _stdcall Donate( void );
/*
* Display identified category.
* @param CatID [in] ID of category to display.
*/
[
id(0x0000006E)
]
HRESULT _stdcall DisplayCategory([in] BSTR CatID, [in] VARIANT_BOOL NewTab);
/*
* Open Snippets Editor ready to create a new snippet.
*/
[
id(0x0000006F)
]
HRESULT _stdcall NewSnippet( void );
/*
* Show news items from CodeSnip news feed.
*/
[
id(0x00000070)
]
HRESULT _stdcall ShowNews( void );
/*
* Check for program updates.
*/
[
id(0x00000071)
]
HRESULT _stdcall CheckForUpdates( void );
/*
* Display the program's About box.
*/
[
id(0x00000072)
]
HRESULT _stdcall ShowAboutBox( void );
/*
* Displays a tab in the Preferences dialogue box.
* @param TagCls [in] Class name of frame hosting required dialogue box
* page.
*/
[
id(0x00000073)
]
HRESULT _stdcall ShowPrefsPage([in] BSTR ClsName);
};
};
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.