lyx_mirror/src/chset.h
Lars Gullik Bjønnes 35584afc11 the merge from branch debugstream
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@180 a592a061-630c-0410-9148-cb99ea01b6c8
1999-10-07 18:44:17 +00:00

45 lines
459 B
C++

// -*- C++ -*-
#ifndef CHSET_H
#define CHSET_H
#ifdef __GNUG__
#pragma interface
#endif
#include "LString.h"
///
class CharacterSet {
public:
///
CharacterSet();
///
~CharacterSet();
///
bool loadFile(const string&);
///
string getName();
///
bool encodeString(string&);
private:
///
string name_;
///
struct Cdef {
///
unsigned char ic;
///
string str;
///
Cdef *next;
};
///
Cdef *map_;
///
void freeMap();
};
#endif