OLD | NEW |
1 #ifndef _HASHMGR_HXX_ | 1 #ifndef _HASHMGR_HXX_ |
2 #define _HASHMGR_HXX_ | 2 #define _HASHMGR_HXX_ |
3 | 3 |
4 #include "hunvisapi.h" | 4 #include "hunvisapi.h" |
5 | 5 |
6 #include <stdio.h> | 6 #include <stdio.h> |
7 | 7 |
8 #include "htypes.hxx" | 8 #include "htypes.hxx" |
9 #include "filemgr.hxx" | 9 #include "filemgr.hxx" |
10 | 10 |
11 #ifdef HUNSPELL_CHROME_CLIENT | 11 #ifdef HUNSPELL_CHROME_CLIENT |
12 #include <string> | 12 #include <string> |
13 #include <map> | 13 #include <map> |
14 | 14 |
15 #include "base/stl_util.h" | 15 #include "base/stl_util.h" |
16 #include "base/string_piece.h" | 16 #include "base/strings/string_piece.h" |
17 #include "third_party/hunspell/google/bdict_reader.h" | 17 #include "third_party/hunspell/google/bdict_reader.h" |
18 #endif | 18 #endif |
19 | 19 |
20 enum flag { FLAG_CHAR, FLAG_LONG, FLAG_NUM, FLAG_UNI }; | 20 enum flag { FLAG_CHAR, FLAG_LONG, FLAG_NUM, FLAG_UNI }; |
21 | 21 |
22 class LIBHUNSPELL_DLL_EXPORTED HashMgr | 22 class LIBHUNSPELL_DLL_EXPORTED HashMgr |
23 { | 23 { |
24 #ifdef HUNSPELL_CHROME_CLIENT | 24 #ifdef HUNSPELL_CHROME_CLIENT |
25 // Not owned by this class, owned by the Hunspell object. | 25 // Not owned by this class, owned by the Hunspell object. |
26 hunspell::BDictReader* bdict_reader; | 26 hunspell::BDictReader* bdict_reader; |
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
125 #endif | 125 #endif |
126 | 126 |
127 int add_hidden_capitalized_word(char * word, int wbl, int wcl, | 127 int add_hidden_capitalized_word(char * word, int wbl, int wcl, |
128 unsigned short * flags, int al, char * dp, int captype); | 128 unsigned short * flags, int al, char * dp, int captype); |
129 int parse_aliasm(char * line, FileMgr * af); | 129 int parse_aliasm(char * line, FileMgr * af); |
130 int remove_forbidden_flag(const char * word); | 130 int remove_forbidden_flag(const char * word); |
131 | 131 |
132 }; | 132 }; |
133 | 133 |
134 #endif | 134 #endif |
OLD | NEW |