EngineModule Struct Reference
[Dictionary Engine API]

Global functions structure. More...


Data Fields

gboolean(* engine_check )(gchar *location)
gchar *(* engine_description )(void)
gchar *(* engine_format )(void)
gchar *(* engine_version )(void)
gchar *(* engine_api_version )(void)
Engine *(* engine_create )(gchar *location, EngineOptimizationFlag flags, cb_progress progress_handler, gpointer progress_data, gdouble seed)


Detailed Description

Global functions structure.

This structure holds pointers to helpful functions, that could be used for creating engines for particular dictionary. It helps programmers to work with dictionary API while they need only to import one function (engine_global_functions) and it will return this structure. After that programmers can start using this dictionary module by calling accesible functions.

Examples:

test_dictionary_engine.c.

Definition at line 726 of file dictionary_engine.h.


Field Documentation

gboolean(* EngineModule::engine_check)(gchar *location)

pointer to 'dict_eng_module_check' function

See also:
dict_eng_module_check

Referenced by engine_global_functions().

gchar*(* EngineModule::engine_description)(void)

pointer to 'dict_eng_module_get_description' function

See also:
dict_eng_module_get_description

Referenced by engine_global_functions().

gchar*(* EngineModule::engine_format)(void)

pointer to 'dict_eng_module_get_format' function

See also:
dict_eng_module_get_format

Referenced by engine_global_functions().

gchar*(* EngineModule::engine_version)(void)

pointer to 'dict_eng_module_get_version' function

See also:
dict_eng_module_get_version

Referenced by engine_global_functions().

gchar*(* EngineModule::engine_api_version)(void)

pointer to 'dict_eng_module_get_api_version' function

See also:
dict_eng_module_get_api_version

Engine*(* EngineModule::engine_create)(gchar *location, EngineOptimizationFlag flags, cb_progress progress_handler, gpointer progress_data, gdouble seed)

pointer to 'dict_eng_module_create' function

See also:
dict_eng_module_create

Referenced by engine_global_functions().


The documentation for this struct was generated from the following file:
Generated on Fri Jan 11 14:30:18 2008 for mDictionary Project by  doxygen 1.5.1