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

Unified Diff: src/plugin/PluginConfig.h

Issue 11013110: Cleanup (Closed)
Patch Set: More beautification and addressing comments Created July 29, 2013, 12:13 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/plugin/PluginClientBase.cpp ('k') | src/plugin/PluginConfig.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_
« no previous file with comments | « src/plugin/PluginClientBase.cpp ('k') | src/plugin/PluginConfig.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld