summaryrefslogtreecommitdiff
path: root/src/tube-iface.h
diff options
context:
space:
mode:
authorAlban Crequy <alban.crequy@collabora.co.uk>2008-11-24 18:51:18 +0000
committerAlban Crequy <alban.crequy@collabora.co.uk>2008-11-24 18:51:18 +0000
commit81a1b005275d300e1c8ae124b5298616d59723ad (patch)
tree7cdc4c277e9f9ba2f9d5cbe2f32936672dbbca28 /src/tube-iface.h
parent4aea6ac8559caa362948d4fa93ee0caf0cbd96dc (diff)
downloadtelepathy-salut-81a1b005275d300e1c8ae124b5298616d59723ad.tar.gz
SalutTubeIface: don't make the "state" property writeable, add a proper function salut_tube_iface_accepted() instead
Diffstat (limited to 'src/tube-iface.h')
-rw-r--r--src/tube-iface.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/tube-iface.h b/src/tube-iface.h
index 19f291ff..189c97e6 100644
--- a/src/tube-iface.h
+++ b/src/tube-iface.h
@@ -33,6 +33,7 @@ struct _SalutTubeIfaceClass {
GTypeInterface parent;
gboolean (*accept) (SalutTubeIface *tube, GError **error);
+ void (*accepted) (SalutTubeIface *tube);
gboolean (*offer_needed) (SalutTubeIface *tube);
int (*listen) (SalutTubeIface *tube);
void (*close) (SalutTubeIface *tube, gboolean local);
@@ -58,8 +59,12 @@ gboolean salut_tube_iface_offer_needed (SalutTubeIface *tube);
int salut_tube_iface_listen (SalutTubeIface *tube);
+/* accept the tube offered by the contact */
gboolean salut_tube_iface_accept (SalutTubeIface *tube, GError **error);
+/* the contact accepted our tube offer */
+void salut_tube_iface_accepted (SalutTubeIface *tube);
+
void salut_tube_iface_close (SalutTubeIface *tube, gboolean closed_remotely);
void salut_tube_iface_add_bytestream (SalutTubeIface *tube,