diff options
author | Elliot Lee <sopwith@src.gnome.org> | 2000-11-16 17:22:29 +0000 |
---|---|---|
committer | Elliot Lee <sopwith@src.gnome.org> | 2000-11-16 17:22:29 +0000 |
commit | c624bdbddb760abedddd113b1ba839e50c6cbb61 (patch) | |
tree | dafa947c0aa9e57735dda3cad4e653aa7a047902 /pango/pango-modules.h | |
parent | 399c0a006cc8f9d8005c562a7e90cbfef95e2a18 (diff) | |
download | pango-c624bdbddb760abedddd113b1ba839e50c6cbb61.tar.gz |
Make some vars static. Implement pango_module_register function. Move
* pango/modules.c: Make some vars static.
Implement pango_module_register function.
* pango/pango-modules.h, pango/modules.h: Move declaration of
PangoIncludedModule to pango-modules.h for public use.
Diffstat (limited to 'pango/pango-modules.h')
-rw-r--r-- | pango/pango-modules.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/pango/pango-modules.h b/pango/pango-modules.h index e6d7b565..53b3f697 100644 --- a/pango/pango-modules.h +++ b/pango/pango-modules.h @@ -37,6 +37,15 @@ struct _PangoMapEntry gboolean is_exact; }; +typedef struct _PangoIncludedModule PangoIncludedModule; + +struct _PangoIncludedModule +{ + void (*list) (PangoEngineInfo **engines, int *n_engines); + PangoEngine *(*load) (const char *id); + void (*unload) (PangoEngine *engine); +}; + PangoMap * pango_find_map (const char *lang, guint engine_type_id, guint render_type_id); @@ -44,6 +53,7 @@ PangoMapEntry *pango_map_get_entry (PangoMap *map, guint32 wc); PangoEngine * pango_map_get_engine (PangoMap *map, guint32 wc); +void pango_module_register (PangoIncludedModule *mod); #ifdef __cplusplus } |