diff options
author | Alban Crequy <alban.crequy@collabora.co.uk> | 2008-11-24 18:51:18 +0000 |
---|---|---|
committer | Alban Crequy <alban.crequy@collabora.co.uk> | 2008-11-24 18:51:18 +0000 |
commit | 81a1b005275d300e1c8ae124b5298616d59723ad (patch) | |
tree | 7cdc4c277e9f9ba2f9d5cbe2f32936672dbbca28 /src/tube-iface.h | |
parent | 4aea6ac8559caa362948d4fa93ee0caf0cbd96dc (diff) | |
download | telepathy-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.h | 5 |
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, |