2007-11-19 10:27:11 -08:00
|
|
|
#ifndef _ECORE_IMF_PRIVATE_H
|
|
|
|
#define _ECORE_IMF_PRIVATE_H
|
|
|
|
|
|
|
|
#define ECORE_MAGIC_CONTEXT 0x56c1b39a
|
|
|
|
|
|
|
|
typedef struct _Ecore_IMF_Module Ecore_IMF_Module;
|
|
|
|
|
|
|
|
struct _Ecore_IMF_Context
|
|
|
|
{
|
|
|
|
ECORE_MAGIC;
|
2007-11-21 14:20:16 -08:00
|
|
|
const Ecore_IMF_Module *module;
|
2007-11-19 10:27:11 -08:00
|
|
|
const Ecore_IMF_Context_Class *klass;
|
|
|
|
void *data;
|
|
|
|
int input_mode;
|
|
|
|
int (*retrieve_surrounding_func)(void *data, Ecore_IMF_Context *ctx, char **text, int *cursor_pos);
|
|
|
|
void *retrieve_surrounding_data;
|
|
|
|
};
|
|
|
|
|
|
|
|
struct _Ecore_IMF_Module
|
|
|
|
{
|
|
|
|
Ecore_Plugin *plugin;
|
|
|
|
const Ecore_IMF_Context_Info *info;
|
|
|
|
Ecore_IMF_Context *(*create)(void);
|
|
|
|
};
|
|
|
|
|
|
|
|
void ecore_imf_module_init(void);
|
|
|
|
void ecore_imf_module_shutdown(void);
|
* estickies,
* etk,
* PROTO/exalt,
* E-MODULES-EXTRA/diskio,
* E-MODULES-EXTRA/drawer,
* E-MODULES-EXTRA/penguins,
* E-MODULES-EXTRA/slideshow,
* E-MODULES-EXTRA/mail,
* E-MODULES-EXTRA/forecasts,
* E-MODULES-EXTRA/iiirk,
* E-MODULES-EXTRA/places,
* e,
* ewl,
* ecore,
* elitaire,
* entrance,
* e_dbus,
* efreet: Here we go, move from Ecore_List to Eina_List.
NOTE: This patch is huge, I did test it a lot, and I hope nothing is
broken. But if you think something change after this commit, please
contact me ASAP.
SVN revision: 39200
2009-02-25 03:03:47 -08:00
|
|
|
Eina_List *ecore_imf_module_available_get(void);
|
2007-11-19 10:27:11 -08:00
|
|
|
Ecore_IMF_Module *ecore_imf_module_get(const char *ctx_id);
|
|
|
|
Ecore_IMF_Context *ecore_imf_module_context_create(const char *ctx_id);
|
* estickies,
* etk,
* PROTO/exalt,
* E-MODULES-EXTRA/diskio,
* E-MODULES-EXTRA/drawer,
* E-MODULES-EXTRA/penguins,
* E-MODULES-EXTRA/slideshow,
* E-MODULES-EXTRA/mail,
* E-MODULES-EXTRA/forecasts,
* E-MODULES-EXTRA/iiirk,
* E-MODULES-EXTRA/places,
* e,
* ewl,
* ecore,
* elitaire,
* entrance,
* e_dbus,
* efreet: Here we go, move from Ecore_List to Eina_List.
NOTE: This patch is huge, I did test it a lot, and I hope nothing is
broken. But if you think something change after this commit, please
contact me ASAP.
SVN revision: 39200
2009-02-25 03:03:47 -08:00
|
|
|
Eina_List *ecore_imf_module_context_ids_get(void);
|
|
|
|
Eina_List *ecore_imf_module_context_ids_by_canvas_type_get(const char *canvas_type);
|
2007-11-19 10:27:11 -08:00
|
|
|
|
|
|
|
#endif
|