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 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
165 static bool s_isMainThreadDone; | 165 static bool s_isMainThreadDone; |
166 | 166 |
167 static HANDLE GetMainThreadHandle(); | 167 static HANDLE GetMainThreadHandle(); |
168 static bool IsMainThreadDone(HANDLE mainThread); | 168 static bool IsMainThreadDone(HANDLE mainThread); |
169 | 169 |
170 | 170 |
171 static HINSTANCE s_hUxtheme; | 171 static HINSTANCE s_hUxtheme; |
172 static CSimpleArray<CPluginClass*> s_instances; | 172 static CSimpleArray<CPluginClass*> s_instances; |
173 static std::map<DWORD,CPluginClass*> s_threadInstances; | 173 static std::map<DWORD,CPluginClass*> s_threadInstances; |
174 | 174 |
175 // Is plugin to be updated? | |
176 static bool s_isPluginToBeUpdated; | |
177 | |
178 #ifdef SUPPORT_WHITELIST | 175 #ifdef SUPPORT_WHITELIST |
179 static std::map<UINT, CString> s_menuDomains; | 176 static std::map<UINT, CString> s_menuDomains; |
180 #endif | 177 #endif |
181 | 178 |
182 static CComAutoCriticalSection s_criticalSectionLocal; | 179 static CComAutoCriticalSection s_criticalSectionLocal; |
183 static CComAutoCriticalSection s_criticalSectionBrowser; | 180 static CComAutoCriticalSection s_criticalSectionBrowser; |
184 static CComAutoCriticalSection s_criticalSectionWindow; | 181 static CComAutoCriticalSection s_criticalSectionWindow; |
185 #ifdef SUPPORT_WHITELIST | 182 #ifdef SUPPORT_WHITELIST |
186 static CComAutoCriticalSection s_criticalSectionWhiteList; | 183 static CComAutoCriticalSection s_criticalSectionWhiteList; |
187 #endif | 184 #endif |
188 | 185 |
189 // Async browser | 186 // Async browser |
190 static CComQIPtr<IWebBrowser2> s_asyncWebBrowser2; | 187 static CComQIPtr<IWebBrowser2> s_asyncWebBrowser2; |
191 | 188 |
192 static CComQIPtr<IWebBrowser2> GetAsyncBrowser(); | 189 static CComQIPtr<IWebBrowser2> GetAsyncBrowser(); |
193 | 190 |
194 }; | 191 }; |
195 | 192 |
196 OBJECT_ENTRY_AUTO(__uuidof(PluginClass), CPluginClass) | 193 OBJECT_ENTRY_AUTO(__uuidof(PluginClass), CPluginClass) |
197 | 194 |
198 | 195 |
199 #endif // _PLUGIN_CLASS_H_ | 196 #endif // _PLUGIN_CLASS_H_ |
OLD | NEW |