lyx_mirror/src/Variables.h
Jean-Marc Lasgouttes e7b0972c44 HP-UX compile fix, thai keymap
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1448 a592a061-630c-0410-9148-cb99ea01b6c8
2001-02-06 15:17:11 +00:00

42 lines
737 B
C++

// -*- C++ -*-
/* This file is part of
* ======================================================
*
* LyX, The Document Processor
*
* Copyright 1995 Matthias Ettrich
* Copyright 1995-2000 the LyX Team.
*
* ====================================================== */
#ifndef VARIABLES_H
#define VARIABLES_H
#ifdef __GNUG__
#pragma interface
#endif
#include "LString.h"
#include <map>
///
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;
private:
///
typedef std::map<string, string> Vars;
///
Vars vars_;
};
#endif