diff options
Diffstat (limited to 'gdbus/gdbus.h')
-rw-r--r-- | gdbus/gdbus.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/gdbus/gdbus.h b/gdbus/gdbus.h index 86b5affc..7ec25619 100644 --- a/gdbus/gdbus.h +++ b/gdbus/gdbus.h @@ -100,7 +100,8 @@ enum GDBusMethodFlags { }; enum GDBusSignalFlags { - G_DBUS_SIGNAL_FLAG_DEPRECATED = (1 << 0), + G_DBUS_SIGNAL_FLAG_DEPRECATED = (1 << 0), + G_DBUS_SIGNAL_FLAG_EXPERIMENTAL = (1 << 1), }; enum GDBusPropertyFlags { @@ -208,6 +209,11 @@ struct GDBusSecurityTable { .args = _args, \ .flags = G_DBUS_SIGNAL_FLAG_DEPRECATED +#define GDBUS_EXPERIMENTAL_SIGNAL(_name, _args) \ + .name = _name, \ + .args = _args, \ + .flags = G_DBUS_SIGNAL_FLAG_EXPERIMENTAL + void g_dbus_set_flags(int flags); gboolean g_dbus_register_interface(DBusConnection *connection, |