diff options
author | George Hazan <george.hazan@gmail.com> | 2024-11-26 15:48:16 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2024-11-26 15:48:21 +0300 |
commit | 94782312a45edad08d6544be5a6aba402f461da1 (patch) | |
tree | 0c8149d70f3785493a5ac8ee8182c89854c0d811 /plugins/SpellChecker/src/stdafx.h | |
parent | f200ec71df622d7a94fc171363ff67732ffb440a (diff) |
code cleaning
Diffstat (limited to 'plugins/SpellChecker/src/stdafx.h')
-rw-r--r-- | plugins/SpellChecker/src/stdafx.h | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/plugins/SpellChecker/src/stdafx.h b/plugins/SpellChecker/src/stdafx.h index 41beb2c3e3..57eeba34e8 100644 --- a/plugins/SpellChecker/src/stdafx.h +++ b/plugins/SpellChecker/src/stdafx.h @@ -25,10 +25,12 @@ Boston, MA 02111-1307, USA. #include <time.h>
#include <windows.h>
+#include <msapi/comptr.h>
#include <msapi/richedit5.h>
#include <tom.h>
#include <richole.h>
#include <commctrl.h>
+#include <spellcheck.h>
#include <map>
#include <vector>
@@ -77,13 +79,17 @@ struct CMPlugin : public PLUGIN<CMPlugin> {
CMPlugin();
+ bool hasVariables;
+
+ std::map<std::wstring, int> locales;
+
+ CComPtr<ISpellChecker> m_speller;
+ CComPtr<ISpellCheckerFactory> m_spellFactory;
+
int Load() override;
int Unload() override;
};
-extern BOOL uinfoex_enabled;
-extern BOOL variables_enabled;
-
#define FREE(_m_) if (_m_ != NULL) { free(_m_); _m_ = NULL; }
#define ICON_SIZE 16
@@ -94,7 +100,7 @@ extern BOOL variables_enabled; #define HOTKEY_ACTION_TOGGLE 1
-extern LIST<Dictionary> languages;
+extern OBJLIST<Dictionary> languages;
extern BITMAP bmpChecked;
extern HBITMAP hCheckedBmp;
|