diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2006-06-09 06:48:29 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2006-06-09 06:48:29 +0800 |
commit | 6d84e196d76acdcc56908bc8ec1484f8e3d614b6 (patch) | |
tree | 9c5cc5a936b08273d9bda4d97c616cc2b91362d6 /embed/mozilla/MozRegisterComponents.cpp | |
parent | 5d74d2227e45c916bbe44289684737a49b2e3c77 (diff) | |
download | gsoc2013-epiphany-6d84e196d76acdcc56908bc8ec1484f8e3d614b6.tar.gz gsoc2013-epiphany-6d84e196d76acdcc56908bc8ec1484f8e3d614b6.tar.zst gsoc2013-epiphany-6d84e196d76acdcc56908bc8ec1484f8e3d614b6.zip |
Check for enchant, and output an overview of the configured options on
2006-06-09 Christian Persch <chpe@cvs.gnome.org>
* configure.ac:
Check for enchant, and output an overview of the configured
options on successful configure.
* data/default-prefs-common.js:
* embed/mozilla/GeckoSpellCheckEngine.cpp:
* embed/mozilla/GeckoSpellCheckEngine.h:
* embed/mozilla/Makefile.am:
* embed/mozilla/MozRegisterComponents.cpp:
* lib/Makefile.am:
* lib/ephy-spell-check.c:
* lib/ephy-spell-check.h:
Spell check support using the gecko 'spellchecker' extension.
No corrections context menu or language switching yet.
Diffstat (limited to 'embed/mozilla/MozRegisterComponents.cpp')
-rw-r--r-- | embed/mozilla/MozRegisterComponents.cpp | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/embed/mozilla/MozRegisterComponents.cpp b/embed/mozilla/MozRegisterComponents.cpp index 6c76541a2..b2fb94b02 100644 --- a/embed/mozilla/MozRegisterComponents.cpp +++ b/embed/mozilla/MozRegisterComponents.cpp @@ -61,6 +61,10 @@ #include "FilePicker.h" #endif +#ifdef ENABLE_SPELLCHECKER +#include "GeckoSpellCheckEngine.h" +#endif + #ifdef HAVE_MOZILLA_PSM #include "GtkNSSClientAuthDialogs.h" #include "GtkNSSDialogs.h" @@ -81,6 +85,10 @@ NS_GENERIC_FACTORY_CONSTRUCTOR(MozGlobalHistory) NS_GENERIC_FACTORY_CONSTRUCTOR(GFilePicker) #endif +#ifdef ENABLE_SPELLCHECKER +NS_GENERIC_FACTORY_CONSTRUCTOR(GeckoSpellCheckEngine) +#endif + #ifdef HAVE_MOZILLA_PSM NS_GENERIC_FACTORY_CONSTRUCTOR(GtkNSSClientAuthDialogs) NS_GENERIC_FACTORY_CONSTRUCTOR(GtkNSSDialogs) @@ -246,6 +254,14 @@ static const nsModuleComponentInfo sAppComps[] = { EphyPromptServiceConstructor }, #endif /* HAVE_NSINONBLOCKINGALERTSERVICE_H */ +#ifdef ENABLE_SPELLCHECKER + { + GECKO_SPELL_CHECK_ENGINE_CLASSNAME, + GECKO_SPELL_CHECK_ENGINE_IID, + GECKO_SPELL_CHECK_ENGINE_CONTRACTID, + GeckoSpellCheckEngineConstructor + } +#endif /* ENABLE_SPELLCHECK */ }; gboolean |