summaryrefslogtreecommitdiff
path: root/lingucomponent/source/spellcheck/macosxspell/macspellimp.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'lingucomponent/source/spellcheck/macosxspell/macspellimp.hxx')
-rw-r--r--lingucomponent/source/spellcheck/macosxspell/macspellimp.hxx12
1 files changed, 9 insertions, 3 deletions
diff --git a/lingucomponent/source/spellcheck/macosxspell/macspellimp.hxx b/lingucomponent/source/spellcheck/macosxspell/macspellimp.hxx
index 084b08c23d0f..fea3ba77c742 100644
--- a/lingucomponent/source/spellcheck/macosxspell/macspellimp.hxx
+++ b/lingucomponent/source/spellcheck/macosxspell/macspellimp.hxx
@@ -22,12 +22,14 @@
#include <cppuhelper/implbase.hxx>
-#ifdef MACOSX
#include <premac.h>
+#ifdef MACOSX
#include <Carbon/Carbon.h>
#import <Cocoa/Cocoa.h>
-#include <postmac.h>
+#else
+#include <UIKit/UIKit.h>
#endif
+#include <postmac.h>
#include <com/sun/star/lang/XComponent.hpp>
#include <com/sun/star/lang/XInitialization.hpp>
#include <com/sun/star/lang/XServiceDisplayName.hpp>
@@ -62,8 +64,11 @@ class MacSpellChecker :
Locale * aDLocs;
OUString * aDNames;
sal_Int32 numdict;
+#ifdef MACOSX
int macTag; // unique tag for this doc
-
+#else
+ UITextChecker * pChecker;
+#endif
::comphelper::OInterfaceContainerHelper2 aEvtListeners;
Reference< XPropertyChangeListener > xPropHelper;
linguistic::PropertyHelper_Spell * pPropHelper;
@@ -79,6 +84,7 @@ class MacSpellChecker :
}
sal_Int16 GetSpellFailure( const OUString &rWord, const Locale &rLocale );
+ Reference< XSpellAlternatives > GetProposals( const OUString &rWord, const Locale &rLocale );
public:
MacSpellChecker();