File indexing completed on 2025-01-18 10:00:00
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022
0023
0024
0025 #ifndef __G_TEST_DBUS_H__
0026 #define __G_TEST_DBUS_H__
0027
0028 #if !defined (__GIO_GIO_H_INSIDE__) && !defined (GIO_COMPILATION)
0029 #error "Only <gio/gio.h> can be included directly."
0030 #endif
0031
0032 #include <gio/giotypes.h>
0033
0034 G_BEGIN_DECLS
0035
0036 #define G_TYPE_TEST_DBUS \
0037 (g_test_dbus_get_type ())
0038 #define G_TEST_DBUS(obj) \
0039 (G_TYPE_CHECK_INSTANCE_CAST ((obj), G_TYPE_TEST_DBUS, \
0040 GTestDBus))
0041 #define G_IS_TEST_DBUS(obj) \
0042 (G_TYPE_CHECK_INSTANCE_TYPE ((obj), G_TYPE_TEST_DBUS))
0043
0044 GIO_AVAILABLE_IN_2_34
0045 GType g_test_dbus_get_type (void) G_GNUC_CONST;
0046
0047 GIO_AVAILABLE_IN_2_34
0048 GTestDBus * g_test_dbus_new (GTestDBusFlags flags);
0049
0050 GIO_AVAILABLE_IN_2_34
0051 GTestDBusFlags g_test_dbus_get_flags (GTestDBus *self);
0052
0053 GIO_AVAILABLE_IN_2_34
0054 const gchar * g_test_dbus_get_bus_address (GTestDBus *self);
0055
0056 GIO_AVAILABLE_IN_2_34
0057 void g_test_dbus_add_service_dir (GTestDBus *self,
0058 const gchar *path);
0059
0060 GIO_AVAILABLE_IN_2_34
0061 void g_test_dbus_up (GTestDBus *self);
0062
0063 GIO_AVAILABLE_IN_2_34
0064 void g_test_dbus_stop (GTestDBus *self);
0065
0066 GIO_AVAILABLE_IN_2_34
0067 void g_test_dbus_down (GTestDBus *self);
0068
0069 GIO_AVAILABLE_IN_2_34
0070 void g_test_dbus_unset (void);
0071
0072 G_END_DECLS
0073
0074 #endif