aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-tube-handler.h
diff options
context:
space:
mode:
authorSjoerd Simons <sjoerd.simons@collabora.co.uk>2009-01-10 00:16:05 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2009-01-10 00:16:05 +0800
commit702870d6d81ef54dc33bed04b34c6b5a89c597d9 (patch)
tree12bc9d72a181332a1daed1c625c21397b958ed2d /libempathy/empathy-tube-handler.h
parenta2c51caa1ffb0bdd4c95d4d45fc442dbf91b27c7 (diff)
downloadgsoc2013-empathy-702870d6d81ef54dc33bed04b34c6b5a89c597d9.tar
gsoc2013-empathy-702870d6d81ef54dc33bed04b34c6b5a89c597d9.tar.gz
gsoc2013-empathy-702870d6d81ef54dc33bed04b34c6b5a89c597d9.tar.bz2
gsoc2013-empathy-702870d6d81ef54dc33bed04b34c6b5a89c597d9.tar.lz
gsoc2013-empathy-702870d6d81ef54dc33bed04b34c6b5a89c597d9.tar.xz
gsoc2013-empathy-702870d6d81ef54dc33bed04b34c6b5a89c597d9.tar.zst
gsoc2013-empathy-702870d6d81ef54dc33bed04b34c6b5a89c597d9.zip
Don't use the old style TpTubeType
Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> svn path=/trunk/; revision=2200
Diffstat (limited to 'libempathy/empathy-tube-handler.h')
-rw-r--r--libempathy/empathy-tube-handler.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/libempathy/empathy-tube-handler.h b/libempathy/empathy-tube-handler.h
index f20527a68..7518a3303 100644
--- a/libempathy/empathy-tube-handler.h
+++ b/libempathy/empathy-tube-handler.h
@@ -24,8 +24,6 @@
#include <glib.h>
-#include <telepathy-glib/enums.h>
-
G_BEGIN_DECLS
#define EMPATHY_TYPE_TUBE_HANDLER (empathy_tube_handler_get_type ())
@@ -51,12 +49,17 @@ struct _EmpathyTubeHandlerClass {
GObjectClass parent_class;
};
+typedef enum {
+ EMPATHY_TYPE_STREAM_TUBE = 0,
+ EMPATHY_TYPE_DBUS_TUBE
+} EmpathyTubeType;
+
GType empathy_tube_handler_get_type (void) G_GNUC_CONST;
-EmpathyTubeHandler *empathy_tube_handler_new (TpTubeType type,
+EmpathyTubeHandler *empathy_tube_handler_new (EmpathyTubeType type,
const gchar *service);
-gchar *empathy_tube_handler_build_bus_name (TpTubeType type,
+gchar *empathy_tube_handler_build_bus_name (EmpathyTubeType type,
const gchar *service);
-gchar *empathy_tube_handler_build_object_path (TpTubeType type,
+gchar *empathy_tube_handler_build_object_path (EmpathyTubeType type,
const gchar *service);
G_END_DECLS