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

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

Issue 6523237609504768: Issue #276 - eliminate CString from CPluginMutex (Closed)
Patch Set: Created July 30, 2014, 5:56 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/PluginDebug.cpp ('k') | src/plugin/PluginMutex.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 #ifndef _PLUGIN_MUTEX_H_ 1 #ifndef _PLUGIN_MUTEX_H_
2 #define _PLUGIN_MUTEX_H_ 2 #define _PLUGIN_MUTEX_H_
3 3
4 4
5 class CPluginMutex 5 class CPluginMutex
6 { 6 {
7 7
8 private: 8 private:
9 9
10 HANDLE m_hMutex; 10 HANDLE m_hMutex;
11 bool m_isLocked; 11 bool m_isLocked;
12 int m_errorSubidBase; 12 int m_errorSubidBase;
13 CString m_name; 13 std::wstring system_name;
sergei 2014/08/05 11:56:22 Why is it renamed? Firstly it is the name of mute
Eric 2014/08/05 12:56:18 Because I'm saving the rest of the renames for ano
14 14
15 public: 15 public:
16 16
17 CPluginMutex(const CString& name, int errorSubidBase); 17 CPluginMutex(const std::wstring& name, int errorSubidBase);
18 ~CPluginMutex(); 18 ~CPluginMutex();
19 19
20 bool IsLocked() const; 20 bool IsLocked() const;
21 }; 21 };
22 22
23 23
24 #endif // _PLUGIN_MUTEX_H_ 24 #endif // _PLUGIN_MUTEX_H_
OLDNEW
« no previous file with comments | « src/plugin/PluginDebug.cpp ('k') | src/plugin/PluginMutex.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld