summaryrefslogtreecommitdiffstats
path: root/src/lngconfig.h
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@dside.dyndns.org>2005-08-02 04:43:01 +0000
committerSuren A. Chilingaryan <csa@dside.dyndns.org>2005-08-02 04:43:01 +0000
commit8b75f9bb6a09d54d634ff661655659951378aa2c (patch)
tree611f800f33ca919d37c724957fcc8c2b2bccb342 /src/lngconfig.h
parente3f702e83a26468ee44f3f342a7a40a252f4603c (diff)
downloadlibrcc-8b75f9bb6a09d54d634ff661655659951378aa2c.tar.gz
librcc-8b75f9bb6a09d54d634ff661655659951378aa2c.tar.bz2
librcc-8b75f9bb6a09d54d634ff661655659951378aa2c.tar.xz
librcc-8b75f9bb6a09d54d634ff661655659951378aa2c.zip
Language autodetection
- rccConfigRecode function's are added - Language autodetection using aspell is added - Translation in 3 modes: "To English Language", "Skip English Translation", "Full" - Example2 to demonstrate translation possibilities
Diffstat (limited to 'src/lngconfig.h')
-rw-r--r--src/lngconfig.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/lngconfig.h b/src/lngconfig.h
index 92cc050..9d23139 100644
--- a/src/lngconfig.h
+++ b/src/lngconfig.h
@@ -3,6 +3,7 @@
#include "rcciconv.h"
#include "rcctranslate.h"
+#include "rccspell.h"
struct rcc_language_config_t {
rcc_context ctx;
@@ -17,8 +18,10 @@ struct rcc_language_config_t {
unsigned char configured;
+ rcc_speller speller;
rcc_translate trans;
rcc_language_id translang;
+ rcc_translate entrans;
rcc_iconv fsiconv;
};
@@ -30,9 +33,13 @@ rcc_engine_ptr rccConfigCheckEnginePointer(rcc_language_config config, rcc_engin
rcc_engine_ptr rccConfigGetCurrentEnginePointer(rcc_language_config config);
rcc_engine_ptr rccConfigCheckCurrentEnginePointer(rcc_language_config config);
+rcc_speller rccConfigGetSpeller(rcc_language_config config);
+
int rccConfigInit(rcc_language_config config, rcc_context ctx);
void rccConfigClear(rcc_language_config config);
+rcc_language_config rccGetUsableConfig(rcc_context ctx, rcc_language_id language_id);
+
int rccConfigConfigure(rcc_language_config config);
rcc_charset_id rccConfigGetLocaleUnicodeCharset(rcc_language_config config, const char *locale_variable);