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

Side by Side Diff: src/plugin/PluginSettings.h

Issue 4772743157383168: Issue #276 - eliminate CString from GetBrowserLanguage (Closed)
Patch Set: Created July 30, 2014, 8:50 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/plugin/PluginClass.cpp ('k') | src/plugin/PluginSettings.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /** 1 /**
2 * This class contains all client functionality of the IE plugin 2 * This class contains all client functionality of the IE plugin
3 * 3 *
4 * Exception errors are tested by calls to ExceptionsTest from: Main ... 4 * Exception errors are tested by calls to ExceptionsTest from: Main ...
5 */ 5 */
6 6
7 #ifndef _PLUGIN_SETTINGS_H_ 7 #ifndef _PLUGIN_SETTINGS_H_
8 #define _PLUGIN_SETTINGS_H_ 8 #define _PLUGIN_SETTINGS_H_
9 9
10 10
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 static CString GetDataPath(const CString& filename=L""); 73 static CString GetDataPath(const CString& filename=L"");
74 74
75 bool IsPluginEnabled() const; 75 bool IsPluginEnabled() const;
76 76
77 std::map<CString, CString> GetFilterLanguageTitleList() const; 77 std::map<CString, CString> GetFilterLanguageTitleList() const;
78 78
79 void SetWorkingThreadId(); 79 void SetWorkingThreadId();
80 void SetWorkingThreadId(DWORD id); 80 void SetWorkingThreadId(DWORD id);
81 bool IsWorkingThread(DWORD dwThread=0) const; 81 bool IsWorkingThread(DWORD dwThread=0) const;
82 82
83 static CString GetSystemLanguage();
84 DWORD m_WindowsBuildNumber; 83 DWORD m_WindowsBuildNumber;
85 84
86 public: 85 public:
87 86
88 void TogglePluginEnabled(); 87 void TogglePluginEnabled();
89 bool GetPluginEnabled() const; 88 bool GetPluginEnabled() const;
90 89
91 void AddError(const CString& error, const CString& errorCode); 90 void AddError(const CString& error, const CString& errorCode);
92 91
93 // Settings whitelist 92 // Settings whitelist
(...skipping 17 matching lines...) Expand all
111 110
112 void SetSubscription(const std::wstring& url); 111 void SetSubscription(const std::wstring& url);
113 void SetDefaultSubscription(); 112 void SetDefaultSubscription();
114 CString GetSubscription(); 113 CString GetSubscription();
115 CString GetAppLocale(); 114 CString GetAppLocale();
116 CString GetDocumentationLink(); 115 CString GetDocumentationLink();
117 }; 116 };
118 117
119 118
120 #endif // _PLUGIN_SETTINGS_H_ 119 #endif // _PLUGIN_SETTINGS_H_
OLDNEW
« no previous file with comments | « src/plugin/PluginClass.cpp ('k') | src/plugin/PluginSettings.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld