Fixed issue #1620: Apply Patch serial can't open file dialog on WinXP
[TortoiseGit.git] / ext / hunspell / dictmgr.hxx
blob88eeb7d61bb0c422fa1fa841d7493ac72a069eb7
1 #ifndef _DICTMGR_HXX_
2 #define _DICTMGR_HXX_
4 #define MAXDICTIONARIES 100
5 #define MAXDICTENTRYLEN 1024
7 struct dictentry {
8 char * filename;
9 char * lang;
10 char * region;
14 class DictMgr
17 int numdict;
18 dictentry * pdentry;
20 public:
22 DictMgr(const char * dictpath, const char * etype);
23 ~DictMgr();
24 int get_list(dictentry** ppentry);
26 private:
27 int parse_file(const char * dictpath, const char * etype);
28 char * mystrsep(char ** stringp, const char delim);
29 char * mystrdup(const char * s);
30 void mychomp(char * s);
34 #endif