]> git.lyx.org Git - lyx.git/blobdiff - src/vc-backend.h
More fixes to insettabular/text (and some missing features added).
[lyx.git] / src / vc-backend.h
index 77e6c6cd1e68b56fd4444e9b0743d6dad6fdae74..bd54e8948468710a831a8a1d9b2634d42bb634ef 100644 (file)
@@ -47,10 +47,10 @@ public:
        ///
        Buffer * owner() const { return owner_; }
        ///
-       VCStatus stat() const { return vcstat; }
+       VCStatus status() const { return vcstatus; }
 protected:
        ///
-       int doVCCommand(string const &);
+       static int doVCCommand(string const &, string const &);
 
        /** The master VC file. For RCS this is *,v or RCS/ *,v. master should
            have full path.
@@ -58,7 +58,7 @@ protected:
        string master_;
        
        /// The status of the VC controlled file.
-       VCStatus vcstat;
+       VCStatus vcstatus;
        
        /** The version of the VC file. I am not sure if this can be a
            string of if it must be a
@@ -76,9 +76,12 @@ protected:
 class RCS : public VCS {
 public:
        ///
+       explicit
        RCS(string const & m);
        ///
-       static string find_file(string const & file);
+       static string const find_file(string const & file);
+       ///
+       static void retrive(string const & file);
        ///
        virtual void scanMaster();
        ///
@@ -93,7 +96,6 @@ public:
        virtual void undoLast();
        ///
        virtual void getLog(string const &);
-private:
 };
 
 
@@ -101,9 +103,10 @@ private:
 class CVS : public VCS {
 public:
        ///
+       explicit
        CVS(string const & m, string const & f);
        ///
-       static string find_file(string const & file);
+       static string const find_file(string const & file);
        ///
        virtual void scanMaster();
        ///