Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Delta Between Two Patch Sets: Shared/PluginConfiguration.h

Issue 9998007: Initial libadblockplus integration (Closed)
Left Patch Set: More integration, reflecting latest libadblockplus changes Created April 9, 2013, 5:48 a.m.
Right Patch Set: Whitelisting management Created April 11, 2013, 9:06 a.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
Right: Side by side diff | Download
« no previous file with change/comment | « Shared/PluginClass.cpp ('k') | Shared/PluginConfiguration.cpp » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
(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
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
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_
LEFTRIGHT

Powered by Google App Engine
This is Rietveld