add internal g_settings_schema_get_name()
[platform/upstream/glib.git] / gio / gsettingsschema-internal.h
1 /*
2  * Copyright © 2010 Codethink Limited
3  *
4  * This library is free software; you can redistribute it and/or
5  * modify it under the terms of the GNU Lesser General Public
6  * License as published by the Free Software Foundation; either
7  * version 2 of the licence, or (at your option) any later version.
8  *
9  * This library is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
12  * Lesser General Public License for more details.
13  *
14  * You should have received a copy of the GNU Lesser General Public
15  * License along with this library; if not, write to the
16  * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
17  * Boston, MA 02111-1307, USA.
18  */
19
20 #ifndef __G_SETTINGS_SCHEMA_INTERNAL_H__
21 #define __G_SETTINGS_SCHEMA_INTERNAL_H__
22
23 #include <glib.h>
24
25 typedef struct _GSettingsSchema                             GSettingsSchema;
26
27 G_GNUC_INTERNAL
28 GSettingsSchema *       g_settings_schema_new                           (const gchar      *name);
29 G_GNUC_INTERNAL
30 GSettingsSchema *       g_settings_schema_ref                           (GSettingsSchema  *schema);
31 G_GNUC_INTERNAL
32 void                    g_settings_schema_unref                         (GSettingsSchema  *schema);
33 G_GNUC_INTERNAL
34 const gchar *           g_settings_schema_get_name                      (GSettingsSchema  *schema);
35 G_GNUC_INTERNAL
36 const gchar *           g_settings_schema_get_path                      (GSettingsSchema  *schema);
37 G_GNUC_INTERNAL
38 const gchar *           g_settings_schema_get_gettext_domain            (GSettingsSchema  *schema);
39 G_GNUC_INTERNAL
40 GVariantIter *          g_settings_schema_get_value                     (GSettingsSchema  *schema,
41                                                                          const gchar      *key);
42 G_GNUC_INTERNAL
43 gboolean                g_settings_schema_has_key                       (GSettingsSchema  *schema,
44                                                                          const gchar      *key);
45 G_GNUC_INTERNAL
46 const GQuark *          g_settings_schema_list                          (GSettingsSchema  *schema,
47                                                                          gint             *n_items);
48 G_GNUC_INTERNAL
49 const gchar *           g_settings_schema_get_string                    (GSettingsSchema  *schema,
50                                                                          const gchar      *key);
51
52 #endif /* __G_SETTINGS_SCHEMA_INTERNAL_H__ */