X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fvc-backend.h;h=95c084975056dbbe49fbc2d672b9075f0531974d;hb=09e01879979643949f1f2c7216023f1f35d5ada2;hp=45508ca0c25c160dd8b7b08a03f12117c99810fc;hpb=1120aa806c16aac6942760f244a1dbbe30c744be;p=lyx.git diff --git a/src/vc-backend.h b/src/vc-backend.h index 45508ca0c2..95c0849750 100644 --- a/src/vc-backend.h +++ b/src/vc-backend.h @@ -11,10 +11,6 @@ #ifndef VC_BACKEND_H #define VC_BACKEND_H -#ifdef __GNUG__ -#pragma interface -#endif - #include "LString.h" class Buffer; @@ -43,13 +39,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 +58,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 +67,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 +150,7 @@ public: protected: virtual void scanMaster(); - + private: string file_; };