summaryrefslogtreecommitdiff
path: root/tubes/inc
diff options
context:
space:
mode:
authorWill Thompson <will.thompson@collabora.co.uk>2012-03-30 15:58:03 +0100
committerMatúš Kukan <matus.kukan@gmail.com>2012-07-17 16:40:06 +0200
commit226149126eae9911b5e7dc71567a8889051553d7 (patch)
tree123fa422b77262d3d7770150c1f08e74666a2dda /tubes/inc
parent055970730aa9752ab237cce9dfc3833cf28a4259 (diff)
tubes: reduce code duplication when opening connection
Diffstat (limited to 'tubes/inc')
-rw-r--r--tubes/inc/tubes/conference.hxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/tubes/inc/tubes/conference.hxx b/tubes/inc/tubes/conference.hxx
index 35812bb09cfc..f4ae973a7737 100644
--- a/tubes/inc/tubes/conference.hxx
+++ b/tubes/inc/tubes/conference.hxx
@@ -82,7 +82,6 @@ public:
void setChannel( TpAccount* pAccount, TpChannel* pChannel );
TpChannel* getChannel() const { return mpChannel; }
bool offerTube();
- bool setTube( DBusConnection* pTube );
bool acceptTube( const char* pAddress );
/// got tube accepted on other end as well?
bool isTubeOpen() const { return meTubeChannelState == TP_TUBE_CHANNEL_STATE_OPEN; }
@@ -96,9 +95,12 @@ public:
{ return mbTubeChannelStateChangedHandlerInvoked; }
void setTubeChannelState( TpTubeChannelState eState ) { meTubeChannelState = eState; }
+ static void TubeOfferedHandler(TpChannel* pChannel, const gchar* pAddress, const GError* pError,
+ gpointer pUserData, GObject*pWeakObject);
static void FTReady( EmpathyFTHandler *handler, GError *error, gpointer user_data);
private:
+ bool setTube( const char* pTube );
rtl::OString maSessionId;
TeleManager* mpManager;