lyx_mirror/src/chset.h
Jean-Marc Lasgouttes 56368d8c03 Small bugfixes and some sun CC 5.0 portability tweaks (see ChangeLog)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@388 a592a061-630c-0410-9148-cb99ea01b6c8
1999-12-20 17:38:37 +00:00

38 lines
514 B
C++

// -*- C++ -*-
#ifndef CHSET_H
#define CHSET_H
#ifdef __GNUG__
#pragma interface
#endif
#include <map>
using std::map;
#include <utility>
using std::pair;
using std::make_pair; // may also be put in chset.C
#include "LString.h"
using std::map;
///
class CharacterSet {
public:
///
bool loadFile(string const &);
///
string const & getName() const;
///
pair<bool, int> encodeString(string &) const;
private:
///
string name_;
///
typedef map<string, unsigned char> Cdef;
///
Cdef map_;
};
#endif