]> git.lyx.org Git - lyx.git/blobdiff - src/Variables.h
revert erroneous previous commit.
[lyx.git] / src / Variables.h
index 5ffce6057a179d710094f773c7f37b301f031895..7758696bbb2b25ffbe8216fb932af0bc2182f523 100644 (file)
@@ -1,41 +1,43 @@
 // -*- C++ -*-
-/* This file is part of
-* ====================================================== 
-* 
-*           LyX, The Document Processor
-*        
-*           Copyright 1995 Matthias Ettrich
-*           Copyright 1995-2000 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 <map>
 
 
+namespace lyx {
+
+
+///
 class Variables {
 public:
-  virtual ~Variables() { };
-  // 
-  void set(string const &, string const &);
-  // 
-  virtual string get(string const &) const;
-  //
-  bool isset(string const & var) const;
-  // 
-  string expand(string) 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<string,string> Vars;
-  //
-  Vars vars_;
+       ///
+       typedef std::map<std::string, std::string> Vars;
+       ///
+       Vars vars_;
 };
 
+
+} // namespace lyx
+
 #endif