aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-tube-handler.h
diff options
context:
space:
mode:
authorGuillaume Desmottes <gdesmott@gnome.org>2009-02-17 05:25:25 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2009-02-17 05:25:25 +0800
commit2d374c38c8d57fb0d2d3a55f2004d6e6d08d12e7 (patch)
tree4f1f7ad9bcc0c74495c2a6dd7b2381e0b14e3f84 /libempathy/empathy-tube-handler.h
parent4ea44825231f8ddb45d11cce80393c4cd6b6939f (diff)
downloadgsoc2013-empathy-2d374c38c8d57fb0d2d3a55f2004d6e6d08d12e7.tar
gsoc2013-empathy-2d374c38c8d57fb0d2d3a55f2004d6e6d08d12e7.tar.gz
gsoc2013-empathy-2d374c38c8d57fb0d2d3a55f2004d6e6d08d12e7.tar.bz2
gsoc2013-empathy-2d374c38c8d57fb0d2d3a55f2004d6e6d08d12e7.tar.lz
gsoc2013-empathy-2d374c38c8d57fb0d2d3a55f2004d6e6d08d12e7.tar.xz
gsoc2013-empathy-2d374c38c8d57fb0d2d3a55f2004d6e6d08d12e7.tar.zst
gsoc2013-empathy-2d374c38c8d57fb0d2d3a55f2004d6e6d08d12e7.zip
use TpTubeType instead of EmpathyTubeType
From: Guillaume Desmottes <gdesmott@gnome.org> svn path=/trunk/; revision=2490
Diffstat (limited to 'libempathy/empathy-tube-handler.h')
-rw-r--r--libempathy/empathy-tube-handler.h13
1 files changed, 5 insertions, 8 deletions
diff --git a/libempathy/empathy-tube-handler.h b/libempathy/empathy-tube-handler.h
index 7518a3303..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 ())
@@ -49,17 +51,12 @@ 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 (EmpathyTubeType type,
+EmpathyTubeHandler *empathy_tube_handler_new (TpTubeType type,
const gchar *service);
-gchar *empathy_tube_handler_build_bus_name (EmpathyTubeType type,
+gchar *empathy_tube_handler_build_bus_name (TpTubeType type,
const gchar *service);
-gchar *empathy_tube_handler_build_object_path (EmpathyTubeType type,
+gchar *empathy_tube_handler_build_object_path (TpTubeType type,
const gchar *service);
G_END_DECLS