aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-tube-handler.h
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@src.gnome.org>2008-04-20 05:04:23 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2008-04-20 05:04:23 +0800
commit4c27cbce2a1e6d1b51c3a7f1a983c1278506120e (patch)
tree1af396319a7f82ae06a51bd40addd8bc2a583fa2 /libempathy/empathy-tube-handler.h
parent14ed90780c03a6d14601cd898d048b70d4a941a9 (diff)
downloadgsoc2013-empathy-4c27cbce2a1e6d1b51c3a7f1a983c1278506120e.tar.gz
gsoc2013-empathy-4c27cbce2a1e6d1b51c3a7f1a983c1278506120e.tar.zst
gsoc2013-empathy-4c27cbce2a1e6d1b51c3a7f1a983c1278506120e.zip
Change the way tube handler's object-path and bus-name are build.
svn path=/trunk/; revision=984
Diffstat (limited to 'libempathy/empathy-tube-handler.h')
-rw-r--r--libempathy/empathy-tube-handler.h10
1 files changed, 8 insertions, 2 deletions
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 <glib.h>
+#include <telepathy-glib/enums.h>
+
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