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

Unified Diff: src/plugin/PluginConfig.h

Issue 11013110: Cleanup (Closed)
Patch Set: Whole cleanup + comments addressed Created July 23, 2013, 11:34 a.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
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_

Powered by Google App Engine
This is Rietveld