Left: | ||
Right: |
OLD | NEW |
---|---|
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 mutex_name; |
sergei
2014/07/08 11:58:34
in `m_someVar` "m" means "member", since we are al
Eric
2014/07/08 17:46:37
The "m_" prefix (and the "s_" also) are carryovers
| |
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_ |
OLD | NEW |