OLD | NEW |
1 #ifndef _PLUGIN_TAB_BASE_H_ | 1 #ifndef _PLUGIN_TAB_BASE_H_ |
2 #define _PLUGIN_TAB_BASE_H_ | 2 #define _PLUGIN_TAB_BASE_H_ |
3 | 3 |
4 | 4 |
5 #ifdef SUPPORT_DOM_TRAVERSER | 5 #ifdef SUPPORT_DOM_TRAVERSER |
6 class CPluginDomTraverser; | 6 class CPluginDomTraverser; |
7 #endif | 7 #endif |
8 | 8 |
9 #include "PluginUserSettings.h" | 9 #include "PluginUserSettings.h" |
10 | 10 #include "PluginFilter.h" |
11 | 11 |
12 class CPluginClass; | 12 class CPluginClass; |
13 | 13 |
14 | 14 |
15 class CPluginTabBase | 15 class CPluginTabBase |
16 { | 16 { |
17 | 17 |
18 friend class CPluginClass; | 18 friend class CPluginClass; |
19 | 19 |
20 protected: | 20 protected: |
(...skipping 12 matching lines...) Expand all Loading... |
33 bool m_isThreadDone; | 33 bool m_isThreadDone; |
34 | 34 |
35 #ifdef SUPPORT_DOM_TRAVERSER | 35 #ifdef SUPPORT_DOM_TRAVERSER |
36 CPluginDomTraverser* m_traverser; | 36 CPluginDomTraverser* m_traverser; |
37 #endif | 37 #endif |
38 | 38 |
39 static int s_dictionaryVersion; | 39 static int s_dictionaryVersion; |
40 static int s_settingsVersion; | 40 static int s_settingsVersion; |
41 #ifdef SUPPORT_FILTER | 41 #ifdef SUPPORT_FILTER |
42 static int s_filterVersion; | 42 static int s_filterVersion; |
| 43 public: |
| 44 std::auto_ptr<CPluginFilter> m_filter; |
| 45 private: |
43 #endif | 46 #endif |
44 #ifdef SUPPORT_WHITELIST | 47 #ifdef SUPPORT_WHITELIST |
45 static int s_whitelistVersion; | 48 static int s_whitelistVersion; |
46 #endif | 49 #endif |
47 #ifdef SUPPORT_CONFIG | 50 #ifdef SUPPORT_CONFIG |
48 static int s_configVersion; | 51 static int s_configVersion; |
49 #endif | 52 #endif |
50 | 53 |
51 static DWORD WINAPI ThreadProc(LPVOID pParam); | 54 static DWORD WINAPI ThreadProc(LPVOID pParam); |
52 | 55 |
(...skipping 26 matching lines...) Expand all Loading... |
79 #ifdef SUPPORT_FRAME_CACHING | 82 #ifdef SUPPORT_FRAME_CACHING |
80 void CacheFrame(const CString& url); | 83 void CacheFrame(const CString& url); |
81 bool IsFrameCached(const CString& url); | 84 bool IsFrameCached(const CString& url); |
82 void ClearFrameCache(const CString& domain=""); | 85 void ClearFrameCache(const CString& domain=""); |
83 #endif | 86 #endif |
84 | 87 |
85 }; | 88 }; |
86 | 89 |
87 | 90 |
88 #endif // _PLUGIN_TAB_BASE_H_ | 91 #endif // _PLUGIN_TAB_BASE_H_ |
OLD | NEW |