diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2009-05-28 14:34:21 +0100 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2009-06-26 15:21:29 +0100 |
commit | 25342065f2efd13d6655e4c9c3452617ae1b3c0f (patch) | |
tree | 77b5bdd9eb03bf2caa5d5986afff8e7d7ac0e550 /src/tube-dbus.c | |
parent | e92c60f1414ccffe5162abd3869b46d07646ba8e (diff) |
add salut_tube_dbus_channel_get_allowed_properties ()
Diffstat (limited to 'src/tube-dbus.c')
-rw-r--r-- | src/tube-dbus.c | 23 |
1 files changed, 22 insertions, 1 deletions
diff --git a/src/tube-dbus.c b/src/tube-dbus.c index 89113855..db20cb3d 100644 --- a/src/tube-dbus.c +++ b/src/tube-dbus.c @@ -29,7 +29,15 @@ #include <dbus/dbus-glib.h> #include <dbus/dbus-glib-lowlevel.h> -#include <telepathy-glib/util.h> + +#include <telepathy-glib/channel-iface.h> +#include <telepathy-glib/dbus.h> +#include <telepathy-glib/exportable-channel.h> +#include <telepathy-glib/group-mixin.h> +#include <telepathy-glib/gtypes.h> +#include <telepathy-glib/interfaces.h> +#include <telepathy-glib/svc-channel.h> +#include <telepathy-glib/svc-generic.h> #include <gibber/gibber-bytestream-ibb.h> #include <gibber/gibber-bytestream-muc.h> @@ -56,6 +64,13 @@ tube_iface_init (gpointer g_iface, gpointer iface_data); G_DEFINE_TYPE_WITH_CODE (SalutTubeDBus, salut_tube_dbus, G_TYPE_OBJECT, G_IMPLEMENT_INTERFACE (SALUT_TYPE_TUBE_IFACE, tube_iface_init)); +static const gchar * const salut_tube_dbus_channel_allowed_properties[] = { + TP_IFACE_CHANNEL ".TargetHandle", + TP_IFACE_CHANNEL ".TargetID", + TP_IFACE_CHANNEL_TYPE_DBUS_TUBE ".ServiceName", + NULL +}; + /* signals */ enum { @@ -1259,6 +1274,12 @@ salut_tube_dbus_handle_in_names (SalutTubeDBus *self, != NULL); } +const gchar * const * +salut_tube_dbus_channel_get_allowed_properties (void) +{ + return salut_tube_dbus_channel_allowed_properties; +} + static void tube_iface_init (gpointer g_iface, gpointer iface_data) |