X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Flyxvc.h;h=7c9b22f89fd18b88be059be2d5c19786a8502c7d;hb=7f68b94d8a7fba6942890b7733403192b98b040a;hp=d282f395534edf2d5f1d812481e28f26cfbff07f;hpb=99d1627a471b92f403598d03dfc861ddc3c11be0;p=lyx.git diff --git a/src/lyxvc.h b/src/lyxvc.h index d282f39553..7c9b22f89f 100644 --- a/src/lyxvc.h +++ b/src/lyxvc.h @@ -1,9 +1,21 @@ // -*- C++ -*- +/** + * \file lyxvc.h + * 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 LYX_VC_H #define LYX_VC_H -#include "LString.h" +#include + +#include + class VCS; class Buffer; @@ -35,7 +47,7 @@ public: the appropiate actions is taken. Returns true if the file is under control by a VCS. */ - bool file_found_hook(string const & fn); + bool file_found_hook(std::string const & fn); /** This function should be run when a file is requested for loading, but it does not exist. This function will then check for a VC master @@ -44,7 +56,7 @@ public: viewing/editing. Returns true if the file is under control by a VCS and the user wants to view/edit it. */ - static bool file_not_found_hook(string const & fn); + static bool file_not_found_hook(std::string const & fn); /// void buffer(Buffer *); @@ -69,7 +81,7 @@ public: * It is the caller's responsibility to unlink the * file after use. */ - const string getLogFile() const; + const std::string getLogFile() const; /// void toggleReadOnly(); @@ -78,19 +90,19 @@ public: bool inUse(); /// Returns the version number. - //string const & version() const; + //std::string const & version() const; /// Returns the version number. - string const versionString() const; + std::string const versionString() const; /// Returns the userid of the person who has locked the doc. - string const & locker() const; + std::string const & locker() const; private: /// Buffer * owner_; /// - VCS * vcs; + boost::scoped_ptr vcs; }; #endif