summaryrefslogtreecommitdiff
path: root/plugins/SpellChecker/src/dictionary.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/SpellChecker/src/dictionary.h')
-rw-r--r--plugins/SpellChecker/src/dictionary.h8
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__