1 | /* Pango |
2 | * pango-utils.c: Utilities for internal functions and modules |
3 | * |
4 | * Copyright (C) 2000 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_UTILS_PRIVATE_H__ |
23 | #define __PANGO_UTILS_PRIVATE_H__ |
24 | |
25 | #include <stdio.h> |
26 | #include <glib.h> |
27 | #include <pango/pango-font.h> |
28 | #include <pango/pango-utils.h> |
29 | |
30 | G_BEGIN_DECLS |
31 | |
32 | PANGO_DEPRECATED_IN_1_38 |
33 | char * pango_config_key_get_system (const char *key); |
34 | PANGO_DEPRECATED_IN_1_38 |
35 | char * pango_config_key_get (const char *key); |
36 | PANGO_DEPRECATED_IN_1_32 |
37 | void pango_lookup_aliases (const char *fontname, |
38 | char ***families, |
39 | int *n_families); |
40 | |
41 | /* On Unix, return the name of the "pango" subdirectory of SYSCONFDIR |
42 | * (which is set at compile time). On Win32, return the Pango |
43 | * installation directory (which is set at installation time, and |
44 | * stored in the registry). The returned string should not be |
45 | * g_free'd. |
46 | */ |
47 | PANGO_DEPRECATED |
48 | const char * pango_get_sysconf_subdirectory (void) G_GNUC_PURE; |
49 | |
50 | /* Ditto for LIBDIR/pango. On Win32, use the same Pango |
51 | * installation directory. This returned string should not be |
52 | * g_free'd either. |
53 | */ |
54 | PANGO_DEPRECATED |
55 | const char * pango_get_lib_subdirectory (void) G_GNUC_PURE; |
56 | |
57 | G_END_DECLS |
58 | |
59 | #endif /* __PANGO_UTILS_PRIATE_H__ */ |
60 | |