X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FVariables.h;h=5a06b64347ba5d5558a1f3ef8d8574b30032bbcc;hb=2bb86211292f416cd584023feb23dc3b86bc1761;hp=89b3884955b785e622e2bab8e84e9be2018b91e7;hpb=83acbbd5237373926c629855379e1df9a04209b2;p=lyx.git diff --git a/src/Variables.h b/src/Variables.h index 89b3884955..5a06b64347 100644 --- a/src/Variables.h +++ b/src/Variables.h @@ -1,41 +1,37 @@ // -*- 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 /// class Variables { public: - /// - void set(string const &, string const &); - /// - string const get(string const &) const; - /// - bool set(string const & var) const; - /// - string const expand(string const &) const; + /// + void set(std::string const &, std::string const &); + /// + std::string const get(std::string const &) const; + /// + bool isSet(std::string const & var) const; + /// + std::string const expand(std::string const &) const; private: - /// - typedef std::map Vars; - /// - Vars vars_; + /// + typedef std::map Vars; + /// + Vars vars_; }; #endif