From 4c27cbce2a1e6d1b51c3a7f1a983c1278506120e Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Sat, 19 Apr 2008 21:04:23 +0000 Subject: Change the way tube handler's object-path and bus-name are build. svn path=/trunk/; revision=984 --- libempathy/empathy-tube-handler.h | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'libempathy/empathy-tube-handler.h') diff --git a/libempathy/empathy-tube-handler.h b/libempathy/empathy-tube-handler.h index 027e8f8e3..f20527a68 100644 --- a/libempathy/empathy-tube-handler.h +++ b/libempathy/empathy-tube-handler.h @@ -24,6 +24,8 @@ #include +#include + G_BEGIN_DECLS #define EMPATHY_TYPE_TUBE_HANDLER (empathy_tube_handler_get_type ()) @@ -50,8 +52,12 @@ struct _EmpathyTubeHandlerClass { }; GType empathy_tube_handler_get_type (void) G_GNUC_CONST; -EmpathyTubeHandler *empathy_tube_handler_new (const gchar *bus_name, - const gchar *object_path); +EmpathyTubeHandler *empathy_tube_handler_new (TpTubeType type, + const gchar *service); +gchar *empathy_tube_handler_build_bus_name (TpTubeType type, + const gchar *service); +gchar *empathy_tube_handler_build_object_path (TpTubeType type, + const gchar *service); G_END_DECLS -- cgit v1.2.3