4 * Copyright (C) 1999 Red Hat Software
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version.
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Library General Public License for more details.
16 * You should have received a copy of the GNU Library General Public
17 * License along with this library; if not, write to the
18 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
19 * Boston, MA 02111-1307, USA.
22 #ifndef __PANGO_MODULES_H__
23 #define __PANGO_MODULES_H__
25 #include <pango/pango-engine.h>
29 #ifdef PANGO_ENABLE_BACKEND
31 typedef struct _PangoMap PangoMap;
32 typedef struct _PangoMapEntry PangoMapEntry;
34 typedef struct _PangoIncludedModule PangoIncludedModule;
36 struct _PangoIncludedModule
38 void (*list) (PangoEngineInfo **engines,
40 void (*init) (GTypeModule *module);
42 PangoEngine *(*create) (const char *id);
45 PangoMap * pango_find_map (PangoLanguage *language,
47 guint render_type_id);
48 PangoEngine * pango_map_get_engine (PangoMap *map,
50 void pango_map_get_engines (PangoMap *map,
52 GSList **exact_engines,
53 GSList **fallback_engines);
54 void pango_module_register (PangoIncludedModule *module);
56 #endif /* PANGO_ENABLE_BACKEND */
60 #endif /* __PANGO_MODULES_H__ */