mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-27 19:59:46 +00:00
99d1627a47
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6138 a592a061-630c-0410-9148-cb99ea01b6c8
38 lines
672 B
C++
38 lines
672 B
C++
// -*- C++ -*-
|
|
/* This file is part of
|
|
* ======================================================
|
|
*
|
|
* LyX, The Document Processor
|
|
*
|
|
* Copyright 1995 Matthias Ettrich
|
|
* Copyright 1995-2001 the LyX Team.
|
|
*
|
|
* ====================================================== */
|
|
|
|
#ifndef VARIABLES_H
|
|
#define VARIABLES_H
|
|
|
|
#include "LString.h"
|
|
#include <map>
|
|
|
|
|
|
///
|
|
class Variables {
|
|
public:
|
|
///
|
|
void set(string const &, string const &);
|
|
///
|
|
string const get(string const &) const;
|
|
///
|
|
bool isSet(string const & var) const;
|
|
///
|
|
string const expand(string const &) const;
|
|
private:
|
|
///
|
|
typedef std::map<string, string> Vars;
|
|
///
|
|
Vars vars_;
|
|
};
|
|
|
|
#endif
|