summaryrefslogtreecommitdiff
path: root/engine/dconf-engine.h
diff options
context:
space:
mode:
authorRyan Lortie <desrt@desrt.ca>2010-05-23 00:11:14 -0400
committerRyan Lortie <desrt@desrt.ca>2010-05-23 00:11:14 -0400
commit26b6477e9a9b2730b082dd9fec4df1b645d375c6 (patch)
treee4b3119d2824e9c0ef35bef8df8d27d69a2f3267 /engine/dconf-engine.h
parenta7053e1dd9c4e24cb4c915af047214e7c75e1464 (diff)
downloaddconf-26b6477e9a9b2730b082dd9fec4df1b645d375c6.tar.gz
flesh out the APIs a bit
- add a sync set() call to client API - GCancellable/GErrorify some APIs
Diffstat (limited to 'engine/dconf-engine.h')
-rw-r--r--engine/dconf-engine.h22
1 files changed, 13 insertions, 9 deletions
diff --git a/engine/dconf-engine.h b/engine/dconf-engine.h
index f766f0b..9d9a77f 100644
--- a/engine/dconf-engine.h
+++ b/engine/dconf-engine.h
@@ -9,12 +9,13 @@ typedef struct _DConfEngineResetList DConfEngineResetList;
typedef struct
{
- gint bus_type;
- const gchar *destination;
- const gchar *object_path;
- const gchar *interface;
- const gchar *method;
- GVariant *body;
+ gint bus_type;
+ const gchar *destination;
+ const gchar *object_path;
+ const gchar *interface;
+ const gchar *method;
+ const GVariantType *reply_type;
+ GVariant *body;
} DConfEngineMessage;
@@ -39,14 +40,17 @@ void dconf_engine_get_service_info (DConfEn
const gchar **object_path);
gboolean dconf_engine_is_writable (DConfEngine *engine,
DConfEngineMessage *message,
- const gchar *name);
+ const gchar *name,
+ GError **error);
gboolean dconf_engine_write (DConfEngine *engine,
DConfEngineMessage *message,
const gchar *key,
- GVariant *value);
+ GVariant *value,
+ GError **error);
gboolean dconf_engine_write_tree (DConfEngine *engine,
DConfEngineMessage *message,
- GTree *tree);
+ GTree *tree,
+ GError **error);
void dconf_engine_watch (DConfEngine *engine,
DConfEngineMessage *message,
const gchar *name);