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

Unified Diff: src/plugin/PluginSystem.h

Issue 4772743157383168: Issue #276 - eliminate CString from GetBrowserLanguage (Closed)
Patch Set: Created July 30, 2014, 8:50 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/PluginSettings.cpp ('k') | src/plugin/PluginSystem.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/plugin/PluginSystem.h
===================================================================
--- a/src/plugin/PluginSystem.h
+++ b/src/plugin/PluginSystem.h
@@ -1,24 +1,7 @@
#ifndef _PLUGIN_SYSTEM_H_
#define _PLUGIN_SYSTEM_H_
-
-class CPluginSystem
-{
-private:
-
- static CComAutoCriticalSection s_criticalSection;
-
- // Private constructor used by the singleton pattern
- CPluginSystem();
-
-public:
- static CPluginSystem* s_instance;
-
- static CPluginSystem* CPluginSystem::GetInstance();
-
- ~CPluginSystem();
-
- CString GetBrowserLanguage() const;
-};
+#include <string>
+std::wstring GetBrowserLanguage();
#endif // _PLUGIN_SYSTEM_H_
« no previous file with comments | « src/plugin/PluginSettings.cpp ('k') | src/plugin/PluginSystem.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld