summaryrefslogtreecommitdiff
path: root/pango/pango-modules.h
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2000-06-08 18:50:29 +0000
committerOwen Taylor <otaylor@src.gnome.org>2000-06-08 18:50:29 +0000
commit6057c96c23f7084b095ff899e9b303d23516dc10 (patch)
tree4cc750128ebd9fb51691eb920027be993cdb5bd1 /pango/pango-modules.h
parent1e916c95bb218660ed34e9d712969462d9d9c161 (diff)
downloadpango-6057c96c23f7084b095ff899e9b303d23516dc10.tar.gz
pango/Makefile.am: Add a new header pango-modules.h to export a few parts
Thu Jun 8 14:43:35 2000 Owen Taylor <otaylor@redhat.com> * pango/pango-modules.h: pango/Makefile.am: Add a new header pango-modules.h to export a few parts of the modules API needed by code for new types of fonts.
Diffstat (limited to 'pango/pango-modules.h')
-rw-r--r--pango/pango-modules.h52
1 files changed, 52 insertions, 0 deletions
diff --git a/pango/pango-modules.h b/pango/pango-modules.h
new file mode 100644
index 00000000..e6d7b565
--- /dev/null
+++ b/pango/pango-modules.h
@@ -0,0 +1,52 @@
+/* Pango
+ * pango-modules.h:
+ *
+ * Copyright (C) 1999 Red Hat Software
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public
+ * License along with this library; if not, write to the
+ * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ * Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __PANGO_MODULES_H__
+#define __PANGO_MODULES_H__
+
+#include <pango/pango-engine.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif /* __cplusplus */
+
+typedef struct _PangoMap PangoMap;
+typedef struct _PangoMapEntry PangoMapEntry;
+
+struct _PangoMapEntry
+{
+ PangoEngineInfo *info;
+ gboolean is_exact;
+};
+
+PangoMap * pango_find_map (const char *lang,
+ guint engine_type_id,
+ guint render_type_id);
+PangoMapEntry *pango_map_get_entry (PangoMap *map,
+ guint32 wc);
+PangoEngine * pango_map_get_engine (PangoMap *map,
+ guint32 wc);
+
+#ifdef __cplusplus
+}
+#endif /* __cplusplus */
+
+#endif /* __PANGO_MODULES_H__ */