~ubuntu-branches/ubuntu/precise/gconf/precise-201203060106

« back to all changes in this revision

Viewing changes to .pc/02_xml-gettext-domain.patch/gconf/gconf-schema.h

  • Committer: Steve Langasek
  • Date: 2012-03-05 21:09:33 UTC
  • mfrom: (1.2.2 upstream)
  • Revision ID: vorlon@debian.org-20120305210933-tocn77l8tg19r155
Merging shared upstream rev into target branch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
 
2
 
/* GConf
3
 
 * Copyright (C) 1999, 2000 Red Hat Inc.
4
 
 *
5
 
 * This library is free software; you can redistribute it and/or
6
 
 * modify it under the terms of the GNU Library General Public
7
 
 * License as published by the Free Software Foundation; either
8
 
 * version 2 of the License, or (at your option) any later version.
9
 
 *
10
 
 * This library is distributed in the hope that it will be useful,
11
 
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
 
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13
 
 * Library General Public License for more details.
14
 
 *
15
 
 * You should have received a copy of the GNU Library General Public
16
 
 * License along with this library; if not, write to the
17
 
 * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
18
 
 * Boston, MA 02110-1301, USA.
19
 
 */
20
 
 
21
 
#ifndef GCONF_GCONF_SCHEMA_H
22
 
#define GCONF_GCONF_SCHEMA_H
23
 
 
24
 
#include <glib.h>
25
 
 
26
 
#include "gconf/gconf-value.h"
27
 
 
28
 
G_BEGIN_DECLS
29
 
 
30
 
/* Skipped from introspection because it's not registered as boxed */
31
 
/**
32
 
 * GConfSchema: (skip)
33
 
 *
34
 
 * An opaque data type representing a description of a key-value pair.
35
 
 */
36
 
 
37
 
/*
38
 
 *  A "schema" is a value that describes a key-value pair.
39
 
 *  It might include the type of the pair, documentation describing 
40
 
 *  the pair, the name of the application creating the pair, 
41
 
 *  etc.
42
 
 */
43
 
 
44
 
GConfSchema* gconf_schema_new  (void);
45
 
void         gconf_schema_free (GConfSchema *sc);
46
 
GConfSchema* gconf_schema_copy (const GConfSchema *sc);
47
 
 
48
 
void gconf_schema_set_type                 (GConfSchema    *sc,
49
 
                                            GConfValueType  type);
50
 
void gconf_schema_set_list_type            (GConfSchema    *sc,
51
 
                                            GConfValueType  type);
52
 
void gconf_schema_set_car_type             (GConfSchema    *sc,
53
 
                                            GConfValueType  type);
54
 
void gconf_schema_set_cdr_type             (GConfSchema    *sc,
55
 
                                            GConfValueType  type);
56
 
void gconf_schema_set_locale               (GConfSchema    *sc,
57
 
                                            const gchar    *locale);
58
 
void gconf_schema_set_short_desc           (GConfSchema    *sc,
59
 
                                            const gchar    *desc);
60
 
void gconf_schema_set_long_desc            (GConfSchema    *sc,
61
 
                                            const gchar    *desc);
62
 
void gconf_schema_set_owner                (GConfSchema    *sc,
63
 
                                            const gchar    *owner);
64
 
void gconf_schema_set_default_value        (GConfSchema    *sc,
65
 
                                            const GConfValue     *val);
66
 
void gconf_schema_set_default_value_nocopy (GConfSchema    *sc,
67
 
                                            GConfValue     *val);
68
 
 
69
 
 
70
 
GConfValueType gconf_schema_get_type          (const GConfSchema *schema);
71
 
GConfValueType gconf_schema_get_list_type     (const GConfSchema *schema);
72
 
GConfValueType gconf_schema_get_car_type      (const GConfSchema *schema);
73
 
GConfValueType gconf_schema_get_cdr_type      (const GConfSchema *schema);
74
 
const char*    gconf_schema_get_locale        (const GConfSchema *schema);
75
 
const char*    gconf_schema_get_short_desc    (const GConfSchema *schema);
76
 
const char*    gconf_schema_get_long_desc     (const GConfSchema *schema);
77
 
const char*    gconf_schema_get_owner         (const GConfSchema *schema);
78
 
GConfValue*    gconf_schema_get_default_value (const GConfSchema *schema);
79
 
 
80
 
 
81
 
G_END_DECLS
82
 
 
83
 
#endif
84
 
 
85