projects
/
platform
/
upstream
/
glib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
gresource: Make extract work better
[platform/upstream/glib.git]
/
gio
/
gsettingsbackend.h
diff --git
a/gio/gsettingsbackend.h
b/gio/gsettingsbackend.h
index
e674187
..
fbec206
100644
(file)
--- a/
gio/gsettingsbackend.h
+++ b/
gio/gsettingsbackend.h
@@
-13,9
+13,7
@@
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* 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.
+ * License along with this library; if not, see <http://www.gnu.org/licenses/>.
*
* Authors: Ryan Lortie <desrt@desrt.ca>
* Matthias Clasen <mclasen@redhat.com>
*
* Authors: Ryan Lortie <desrt@desrt.ca>
* Matthias Clasen <mclasen@redhat.com>
@@
-93,7
+91,11
@@
struct _GSettingsBackendClass
GPermission * (*get_permission) (GSettingsBackend *backend,
const gchar *path);
GPermission * (*get_permission) (GSettingsBackend *backend,
const gchar *path);
- gpointer padding[24];
+ GVariant * (*read_user_value) (GSettingsBackend *backend,
+ const gchar *key,
+ const GVariantType *expected_type);
+
+ gpointer padding[23];
};
struct _GSettingsBackend
};
struct _GSettingsBackend
@@
-104,39
+106,51
@@
struct _GSettingsBackend
GSettingsBackendPrivate *priv;
};
GSettingsBackendPrivate *priv;
};
+GLIB_AVAILABLE_IN_ALL
GType g_settings_backend_get_type (void);
GType g_settings_backend_get_type (void);
+GLIB_AVAILABLE_IN_ALL
void g_settings_backend_changed (GSettingsBackend *backend,
const gchar *key,
gpointer origin_tag);
void g_settings_backend_changed (GSettingsBackend *backend,
const gchar *key,
gpointer origin_tag);
+GLIB_AVAILABLE_IN_ALL
void g_settings_backend_path_changed (GSettingsBackend *backend,
const gchar *path,
gpointer origin_tag);
void g_settings_backend_path_changed (GSettingsBackend *backend,
const gchar *path,
gpointer origin_tag);
+GLIB_AVAILABLE_IN_ALL
void g_settings_backend_flatten_tree (GTree *tree,
gchar **path,
const gchar ***keys,
GVariant ***values);
void g_settings_backend_flatten_tree (GTree *tree,
gchar **path,
const gchar ***keys,
GVariant ***values);
+GLIB_AVAILABLE_IN_ALL
void g_settings_backend_keys_changed (GSettingsBackend *backend,
const gchar *path,
gchar const * const *items,
gpointer origin_tag);
void g_settings_backend_keys_changed (GSettingsBackend *backend,
const gchar *path,
gchar const * const *items,
gpointer origin_tag);
+GLIB_AVAILABLE_IN_ALL
void g_settings_backend_path_writable_changed (GSettingsBackend *backend,
const gchar *path);
void g_settings_backend_path_writable_changed (GSettingsBackend *backend,
const gchar *path);
+GLIB_AVAILABLE_IN_ALL
void g_settings_backend_writable_changed (GSettingsBackend *backend,
const gchar *key);
void g_settings_backend_writable_changed (GSettingsBackend *backend,
const gchar *key);
+GLIB_AVAILABLE_IN_ALL
void g_settings_backend_changed_tree (GSettingsBackend *backend,
GTree *tree,
gpointer origin_tag);
void g_settings_backend_changed_tree (GSettingsBackend *backend,
GTree *tree,
gpointer origin_tag);
+GLIB_AVAILABLE_IN_ALL
GSettingsBackend * g_settings_backend_get_default (void);
GSettingsBackend * g_settings_backend_get_default (void);
+GLIB_AVAILABLE_IN_ALL
GSettingsBackend * g_keyfile_settings_backend_new (const gchar *filename,
const gchar *root_path,
const gchar *root_group);
GSettingsBackend * g_keyfile_settings_backend_new (const gchar *filename,
const gchar *root_path,
const gchar *root_group);
+GLIB_AVAILABLE_IN_ALL
GSettingsBackend * g_null_settings_backend_new (void);
GSettingsBackend * g_null_settings_backend_new (void);
+GLIB_AVAILABLE_IN_ALL
GSettingsBackend * g_memory_settings_backend_new (void);
G_END_DECLS
GSettingsBackend * g_memory_settings_backend_new (void);
G_END_DECLS