]> git.lyx.org Git - lyx.git/blobdiff - src/VCBackend.h
Buffer: Rename function names:
[lyx.git] / src / VCBackend.h
index 33aefbe968da1e36f2dec1e8e01c3f459a2d4b04..b50fe371149b1f7ae15c34078f5862343e709df1 100644 (file)
@@ -42,6 +42,8 @@ public:
        virtual std::string checkIn(std::string const & msg) = 0;
        // can be this operation processed in the current RCS?
        virtual bool checkInEnabled() = 0;
+       // should a log message provided for next checkin?
+       virtual bool isCheckInWithConfirmation() = 0;
        /// check out for editing, returns log
        virtual std::string checkOut() = 0;
        // can be this operation processed in the current RCS?
@@ -56,6 +58,8 @@ public:
        virtual bool lockingToggleEnabled() = 0;
        /// revert current edits
        virtual void revert() = 0;
+       // should a confirmation before revert requested?
+       virtual bool isRevertWithConfirmation() = 0;
        /// FIXME
        virtual void undoLast() = 0;
        // can be this operation processed in the current RCS?
@@ -129,6 +133,8 @@ public:
 
        virtual bool checkInEnabled();
 
+       virtual bool isCheckInWithConfirmation();
+
        virtual std::string checkOut();
 
        virtual bool checkOutEnabled();
@@ -143,6 +149,8 @@ public:
 
        virtual void revert();
 
+       virtual bool isRevertWithConfirmation();
+
        virtual void undoLast();
 
        virtual bool undoLastEnabled();
@@ -190,6 +198,8 @@ public:
 
        virtual bool checkInEnabled();
 
+       virtual bool isCheckInWithConfirmation();
+
        virtual std::string checkOut();
 
        virtual bool checkOutEnabled();
@@ -202,6 +212,8 @@ public:
 
        virtual bool lockingToggleEnabled();
 
+       virtual bool isRevertWithConfirmation();
+
        virtual void revert();
 
        virtual void undoLast();
@@ -287,6 +299,8 @@ public:
 
        virtual bool checkInEnabled();
 
+       virtual bool isCheckInWithConfirmation();
+
        virtual std::string checkOut();
 
        virtual bool checkOutEnabled();
@@ -301,6 +315,8 @@ public:
 
        virtual void revert();
 
+       virtual bool isRevertWithConfirmation();
+
        virtual void undoLast();
 
        virtual bool undoLastEnabled();