Index: src/plugin/PluginConfig.h |
=================================================================== |
deleted file mode 100644 |
--- a/src/plugin/PluginConfig.h |
+++ /dev/null |
@@ -1,47 +0,0 @@ |
-#ifndef _PLUGIN_CONFIG_H_ |
-#define _PLUGIN_CONFIG_H_ |
- |
- |
-#include "PluginTypedef.h" |
-#include "PluginIniFileW.h" |
-#include "PluginChecksum.h" |
- |
- |
-class CPluginConfig |
-{ |
- |
-private: |
- |
- static CPluginConfig* s_instance; |
- |
- static CComAutoCriticalSection s_criticalSection; |
- |
- TDownloadFileProperties m_downloadFileProperties; |
- TDownloadFileCategories m_downloadFileCategories; |
- TDownloadDomainTitles m_downloadDomainTitles; |
- |
- // private constructor used by the singleton pattern |
- CPluginConfig(bool forceCreate=true); |
- |
-public: |
- |
- ~CPluginConfig(); |
- |
- // Returns an instance of the Dictionary |
- static CPluginConfig* GetInstance(bool forceCreate=true); |
- |
- static bool Download(const CString& url, const CString& filename); |
- bool GetDownloadProperties(const CString& headers, SDownloadFileProperties& properties) const; |
- |
- void Read(); |
- void Create(bool forceCreate=true); |
- |
- int GenerateFilterString(TCHAR* pBuffer, SDownloadFileProperties& properties, std::vector<std::pair<CString,CString>>& filterData, bool allowConversion) const; |
- |
- void GetDownloadDomainTitles(TDownloadDomainTitles& domainTitles) const; |
- |
- std::vector<CString> GetConversionExtenssions(); |
-}; |
- |
- |
-#endif // _PLUGIN_CONFIG_H_ |