LEFT | RIGHT |
(no file at all) | |
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 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
112 | 112 |
113 static DWORD WINAPI StartInitObject(LPVOID thisPtr); | 113 static DWORD WINAPI StartInitObject(LPVOID thisPtr); |
114 bool InitObject(bool bBHO); | 114 bool InitObject(bool bBHO); |
115 void CloseTheme(); | 115 void CloseTheme(); |
116 void UpdateTheme(); | 116 void UpdateTheme(); |
117 | 117 |
118 static HICON GetStatusBarIcon(const CString& url); | 118 static HICON GetStatusBarIcon(const CString& url); |
119 static CPluginClass* FindInstance(HWND hStatusBarWnd); | 119 static CPluginClass* FindInstance(HWND hStatusBarWnd); |
120 static LRESULT CALLBACK NewStatusProc(HWND hWnd, UINT message, WPARAM wParam,
LPARAM lParam); | 120 static LRESULT CALLBACK NewStatusProc(HWND hWnd, UINT message, WPARAM wParam,
LPARAM lParam); |
121 static LRESULT CALLBACK PaneWindowProc(HWND hWnd, UINT message, WPARAM wParam,
LPARAM lParam); | 121 static LRESULT CALLBACK PaneWindowProc(HWND hWnd, UINT message, WPARAM wParam,
LPARAM lParam); |
122 | 122 static void FirstRunThread(); |
123 void BeforeNavigate2(DISPPARAMS* pDispParams); | 123 void BeforeNavigate2(DISPPARAMS* pDispParams); |
124 | 124 |
125 void Unadvice(); | 125 void Unadvice(); |
126 | 126 |
127 void ShowStatusBar(); | 127 void ShowStatusBar(); |
128 bool IsStatusBarEnabled(); | 128 bool IsStatusBarEnabled(); |
129 | 129 |
130 public: | 130 public: |
131 CComQIPtr<IWebBrowser2> m_webBrowser2; | 131 CComQIPtr<IWebBrowser2> m_webBrowser2; |
132 private: | 132 private: |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
180 static CComQIPtr<IWebBrowser2> s_asyncWebBrowser2; | 180 static CComQIPtr<IWebBrowser2> s_asyncWebBrowser2; |
181 | 181 |
182 static CComQIPtr<IWebBrowser2> GetAsyncBrowser(); | 182 static CComQIPtr<IWebBrowser2> GetAsyncBrowser(); |
183 | 183 |
184 }; | 184 }; |
185 | 185 |
186 OBJECT_ENTRY_AUTO(__uuidof(PluginClass), CPluginClass) | 186 OBJECT_ENTRY_AUTO(__uuidof(PluginClass), CPluginClass) |
187 | 187 |
188 | 188 |
189 #endif // _PLUGIN_CLASS_H_ | 189 #endif // _PLUGIN_CLASS_H_ |
LEFT | RIGHT |