summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/ScreenSharing/OutgoingScreenSharingManager.cpp')
-rw-r--r--Swiften/ScreenSharing/OutgoingScreenSharingManager.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/Swiften/ScreenSharing/OutgoingScreenSharingManager.cpp b/Swiften/ScreenSharing/OutgoingScreenSharingManager.cpp
index 872fd19..b9d966f 100644
--- a/Swiften/ScreenSharing/OutgoingScreenSharingManager.cpp
+++ b/Swiften/ScreenSharing/OutgoingScreenSharingManager.cpp
@@ -13,9 +13,8 @@
namespace Swift {
-OutgoingScreenSharingManager::OutgoingScreenSharingManager(JingleSessionManager* jingleSessionManager,IQRouter* router,
- UDPSocketFactory *udpSocketFactory, TimerFactory* timerFactory)
- : jsManager(jingleSessionManager), iqRouter(router), udpSocketFactory(udpSocketFactory), timerFactory(timerFactory)
+OutgoingScreenSharingManager::OutgoingScreenSharingManager(JingleSessionManager* jingleSessionManager,IQRouter* router, UDPSocketFactory *udpSocketFactory, ConnectivityManager* connectivityManager, TimerFactory* timerFactory)
+ : jsManager(jingleSessionManager), iqRouter(router), connectivityManager(connectivityManager), udpSocketFactory(udpSocketFactory), timerFactory(timerFactory)
{
}
@@ -25,7 +24,7 @@ boost::shared_ptr<OutgoingScreenSharing> OutgoingScreenSharingManager::createOut
assert(jingleSession);
jsManager->registerOutgoingSession(from, jingleSession);
- return boost::make_shared<OutgoingScreenSharing>(jingleSession, udpSocketFactory, timerFactory, recipient);
+ return boost::make_shared<OutgoingScreenSharing>(jingleSession, udpSocketFactory, connectivityManager, timerFactory, recipient);
}
}