summaryrefslogtreecommitdiff
path: root/xfconf/xfconf-binding.h
diff options
context:
space:
mode:
authorBrian Tarricone <brian@tarricone.org>2008-04-15 08:09:38 +0000
committerBrian Tarricone <brian@tarricone.org>2008-04-15 08:09:38 +0000
commit7ec7ba05a53801f0c1f7145b5e020fcd44908fb5 (patch)
treea8ff95d1ddc396af911ed052986adb0fed9a0eba /xfconf/xfconf-binding.h
parent02b07875cb7d8d71858b68804d34e7b0ef596c7a (diff)
downloadxfconf-7ec7ba05a53801f0c1f7145b5e020fcd44908fb5.tar.gz
remove libxfconf-gtk and move binding functionality to libxfconf
binding functionality is not gobject-based (uses properties) and doesn't require gtk at all (Old svn revision: 26841)
Diffstat (limited to 'xfconf/xfconf-binding.h')
-rw-r--r--xfconf/xfconf-binding.h45
1 files changed, 45 insertions, 0 deletions
diff --git a/xfconf/xfconf-binding.h b/xfconf/xfconf-binding.h
new file mode 100644
index 0000000..a82bd94
--- /dev/null
+++ b/xfconf/xfconf-binding.h
@@ -0,0 +1,45 @@
+/*
+ * xfconf
+ *
+ * Copyright (c) 2008 Brian Tarricone <bjt23@cornell.edu>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; version 2 of the License ONLY.
+ *
+ * This program 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 General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
+
+#ifndef __XFCONF_BINDING_H__
+#define __XFCONF_BINDING_H__
+
+#if !defined(LIBXFCONF_COMPILATION) && !defined(XFCONF_IN_XFCONF_H)
+#error "Do not include xfconf-binding.h, as this file may change or disappear in the future. Include <xfconf/xfconf.h> instead."
+#endif
+
+#include <glib-object.h>
+#include <xfconf/xfconf-channel.h>
+
+G_BEGIN_DECLS
+
+void xfconf_g_property_bind(XfconfChannel *channel,
+ const gchar *xfconf_property,
+ GType xfconf_property_type,
+ GObject *object,
+ const gchar *object_property);
+
+void xfconf_g_property_unbind(XfconfChannel *channel,
+ const gchar *xfconf_property,
+ GObject *object,
+ const gchar *object_property);
+
+G_END_DECLS
+
+#endif /* __XFCONF_BINDING_H__ */