]> git.lyx.org Git - lyx.git/blobdiff - src/LyXVC.cpp
Routines for calculating numerical labels for BibTeX citations.
[lyx.git] / src / LyXVC.cpp
index c7040a84c98a8c0239ee73112784cf9cc3d10d2e..e55f0c6c6c482094047abf8c761ccc76a10110b6 100644 (file)
@@ -170,6 +170,20 @@ string LyXVC::checkOut()
 }
 
 
+string LyXVC::repoUpdate()
+{
+       LYXERR(Debug::LYXVC, "LyXVC: repoUpdate");
+       return vcs->repoUpdate();
+}
+
+
+string LyXVC::lockingToggle()
+{
+       LYXERR(Debug::LYXVC, "LyXVC: toggle locking property");
+       return vcs->lockingToggle();
+}
+
+
 void LyXVC::revert()
 {
        LYXERR(Debug::LYXVC, "LyXVC: revert");
@@ -212,7 +226,7 @@ void LyXVC::toggleReadOnly()
 }
 
 
-bool LyXVC::inUse()
+bool LyXVC::inUse() const
 {
        if (vcs)
                return true;
@@ -254,19 +268,25 @@ string const LyXVC::getLogFile() const
 }
 
 
-bool LyXVC::checkOutEnabled()
+bool LyXVC::checkOutEnabled() const
 {
        return vcs && vcs->checkOutEnabled();
 }
 
 
-bool LyXVC::checkInEnabled()
+bool LyXVC::checkInEnabled() const
 {
        return vcs && vcs->checkInEnabled();
 }
 
 
-bool LyXVC::undoLastEnabled()
+bool LyXVC::lockingToggleEnabled() const
+{
+       return vcs && vcs->lockingToggleEnabled();
+}
+
+
+bool LyXVC::undoLastEnabled() const
 {
        return vcs && vcs->undoLastEnabled();
 }