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

Side by Side Diff: src/plugin/PluginClass.h

Issue 6570826467901440: No issue - stop using obsolete COM_INTERFACE_ENTRY_IMPL (Closed)
Patch Set: Created Nov. 28, 2014, 11:37 a.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 | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * http://msdn.microsoft.com/en-us/library/bb250436.aspx 2 * http://msdn.microsoft.com/en-us/library/bb250436.aspx
3 */ 3 */
4 4
5 #ifndef _PLUGIN_CLASS_H_ 5 #ifndef _PLUGIN_CLASS_H_
6 #define _PLUGIN_CLASS_H_ 6 #define _PLUGIN_CLASS_H_
7 7
8 8
9 #include "PluginTypedef.h" 9 #include "PluginTypedef.h"
10 #include "Plugin.h" 10 #include "Plugin.h"
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 43
44 public: 44 public:
45 45
46 DECLARE_REGISTRY_RESOURCEID(IDR_PLUGIN_CLASS) 46 DECLARE_REGISTRY_RESOURCEID(IDR_PLUGIN_CLASS)
47 47
48 DECLARE_PROTECT_FINAL_CONSTRUCT() 48 DECLARE_PROTECT_FINAL_CONSTRUCT()
49 49
50 BEGIN_COM_MAP(CPluginClass) 50 BEGIN_COM_MAP(CPluginClass)
51 COM_INTERFACE_ENTRY(IIEPlugin) 51 COM_INTERFACE_ENTRY(IIEPlugin)
52 COM_INTERFACE_ENTRY(IDispatch) 52 COM_INTERFACE_ENTRY(IDispatch)
53 COM_INTERFACE_ENTRY_IMPL(IObjectWithSite) 53 COM_INTERFACE_ENTRY(IObjectWithSite)
54 COM_INTERFACE_ENTRY(IOleCommandTarget) 54 COM_INTERFACE_ENTRY(IOleCommandTarget)
55 END_COM_MAP() 55 END_COM_MAP()
56 56
57 CPluginClass(); 57 CPluginClass();
58 ~CPluginClass(); 58 ~CPluginClass();
59 59
60 HRESULT FinalConstruct(); 60 HRESULT FinalConstruct();
61 void FinalRelease(); 61 void FinalRelease();
62 62
63 // IObjectWithSite 63 // IObjectWithSite
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
172 172
173 // Async browser 173 // Async browser
174 static CComQIPtr<IWebBrowser2> s_asyncWebBrowser2; 174 static CComQIPtr<IWebBrowser2> s_asyncWebBrowser2;
175 static CComQIPtr<IWebBrowser2> GetAsyncBrowser(); 175 static CComQIPtr<IWebBrowser2> GetAsyncBrowser();
176 }; 176 };
177 177
178 OBJECT_ENTRY_AUTO(__uuidof(PluginClass), CPluginClass) 178 OBJECT_ENTRY_AUTO(__uuidof(PluginClass), CPluginClass)
179 179
180 180
181 #endif // _PLUGIN_CLASS_H_ 181 #endif // _PLUGIN_CLASS_H_
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld