]> git.lyx.org Git - features.git/blobdiff - src/vc-backend.h
Replace LString.h with support/std_string.h,
[features.git] / src / vc-backend.h
index 45508ca0c25c160dd8b7b08a03f12117c99810fc..74bd9dfe229006177bb731fce76add687d8a0ec1 100644 (file)
@@ -1,21 +1,18 @@
 // -*- C++ -*-
 /**
  * \file vc-backend.h
- * Copyright 1995-2002 the LyX Team
- * Read the file COPYING
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
  *
  * \author Lars Gullik Bjønnes
+ *
+ * Full author contact details are available in file CREDITS.
  */
 
-
 #ifndef VC_BACKEND_H
 #define VC_BACKEND_H
 
-#ifdef __GNUG__
-#pragma interface
-#endif
-
-#include "LString.h"
+#include "support/std_string.h"
 
 class Buffer;
 
@@ -43,13 +40,13 @@ public:
        /**
         * getLog - read the revision log into the given file
         * @param fname file name to read into
-        */ 
+        */
        virtual void getLog(string const &) = 0;
        /// return the current version description
        virtual string const versionString() const = 0;
        /// return the current version
        string const & version() const {
-               return version_; 
+               return version_;
        }
        /// return the user who has locked the file
        string const & locker() const { return locker_; }
@@ -62,7 +59,7 @@ public:
 protected:
        /// parse information from the version file
        virtual void scanMaster() = 0;
+
        /**
         * doVCCommand - call out to the version control utility
         * @param cmd the command to execute
@@ -71,21 +68,21 @@ protected:
         */
        static int doVCCommand(string const & cmd, string const & path);
 
-       /** 
+       /**
         * The master VC file. For RCS this is *,v or RCS/ *,v. master should
         * have full path.
         */
        string master_;
-       
+
        /// The status of the VC controlled file.
        VCStatus vcstatus;
-       
-       /** 
+
+       /**
         * The version of the VC file. I am not sure if this can be a
-        * string or if it must be a float/int. 
+        * string or if it must be a float/int.
         */
        string version_;
-       
+
        /// The user currently keeping the lock on the VC file.
        string locker_;
        /// The buffer using this VC
@@ -154,7 +151,7 @@ public:
 
 protected:
        virtual void scanMaster();
+
 private:
        string file_;
 };