diff options
author | George Hazan <george.hazan@gmail.com> | 2024-11-26 16:55:51 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2024-11-26 16:55:51 +0300 |
commit | 15b337d3f4caa3fa71160dc93b7caf4f2c098b06 (patch) | |
tree | 140b1c2923ef84108c6e85fdc2403a21d47f106c /plugins/SpellChecker/src/dictionary.h | |
parent | 70cd3610f4ec0131fe3c9308a483935e9f1c788c (diff) |
fixes #4692 (SpellChecker to use the native Windows speller if present)
Diffstat (limited to 'plugins/SpellChecker/src/dictionary.h')
-rw-r--r-- | plugins/SpellChecker/src/dictionary.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/plugins/SpellChecker/src/dictionary.h b/plugins/SpellChecker/src/dictionary.h index 8ba9ee2acf..daad917ddc 100644 --- a/plugins/SpellChecker/src/dictionary.h +++ b/plugins/SpellChecker/src/dictionary.h @@ -38,7 +38,7 @@ struct Dictionary Dictionary(const wchar_t *aLanguage, const wchar_t *aSource);
virtual ~Dictionary();
- void GetInfo();
+ bool GetInfo();
// Return TRUE if the word is correct
virtual BOOL spell(const wchar_t *word) = 0;
@@ -46,9 +46,6 @@ struct Dictionary // Return a list of suggestions to a word
virtual Suggestions suggest(const wchar_t *word) = 0;
- // Return a list of auto suggestions to a word
- virtual Suggestions autoSuggest(const wchar_t *word) = 0;
-
// Return a auto suggestions to a word
// You have to free the item
virtual wchar_t* autoSuggestOne(const wchar_t *word) = 0;
@@ -71,5 +68,6 @@ struct Dictionary // Return a list of avaible languages
void GetAvaibleDictionaries(OBJLIST<Dictionary> &dicts, wchar_t *path, wchar_t *user_path);
-
+void GetNativeDictionaries(OBJLIST<Dictionary> &dicts);
+
#endif // __DICTIONARY_H__
|