]> git.lyx.org Git - lyx.git/blobdiff - src/LyXVC.h
Cmake build: Creating a define for a header file found
[lyx.git] / src / LyXVC.h
index 64ad303fab2e6aae19d4bb1fce41b56b7a960991..9b1c747b82b5b9f72cf6abfb62fa043e13b39cb1 100644 (file)
@@ -84,11 +84,22 @@ public:
        // by the next multiple messages on the top of the processed dispatch
        // machinery.
 
+       ///
+       std::string rename(support::FileName const &);
+       /// Does the current VC support this operation?
+       bool renameEnabled() const;
+       ///
+       std::string copy(support::FileName const &);
+       /// Does the current VC support this operation?
+       bool copyEnabled() const;
+
        /// Unlock and commit changes.
        /// \p log is non-empty on success and may be empty on failure.
        CommandResult checkIn(std::string & log);
        /// Does the current VC support this operation?
        bool checkInEnabled() const;
+       /// Should a log message be provided for next checkin?
+       bool isCheckInWithConfirmation() const;
 
        /// Lock/update and prepare to edit document. Returns log.
        std::string checkOut();
@@ -146,6 +157,7 @@ public:
        std::string toggleReadOnly();
 
        /// Is the document under administration by VCS?
+       /// returns false for unregistered documents in a path managed by VCS
        bool inUse() const;
 
        /// Returns the RCS + version number for messages