]> git.lyx.org Git - features.git/blobdiff - src/VCBackend.h
toggleReadOnly belongs only to RCS, not CVS.
[features.git] / src / VCBackend.h
index ad441c60816edade7d1436d12bb43f7b471ce6ca..402a723399aa84de3608cc479e6c89dd4a732fcf 100644 (file)
@@ -65,6 +65,8 @@ public:
        Buffer * owner() const { return owner_; }
        /// return the lock status of this file
        VCStatus status() const { return vcstatus; }
+       /// do we need special handling for read-only toggling?
+       virtual bool toggleReadOnlyEnabled() = 0;
 protected:
        /// parse information from the version file
        virtual void scanMaster() = 0;
@@ -133,6 +135,8 @@ public:
                return "RCS: " + version_;
        }
 
+       virtual bool toggleReadOnlyEnabled();
+
 protected:
        virtual void scanMaster();
 };
@@ -170,6 +174,8 @@ public:
                return "CVS: " + version_;
        }
 
+       virtual bool toggleReadOnlyEnabled();
+
 protected:
        virtual void scanMaster();
 
@@ -210,6 +216,8 @@ public:
                return "SVN: " + version_;
        }
 
+       virtual bool toggleReadOnlyEnabled();
+
 protected:
        virtual void scanMaster();