]> git.lyx.org Git - lyx.git/blobdiff - src/LyXVC.h
disable the del-suppresses-equation-label-at-end feature (not easy to describe, is...
[lyx.git] / src / LyXVC.h
index 077d4687cc6a8df4d67e6d23dc1d3f8faf09bafa..4285db7355c6262441f568de717f8a5a5125e4a4 100644 (file)
@@ -65,7 +65,7 @@ public:
        void setBuffer(Buffer *);
 
        /// Register the document as an VC file.
-       void registrer();
+       bool registrer();
 
        /// Unlock and commit changes. Returns log.
        std::string checkIn();
@@ -77,6 +77,19 @@ public:
        /// Does the current VC supports this operation?
        bool checkOutEnabled();
 
+       /// Synchronize the whole archive with repository
+       std::string repoSynchro();
+       /// Does the current VC supports this operation?
+       bool repoSynchroEnabled();
+
+       /**
+        * Toggle locking property of the edited file,
+        * i.e. whether the file uses locking mechanism.
+        */
+       std::string lockingToggle();
+       /// Does the current VC supports this operation?
+       bool lockingToggleEnabled();
+
        /// Revert to last version
        void revert();