OLD | NEW |
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 Loading... |
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 Loading... |
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_ |
OLD | NEW |