summaryrefslogtreecommitdiff
path: root/gconf/gconfd-dbus.h
diff options
context:
space:
mode:
authorRob Bradford <rob@linux.intel.com>2011-06-20 12:05:56 +0100
committerRoss Burton <ross@linux.intel.com>2011-06-28 15:25:45 +0100
commiteed7b085e64f425bac72ec5f9f0634fdb35176d3 (patch)
tree06fa05cb8e7dd5945a15c879654b5bf88d1936d6 /gconf/gconfd-dbus.h
parentbd491608a31dec52e98491d7a4c9aae4386a227e (diff)
downloadgconf-eed7b085e64f425bac72ec5f9f0634fdb35176d3.tar.gz
build: Conditionally compile in the DBUS implementation files
Diffstat (limited to 'gconf/gconfd-dbus.h')
-rw-r--r--gconf/gconfd-dbus.h42
1 files changed, 42 insertions, 0 deletions
diff --git a/gconf/gconfd-dbus.h b/gconf/gconfd-dbus.h
new file mode 100644
index 00000000..40695abd
--- /dev/null
+++ b/gconf/gconfd-dbus.h
@@ -0,0 +1,42 @@
+/* GConf
+ * Copyright (C) 2003 CodeFactory AB
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public
+ * License along with this library; if not, write to the
+ * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ * Boston, MA 02111-1307, USA.
+ */
+
+#ifndef GCONF_GCONFD_DBUS_H
+#define GCONF_GCONFD_DBUS_H
+
+#include <dbus/dbus.h>
+
+gboolean gconfd_dbus_init (void);
+gboolean gconfd_dbus_check_in_shutdown (DBusConnection *connection,
+ DBusMessage *message);
+guint gconfd_dbus_client_count (void);
+
+/* Convenience function copied from andercas old code */
+gboolean gconfd_dbus_get_message_args (DBusConnection *connection,
+ DBusMessage *message,
+ int first_arg_type,
+ ...);
+gboolean gconfd_dbus_set_exception (DBusConnection *connection,
+ DBusMessage *message,
+ GError **error);
+gboolean gconfd_dbus_check_in_shutdown (DBusConnection *connection,
+ DBusMessage *message);
+DBusConnection *gconfd_dbus_get_connection (void);
+
+#endif