[glib/new-gsettings] missing file



commit 2e491134a50a0e787bdeee628bb97cb889bd5bca
Author: Ryan Lortie <desrt desrt ca>
Date:   Wed Apr 14 17:14:09 2010 -0400

    missing file

 gio/gsettingsbackendinternal.h |   81 ++++++++++++++++++++++++++++++++++++++++
 1 files changed, 81 insertions(+), 0 deletions(-)
---
diff --git a/gio/gsettingsbackendinternal.h b/gio/gsettingsbackendinternal.h
new file mode 100644
index 0000000..4a2c105
--- /dev/null
+++ b/gio/gsettingsbackendinternal.h
@@ -0,0 +1,81 @@
+/*
+ * Copyright © 2009, 2010 Codethink Limited
+ * Copyright © 2010 Red Hat, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the licence, 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
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser 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.
+ *
+ * Authors: Ryan Lortie <desrt desrt ca>
+ *          Matthias Clasen <mclasen redhat com>
+ */
+
+#ifndef __G_SETTINGS_BACKEND_INTERNAL_H__
+#define __G_SETTINGS_BACKEND_INTERNAL_H__
+
+#include "gsettingsbackend.h"
+
+typedef void          (*GSettingsBackendChangedFunc)                    (GSettingsBackend    *backend,
+                                                                         const gchar         *key,
+                                                                         gpointer             origin_tag,
+                                                                         gpointer             user_data);
+typedef void          (*GSettingsBackendPathChangedFunc)                (GSettingsBackend    *backend,
+                                                                         const gchar         *path,
+                                                                         gpointer             origin_tag,
+                                                                         gpointer             user_data);
+typedef void          (*GSettingsBackendKeysChangedFunc)                (GSettingsBackend    *backend,
+                                                                         const gchar         *prefix,
+                                                                         const gchar * const *names,
+                                                                         gpointer             origin_tag,
+                                                                         gpointer             user_data);
+typedef void          (*GSettingsBackendWritableChangedFunc)            (GSettingsBackend    *backend,
+                                                                         const gchar         *key,
+                                                                         gpointer             user_data);
+typedef void          (*GSettingsBackendPathWritableChangedFunc)        (GSettingsBackend    *backend,
+                                                                         const gchar         *path,
+                                                                         gpointer             user_data);
+
+void                    g_settings_backend_watch                        (GSettingsBackend                        *backend,
+                                                                         GSettingsBackendChangedFunc              changed,
+                                                                         GSettingsBackendPathChangedFunc          path_changed,
+                                                                         GSettingsBackendKeysChangedFunc          keys_changed,
+                                                                         GSettingsBackendWritableChangedFunc      writable_changed,
+                                                                         GSettingsBackendPathWritableChangedFunc  path_writable_changed,
+                                                                         gpointer                                 user_data);
+void                    g_settings_backend_unwatch                      (GSettingsBackend                     *backend,
+                                                                         gpointer                              user_data);
+
+gboolean                        g_settings_backend_supports_context     (const gchar                          *context);
+GSettingsBackend *              g_settings_backend_get_with_context     (const gchar                          *context);
+GTree *                         g_settings_backend_create_tree          (void);
+GVariant *                      g_settings_backend_read                 (GSettingsBackend                     *backend,
+                                                                         const gchar                          *key,
+                                                                         const GVariantType                   *expected_type);
+void                            g_settings_backend_write                (GSettingsBackend                     *backend,
+                                                                         const gchar                          *key,
+                                                                         GVariant                             *value,
+                                                                         gpointer                              origin_tag);
+void                            g_settings_backend_write_keys           (GSettingsBackend                     *backend,
+                                                                         GTree                                *tree,
+                                                                         gpointer                              origin_tag);
+
+gboolean                        g_settings_backend_get_writable         (GSettingsBackend                     *backend,
+                                                                         const char                           *name);
+
+void                            g_settings_backend_unsubscribe          (GSettingsBackend                     *backend,
+                                                                         const char                           *name);
+void                            g_settings_backend_subscribe            (GSettingsBackend                     *backend,
+                                                                         const char                           *name);
+
+#endif  /* __G_SETTINGS_BACKEND_INTERNAL_H__ */



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]