From 63bf2a90a6d6fb0859e4c9dd9fcac85de9adc0f1 Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Tue, 9 Aug 2005 23:22:36 +0000 Subject: - Russian Engine is really renamed - Translate to English is fixed - Default charset for "all" languages - Support for per-class additional and dissabled charsets - Use 'GetSomethingNumber' instead of 'GetSomethingList'. 'GetSomethingList' functions are depricated. - rccUiGetSomethingName gets id's on the input instead of names --- src/internal.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/internal.h') diff --git a/src/internal.h b/src/internal.h index 089311f..5e64551 100644 --- a/src/internal.h +++ b/src/internal.h @@ -30,6 +30,8 @@ #include "rccmutex.h" #include "rcclocale.h" +#define RCC_MAX_ADDITION_CHARSETS 8 +#define RCC_MAX_DISABLED_CHARSETS 64 typedef rcc_language_id rcc_language_parrent_list[RCC_MAX_LANGUAGE_PARRENTS]; @@ -42,6 +44,13 @@ struct rcc_language_internal_t { typedef struct rcc_language_internal_t rcc_language_internal; typedef rcc_language_internal *rcc_language_internal_ptr; +struct rcc_class_internal_t { + rcc_class cl; + rcc_charset *additional; + rcc_charset *disabled; +}; +typedef struct rcc_class_internal_t rcc_class_internal; + struct rcc_context_t { char locale_variable[RCC_MAX_VARIABLE_CHARS+1]; @@ -58,6 +67,7 @@ struct rcc_context_t { unsigned int max_classes; unsigned int n_classes; + rcc_class_internal *iclass; rcc_class_ptr *classes; rcc_iconv *iconv_from; -- cgit v1.2.3