diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/mts/MTS_IO_LockFile.h | 6 | 
1 files changed, 5 insertions, 1 deletions
| diff --git a/include/mts/MTS_IO_LockFile.h b/include/mts/MTS_IO_LockFile.h index 22e641b..730cf3c 100644 --- a/include/mts/MTS_IO_LockFile.h +++ b/include/mts/MTS_IO_LockFile.h @@ -34,8 +34,11 @@  namespace MTS {      namespace IO { +          class LockFile : MTS::NonCopyable { +              public: +                  LockFile(const std::string& sFilePath);                  virtual ~LockFile(); @@ -43,10 +46,11 @@ namespace MTS {                  void unlock();                  bool isLocked(); +            protected: +              private:                  std::string m_sFile;                  int m_iLockFd; -                int m_iLockErr;          };      } | 
