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

Unified Diff: src/plugin/PluginSettings.h

Issue 6288156869525504: Issue #276 - eliminate CString from GetDataPath (Closed)
Patch Set: Created July 30, 2014, 8:59 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/PluginDebug.cpp ('k') | src/plugin/PluginSettings.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/plugin/PluginSettings.h
===================================================================
--- a/src/plugin/PluginSettings.h
+++ b/src/plugin/PluginSettings.h
@@ -70,8 +70,6 @@
static bool HasInstance();
static CPluginSettings* GetInstance();
- static CString GetDataPath(const CString& filename=L"");
-
bool IsPluginEnabled() const;
std::map<CString, CString> GetFilterLanguageTitleList() const;
@@ -115,5 +113,6 @@
CString GetDocumentationLink();
};
+std::wstring GetDataPath(const std::wstring& filename=L"");
Oleksandr 2014/08/05 12:06:08 If it's not a member of a class I'd move it elsewh
Eric 2014/08/05 15:42:07 There are a bunch of static functions like this th
#endif // _PLUGIN_SETTINGS_H_
« no previous file with comments | « src/plugin/PluginDebug.cpp ('k') | src/plugin/PluginSettings.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld