Fix broken link
[TortoiseGit.git] / ext / hunspell / dictmgr.hxx
blobbb197f84fb2ba8b24197cb6db7d14a0b276fae12
1 #ifndef _DICTMGR_HXX_
2 #define _DICTMGR_HXX_
4 #include "hunvisapi.h"
6 #define MAXDICTIONARIES 100
7 #define MAXDICTENTRYLEN 1024
9 struct dictentry {
10 char * filename;
11 char * lang;
12 char * region;
16 class LIBHUNSPELL_DLL_EXPORTED DictMgr
19 int numdict;
20 dictentry * pdentry;
22 public:
24 DictMgr(const char * dictpath, const char * etype);
25 ~DictMgr();
26 int get_list(dictentry** ppentry);
28 private:
29 int parse_file(const char * dictpath, const char * etype);
30 char * mystrsep(char ** stringp, const char delim);
31 char * mystrdup(const char * s);
32 void mychomp(char * s);
36 #endif