X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FLyXVC.h;h=e3db3cbe5eb175407a29ea962c4e91fb65d6fc5b;hb=021f51e19b3751f8f15d8bd89f7aa6a109624b29;hp=79490ec89179fe8b156582aef4ddbb827019dd8a;hpb=aaa4169ecef44faf63a8f9f0b9471dfb7f83428d;p=lyx.git diff --git a/src/LyXVC.h b/src/LyXVC.h index 79490ec891..e3db3cbe5e 100644 --- a/src/LyXVC.h +++ b/src/LyXVC.h @@ -4,7 +4,7 @@ * This file is part of LyX, the document processor. * Licence details can be found in the file COPYING. * - * \author Lars Gullik Bjønnes + * \author Lars Gullik Bjønnes * * Full author contact details are available in file CREDITS. */ @@ -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 repoUpdate(); + /// Does the current VC supports this operation? + bool repoUpdateEnabled(); + + /** + * 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();