summaryrefslogtreecommitdiff
path: root/pango/pango-modules.h
diff options
context:
space:
mode:
authorElliot Lee <sopwith@src.gnome.org>2000-11-16 17:22:29 +0000
committerElliot Lee <sopwith@src.gnome.org>2000-11-16 17:22:29 +0000
commitc624bdbddb760abedddd113b1ba839e50c6cbb61 (patch)
treedafa947c0aa9e57735dda3cad4e653aa7a047902 /pango/pango-modules.h
parent399c0a006cc8f9d8005c562a7e90cbfef95e2a18 (diff)
downloadpango-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.h10
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
}