| 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 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_ |
| OLD | NEW |