X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FVariables.h;h=7758696bbb2b25ffbe8216fb932af0bc2182f523;hb=da1c04ea9a13dcfe75ad7e727811e9d3004609aa;hp=e624a9b695e0920c98960e3eaba93e560144dfdb;hpb=8283e978f8d621041c432b9b88a476bfd567385c;p=lyx.git diff --git a/src/Variables.h b/src/Variables.h index e624a9b695..7758696bbb 100644 --- a/src/Variables.h +++ b/src/Variables.h @@ -1,41 +1,43 @@ // -*- C++ -*- -/* This file is part of -* ====================================================== -* -* LyX, The Document Processor -* -* Copyright 1995 Matthias Ettrich -* Copyright 1995-2001 the LyX Team. -* -* ====================================================== */ +/** + * \file Variables.h + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author Lars Gullik Bjønnes + * \author Jean-Marc Lasgouttes + * + * Full author contact details are available in file CREDITS. + */ #ifndef VARIABLES_H #define VARIABLES_H -#ifdef __GNUG__ -#pragma interface -#endif - -#include "LString.h" #include +namespace lyx { + + /// class Variables { public: /// - void set(string const &, string const &); + void set(std::string const &, std::string const &); /// - string const get(string const &) const; + std::string const get(std::string const &) const; /// - bool isSet(string const & var) const; + bool isSet(std::string const & var) const; /// - string const expand(string const &) const; + std::string const expand(std::string const &) const; private: /// - typedef std::map Vars; + typedef std::map Vars; /// Vars vars_; }; + +} // namespace lyx + #endif