| Index: src/plugin/PluginConfiguration.h |
| =================================================================== |
| deleted file mode 100644 |
| --- a/src/plugin/PluginConfiguration.h |
| +++ /dev/null |
| @@ -1,103 +0,0 @@ |
| -#ifndef _PLUGIN_CONFIGURATION_H_ |
| -#define _PLUGIN_CONFIGURATION_H_ |
| - |
| - |
| -#include "PluginTypedef.h" |
| - |
| - |
| -class CPluginConfiguration |
| -{ |
| - |
| -public: |
| - |
| - // Inject the userid and version id into the class when constructing |
| - CPluginConfiguration(); |
| - |
| - // Refresh (download) configuration |
| - bool Download(); |
| - void Invalidate(); |
| - |
| - // Is configuration valid |
| - bool IsValid() const; |
| - bool IsValidUserId() const; |
| - bool IsValidPluginExpired() const; |
| - bool IsValidPluginInfoPanel() const; |
| - bool IsValidDictionary() const; |
| -#ifdef SUPPORT_FILTER |
| - bool IsValidFilter() const; |
| -#endif |
| -#ifdef SUPPORT_WHITELIST |
| - bool IsValidWhiteList() const; |
| -#endif |
| -#ifdef SUPPORT_CONFIG |
| - bool IsValidConfig() const; |
| -#endif |
| - |
| - // General plugin status |
| - bool IsPluginActivated() const; |
| - bool IsPluginRegistered() const; |
| - bool IsPluginActivateEnabled() const; |
| - bool IsPluginExpired() const; |
| - |
| - int GetAdBlockLimit() const; |
| - CString GetUserId() const; |
| - |
| - int GetPluginInfoPanel() const; |
| - |
| - // Dictionary information |
| - int GetDictionaryVersion() const; |
| - CString GetDictionaryUrl() const; |
| - |
| -#ifdef SUPPORT_CONFIG |
| - CString GetConfigUrl() const; |
| - int GetConfigVersion() const; |
| -#endif // SUPPORT_CONFIG |
| - |
| -private: |
| - |
| - bool m_isValid; |
| - bool m_isValidUserId; |
| - bool m_isValidPluginActivated; |
| - bool m_isValidPluginActivateEnabled; |
| - bool m_isValidPluginExpired; |
| - bool m_isValidPluginInfoPanel; |
| - bool m_isValidDictionary; |
| - bool m_isPluginRegistered; |
| - int m_adBlockLimit; |
| -#ifdef SUPPORT_WHITELIST |
| - bool m_isValidWhiteList; |
| -#endif |
| -#ifdef SUPPORT_FILTER |
| - bool m_isValidFilter; |
| -#endif |
| -#ifdef SUPPORT_CONFIG |
| - bool m_isValidConfig; |
| -#endif |
| - |
| - // General plugin status |
| - bool m_isPluginActivated; |
| - bool m_isPluginActivateEnabled; |
| - bool m_isPluginExpired; |
| - |
| - // User registration |
| - CString m_userId; |
| - |
| - // Dictionary that currently can be downloaded from the server |
| - int m_dictionaryVersion; |
| - CString m_dictionaryUrl; |
| - |
| - int m_pluginInfoPanel; |
| - |
| -#ifdef SUPPORT_FILTER |
| - int m_filterVersion; |
| - std::map<CString, CString> m_filterFileNameList; |
| -#endif |
| - |
| -#ifdef SUPPORT_CONFIG |
| - CString m_configUrl; |
| - int m_configVersion; |
| -#endif // SUPPORT_CONFIG |
| -}; |
| - |
| - |
| -#endif // _PLUGIN_CONFIGURATION_H_ |