summaryrefslogtreecommitdiff
path: root/telepathy-glib/dbus.h
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2010-05-04 16:18:42 +0100
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2010-05-04 16:18:42 +0100
commit8bca61a75abd945f4d3f79ce4ab0ee9ea0576694 (patch)
treef72b773ce945437df479863cea1b4b6ed1caf341 /telepathy-glib/dbus.h
parent0d2b59857814f34c20d6455c5472fcc2e5453382 (diff)
downloadtelepathy-glib-8bca61a75abd945f4d3f79ce4ab0ee9ea0576694.tar.gz
Generate a flags type, not an enum type, for TpDBusNameType
Also unwrap the longer lines (breaking the 80-character barrier, sadly) so glib-mkenums will understand.
Diffstat (limited to 'telepathy-glib/dbus.h')
-rw-r--r--telepathy-glib/dbus.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/telepathy-glib/dbus.h b/telepathy-glib/dbus.h
index 2270290a8..041b8418e 100644
--- a/telepathy-glib/dbus.h
+++ b/telepathy-glib/dbus.h
@@ -30,15 +30,13 @@ G_BEGIN_DECLS
void tp_dbus_g_method_return_not_implemented (DBusGMethodInvocation *context);
-typedef enum
+typedef enum /*< flags >*/
{
TP_DBUS_NAME_TYPE_UNIQUE = 1,
TP_DBUS_NAME_TYPE_WELL_KNOWN = 2,
TP_DBUS_NAME_TYPE_BUS_DAEMON = 4,
- TP_DBUS_NAME_TYPE_NOT_BUS_DAEMON =
- TP_DBUS_NAME_TYPE_UNIQUE | TP_DBUS_NAME_TYPE_WELL_KNOWN,
- TP_DBUS_NAME_TYPE_ANY =
- TP_DBUS_NAME_TYPE_NOT_BUS_DAEMON | TP_DBUS_NAME_TYPE_BUS_DAEMON
+ TP_DBUS_NAME_TYPE_NOT_BUS_DAEMON = TP_DBUS_NAME_TYPE_UNIQUE | TP_DBUS_NAME_TYPE_WELL_KNOWN,
+ TP_DBUS_NAME_TYPE_ANY = TP_DBUS_NAME_TYPE_NOT_BUS_DAEMON | TP_DBUS_NAME_TYPE_BUS_DAEMON
} TpDBusNameType;
gboolean tp_dbus_check_valid_bus_name (const gchar *name,