Github User Fetcher 1.0.0
C Application with Server and GUI
Loading...
Searching...
No Matches
pango-modules.h
Go to the documentation of this file.
1/* Pango
2 * pango-modules.h:
3 *
4 * Copyright (C) 1999 Red Hat Software
5 *
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.
10 *
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.
15 *
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.
20 */
21
22#ifndef __PANGO_MODULES_H__
23#define __PANGO_MODULES_H__
24
25#include <pango/pango-engine.h>
26
28
29/* All of this is deprecated and entirely useless for bindings.
30 * Leave it out of the gir file.
31 */
32#ifndef __GI_SCANNER__
33
34#ifndef PANGO_DISABLE_DEPRECATED
35
36typedef struct _PangoMap PangoMap;
37typedef struct _PangoMapEntry PangoMapEntry;
38
40
41/**
42 * PangoIncludedModule:
43 * @list: a function that lists the engines defined in this module.
44 * @init: a function to initialize the module.
45 * @exit: a function to finalize the module.
46 * @create: a function to create an engine, given the engine name.
47 *
48 * The `PangoIncludedModule` structure for a statically linked module
49 * contains the functions that would otherwise be loaded from a dynamically
50 * loaded module.
51 *
52 * Deprecated: 1.38
53 */
55{
56 void (*list) (PangoEngineInfo **engines,
57 int *n_engines);
58 void (*init) (GTypeModule *module);
59 void (*exit) (void);
60 PangoEngine *(*create) (const char *id);
61};
62
65 guint engine_type_id,
66 guint render_type_id);
69 PangoScript script);
72 PangoScript script,
73 GSList **exact_engines,
74 GSList **fallback_engines);
77
78#endif /* PANGO_DISABLE_DEPRECATED */
79
80#endif /* __GI_SCANNER__ */
81
83
84#endif /* __PANGO_MODULES_H__ */
#define G_END_DECLS
Definition gmacros.h:910
#define G_BEGIN_DECLS
Definition gmacros.h:909
typedefG_BEGIN_DECLS struct _GSList GSList
Definition gslist.h:39
typedefG_BEGIN_DECLS struct _GTypeModule GTypeModule
Definition gtypemodule.h:31
unsigned int guint
Definition gtypes.h:61
typedefG_BEGIN_DECLS struct _PangoMap PangoMap
PANGO_DEPRECATED_IN_1_38 void pango_map_get_engines(PangoMap *map, PangoScript script, GSList **exact_engines, GSList **fallback_engines)
PANGO_DEPRECATED_IN_1_38 void pango_module_register(PangoIncludedModule *module)
struct _PangoMapEntry PangoMapEntry
PANGO_DEPRECATED_IN_1_38 PangoEngine * pango_map_get_engine(PangoMap *map, PangoScript script)
PANGO_DEPRECATED_IN_1_38 PangoMap * pango_find_map(PangoLanguage *language, guint engine_type_id, guint render_type_id)
PangoScript
struct _PangoLanguage PangoLanguage
Definition pango-types.h:46
#define PANGO_DEPRECATED_IN_1_38
void(* list)(PangoEngineInfo **engines, int *n_engines)
void(* init)(GTypeModule *module)