Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: src/plugin/AdblockPlus.idl

Issue 4937147073167360: Issue 1672 - Subscribe and listen COM events using ATL::IDispEventImpl and BEGIN_SINK_MAP (Closed)
Patch Set: add exception wrappers Created Feb. 27, 2015, 6:20 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | src/plugin/PluginClass.h » ('j') | src/plugin/PluginClass.cpp » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * This file is part of Adblock Plus <https://adblockplus.org/>, 2 * This file is part of Adblock Plus <https://adblockplus.org/>,
3 * Copyright (C) 2006-2015 Eyeo GmbH 3 * Copyright (C) 2006-2015 Eyeo GmbH
4 * 4 *
5 * Adblock Plus is free software: you can redistribute it and/or modify 5 * Adblock Plus is free software: you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License version 3 as 6 * it under the terms of the GNU General Public License version 3 as
7 * published by the Free Software Foundation. 7 * published by the Free Software Foundation.
8 * 8 *
9 * Adblock Plus is distributed in the hope that it will be useful, 9 * Adblock Plus is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details. 12 * GNU General Public License for more details.
13 * 13 *
14 * You should have received a copy of the GNU General Public License 14 * You should have received a copy of the GNU General Public License
15 * along with Adblock Plus. If not, see <http://www.gnu.org/licenses/>. 15 * along with Adblock Plus. If not, see <http://www.gnu.org/licenses/>.
16 */ 16 */
17 17
18 // AdBlockPlus.idl : IDL source for AdblockPlus.dll 18 // AdBlockPlus.idl : IDL source for AdblockPlus.dll
19 // 19 //
20 20
21 #include "AdblockPlusGuids.h" 21 #include "AdblockPlusGuids.h"
22 22
23 import "oaidl.idl"; 23 import "oaidl.idl";
24 import "ocidl.idl"; 24 import "ocidl.idl";
25 25
26 [ 26 [
27 object,
28 uuid(GUUID_IPRODUCT),
29 dual,
30 helpstring("Adblock Plus Interface"),
31 pointer_default(unique)
32 ]
33 interface IIEPlugin : IDispatch
34 {
35 };
36
37 [
38 uuid(GUUID_TYPELIB), 27 uuid(GUUID_TYPELIB),
39 version(1.0), 28 version(1.0),
40 helpstring("Adblock Plus 1.0 Type Library") 29 helpstring("Adblock Plus 1.0 Type Library")
41 ] 30 ]
42
43 library PluginLib 31 library PluginLib
44 { 32 {
45 importlib("stdole32.tlb"); 33 importlib("stdole32.tlb");
46 importlib("stdole2.tlb"); 34 importlib("stdole2.tlb");
47 35
48 [ 36 [
49 uuid(GUUID_CLASS_PRODUCT), 37 uuid(GUUID_CLASS_PRODUCT),
50 helpstring("Adblock Plus Class") 38 helpstring("Adblock Plus Class")
51 ] 39 ]
52 coclass PluginClass 40 coclass PluginClass
53 { 41 {
54 » » [default] interface IIEPlugin; 42 » » [default] interface IUnknown;
55 }; 43 };
56 }; 44 };
OLDNEW
« no previous file with comments | « no previous file | src/plugin/PluginClass.h » ('j') | src/plugin/PluginClass.cpp » ('J')

Powered by Google App Engine
This is Rietveld