~ubuntu-branches/ubuntu/quantal/gconf/quantal

« back to all changes in this revision

Viewing changes to gconf/gconf-database.h

  • Committer: Bazaar Package Importer
  • Author(s): Josselin Mouette
  • Date: 2007-11-01 18:47:26 UTC
  • mto: (7.1.1 lenny) (1.2.1) (76.1.1 oneiric-proposed)
  • mto: This revision was merged to the branch mainline in revision 7.
  • Revision ID: james.westby@ubuntu.com-20071101184726-e3e4cxfcp41tz6ui
Tags: upstream-2.20.1
ImportĀ upstreamĀ versionĀ 2.20.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
 
23
23
#include <glib.h>
24
24
 
25
 
#ifdef __cplusplus
26
 
extern "C" {
27
 
#endif /* __cplusplus */
 
25
G_BEGIN_DECLS
28
26
 
29
27
#include "gconf-error.h"
30
 
#include "GConf.h"
 
28
#include "GConfX.h"
31
29
#include "gconf-listeners.h"
32
30
#include "gconf-sources.h"
33
31
#include "gconf-internals.h"
34
 
#include "gconf-glib-private.h"
35
32
 
36
33
typedef struct _GConfDatabase GConfDatabase;
37
34
 
39
36
{
40
37
  /* "inherit" from the servant,
41
38
     must be first in struct */
42
 
  POA_ConfigDatabase2 servant;
 
39
  POA_ConfigDatabase3 servant;
43
40
 
44
41
  ConfigDatabase objref;
45
42
  
60
57
 
61
58
CORBA_unsigned_long gconf_database_add_listener     (GConfDatabase       *db,
62
59
                                                     ConfigListener       who,
 
60
                                                     const char          *name,
63
61
                                                     const gchar         *where);
64
62
void                gconf_database_remove_listener  (GConfDatabase       *db,
65
63
                                                     CORBA_unsigned_long  cnxn);
66
64
 
67
65
CORBA_unsigned_long gconf_database_readd_listener   (GConfDatabase       *db,
68
66
                                                     ConfigListener       who,
 
67
                                                     const char          *name,
69
68
                                                     const gchar         *where);
70
69
 
71
70
void                gconf_database_notify_listeners (GConfDatabase       *db,
 
71
                                                     GConfSources        *modified_sources,
72
72
                                                     const gchar         *key,
73
73
                                                     const ConfigValue   *value,
74
74
                                                     gboolean             is_default,
75
 
                                                     gboolean             is_writable);
76
 
 
 
75
                                                     gboolean             is_writable,
 
76
                                                     gboolean             notify_others);
77
77
 
78
78
GConfValue* gconf_database_query_value         (GConfDatabase  *db,
79
79
                                                const gchar    *key,
101
101
                           const gchar        *locale,
102
102
                           GError        **err);
103
103
 
 
104
void gconf_database_recursive_unset (GConfDatabase      *db,
 
105
                                     const gchar        *key,
 
106
                                     const gchar        *locale,
 
107
                                     GConfUnsetFlags     flags,
 
108
                                     GError            **err);
104
109
 
105
110
 
106
111
gboolean gconf_database_dir_exists  (GConfDatabase  *db,
139
144
                                             gboolean is_default,
140
145
                                             GString *str);
141
146
 
142
 
#ifdef __cplusplus
143
 
}
144
 
#endif /* __cplusplus */
 
147
G_END_DECLS
145
148
 
146
149
#endif
147
150