]> git.lyx.org Git - lyx.git/blobdiff - src/VCBackend.h
Take into account file system case sensitivity when checking whether
[lyx.git] / src / VCBackend.h
index 23bb162eb5583f32ed1b0d34d0edfc85f64c9a0b..fd661ac7fc156efaf05cc3a8b33380da77a5e886 100644 (file)
@@ -27,7 +27,8 @@ public:
        /// the status of the managed file
        enum VCStatus {
                UNLOCKED,
-               LOCKED
+               LOCKED,
+               NOLOCKING
        };
 
        virtual ~VCS() {}
@@ -228,7 +229,7 @@ protected:
        /// checks locking policy and setup locked_mode_
        bool checkLockMode();
        /// is the loaded file locked?
-       bool isLocked();
+       bool isLocked() const;
        /// acquire/release write lock for the current file
        void fileLock(bool lock, support::FileName const & tmpf, std::string & status);