LEFT | RIGHT |
(no file at all) | |
1 #ifndef _PLUGIN_CONFIGURATION_H_ | 1 #ifndef _PLUGIN_CONFIGURATION_H_ |
2 #define _PLUGIN_CONFIGURATION_H_ | 2 #define _PLUGIN_CONFIGURATION_H_ |
3 | 3 |
4 | 4 |
5 #include "PluginTypedef.h" | 5 #include "PluginTypedef.h" |
6 | 6 |
7 | 7 |
8 class CPluginConfiguration | 8 class CPluginConfiguration |
9 { | 9 { |
10 | 10 |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
46 // Does there exists a new version, that can be downloaded and installed | 46 // Does there exists a new version, that can be downloaded and installed |
47 CString GetPluginUpdateVersion() const; | 47 CString GetPluginUpdateVersion() const; |
48 CString GetPluginUpdateUrl() const; | 48 CString GetPluginUpdateUrl() const; |
49 | 49 |
50 int GetPluginInfoPanel() const; | 50 int GetPluginInfoPanel() const; |
51 | 51 |
52 // Dictionary information | 52 // Dictionary information |
53 int GetDictionaryVersion() const; | 53 int GetDictionaryVersion() const; |
54 CString GetDictionaryUrl() const; | 54 CString GetDictionaryUrl() const; |
55 | 55 |
56 #ifdef SUPPORT_FILTER | |
57 int GetFilterVersion() const; | |
58 TFilterUrlList GetFilterUrlList() const; | |
59 std::map<CString, CString> GetFilterFileNamesList() const; | |
60 #endif // SUPPORT_FILTER | |
61 | |
62 #ifdef SUPPORT_WHITELIST | |
63 TDomainList GetWhiteList() const; | |
64 #endif // SUPPORT_WHITELIST | |
65 | |
66 #ifdef SUPPORT_CONFIG | 56 #ifdef SUPPORT_CONFIG |
67 CString GetConfigUrl() const; | 57 CString GetConfigUrl() const; |
68 int GetConfigVersion() const; | 58 int GetConfigVersion() const; |
69 #endif // SUPPORT_CONFIG | 59 #endif // SUPPORT_CONFIG |
70 | 60 |
71 private: | 61 private: |
72 | 62 |
73 bool m_isValid; | 63 bool m_isValid; |
74 bool m_isValidUserId; | 64 bool m_isValidUserId; |
75 bool m_isValidPluginActivated; | 65 bool m_isValidPluginActivated; |
(...skipping 27 matching lines...) Expand all Loading... |
103 CString m_pluginUpdateUrl; | 93 CString m_pluginUpdateUrl; |
104 | 94 |
105 // Dictionary that currently can be downloaded from the server | 95 // Dictionary that currently can be downloaded from the server |
106 int m_dictionaryVersion; | 96 int m_dictionaryVersion; |
107 CString m_dictionaryUrl; | 97 CString m_dictionaryUrl; |
108 | 98 |
109 int m_pluginInfoPanel; | 99 int m_pluginInfoPanel; |
110 | 100 |
111 #ifdef SUPPORT_FILTER | 101 #ifdef SUPPORT_FILTER |
112 int m_filterVersion; | 102 int m_filterVersion; |
113 TFilterUrlList m_filterUrlList; | |
114 std::map<CString, CString> m_filterFileNameList; | 103 std::map<CString, CString> m_filterFileNameList; |
115 #endif | 104 #endif |
116 | |
117 #ifdef SUPPORT_WHITELIST | |
118 TDomainList m_whiteList; | |
119 #endif // SUPPORT_WHITELIST | |
120 | 105 |
121 #ifdef SUPPORT_CONFIG | 106 #ifdef SUPPORT_CONFIG |
122 CString m_configUrl; | 107 CString m_configUrl; |
123 int m_configVersion; | 108 int m_configVersion; |
124 #endif // SUPPORT_CONFIG | 109 #endif // SUPPORT_CONFIG |
125 }; | 110 }; |
126 | 111 |
127 | 112 |
128 #endif // _PLUGIN_CONFIGURATION_H_ | 113 #endif // _PLUGIN_CONFIGURATION_H_ |
LEFT | RIGHT |