1 #ifndef __dconf_mock_h__
2 #define __dconf_mock_h__
4 #include "../gvdb/gvdb-reader.h"
7 typedef GVariant
* (* DConfMockDBusSyncCallHandler
) (GBusType bus_type
,
9 const gchar
*object_path
,
10 const gchar
*interface_name
,
11 const gchar
*method_name
,
13 const GVariantType
*expected_type
,
16 extern DConfMockDBusSyncCallHandler dconf_mock_dbus_sync_call_handler
;
17 extern GQueue dconf_mock_dbus_outstanding_call_handles
;
19 void dconf_mock_shm_reset (void);
20 gint
dconf_mock_shm_flag (const gchar
*name
);
21 void dconf_mock_shm_assert_log (const gchar
*expected_log
);
23 GvdbTable
* dconf_mock_gvdb_table_new (void);
24 void dconf_mock_gvdb_table_insert (GvdbTable
*table
,
28 void dconf_mock_gvdb_table_invalidate (GvdbTable
*table
);
29 void dconf_mock_gvdb_install (const gchar
*filename
,
31 GvdbTable
* dconf_mock_gvdb_table_ref (GvdbTable
*table
);