]> git.lyx.org Git - lyx.git/blob - src/chset.h
white-space changes, removed definitions.h several enum changes because of this,...
[lyx.git] / src / chset.h
1 // -*- C++ -*-
2 #ifndef CHSET_H
3 #define CHSET_H
4
5 #ifdef __GNUG__
6 #pragma interface
7 #endif
8
9 #include <map>
10 #include "LString.h"
11
12 using std::map;
13
14 ///
15 class CharacterSet {
16 public:
17         ///
18         bool loadFile(string const &);
19         ///
20         string const & getName() const;
21         ///
22         bool encodeString(string &) const;
23 private:
24         ///
25         string name_;
26         ///
27         typedef map<string, unsigned char> Cdef;
28         ///
29         Cdef map_;
30 };
31 #endif