aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy
diff options
context:
space:
mode:
authorCosimo Cecchi <cosimo.cecchi@collabora.co.uk>2009-05-01 01:50:06 +0800
committerCosimo Cecchi <cosimoc@gnome.org>2009-06-01 23:47:36 +0800
commita698a6f2f622061c7b23c589a0a9eb0b72573993 (patch)
tree32d946b2ba8dbc7190561740cab10394a4fbfc28 /libempathy
parenta64bc30f336c9dc6fa8e22f33cae3a97d5819d7d (diff)
downloadgsoc2013-empathy-a698a6f2f622061c7b23c589a0a9eb0b72573993.tar
gsoc2013-empathy-a698a6f2f622061c7b23c589a0a9eb0b72573993.tar.gz
gsoc2013-empathy-a698a6f2f622061c7b23c589a0a9eb0b72573993.tar.bz2
gsoc2013-empathy-a698a6f2f622061c7b23c589a0a9eb0b72573993.tar.lz
gsoc2013-empathy-a698a6f2f622061c7b23c589a0a9eb0b72573993.tar.xz
gsoc2013-empathy-a698a6f2f622061c7b23c589a0a9eb0b72573993.tar.zst
gsoc2013-empathy-a698a6f2f622061c7b23c589a0a9eb0b72573993.zip
Remove some of the EmpFileTransferState crack
The basic idea is to completely hide the state in EmpathyFTHandler, and let the clients interact with the signal interface instead of switching cases for the state.
Diffstat (limited to 'libempathy')
-rw-r--r--libempathy/empathy-tp-file.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/libempathy/empathy-tp-file.h b/libempathy/empathy-tp-file.h
index 0ec267108..3e9563776 100644
--- a/libempathy/empathy-tp-file.h
+++ b/libempathy/empathy-tp-file.h
@@ -28,6 +28,8 @@
#include <gio/gio.h>
#include <glib.h>
+#include "extensions/extensions.h"
+
#include <telepathy-glib/channel.h>
G_BEGIN_DECLS
@@ -93,7 +95,7 @@ void empathy_tp_file_close (EmpathyTpFile *tp_file);
gboolean empathy_tp_file_is_incoming (EmpathyTpFile *tp_file);
-guint empathy_tp_file_get_state (EmpathyTpFile *tp_file, guint *reason);
+EmpFileTransferState empathy_tp_file_get_state (EmpathyTpFile *tp_file, guint *reason);
G_END_DECLS