summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/ScreenSharing/ScreenSharingManagerImpl.h')
-rw-r--r--Swiften/ScreenSharing/ScreenSharingManagerImpl.h39
1 files changed, 39 insertions, 0 deletions
diff --git a/Swiften/ScreenSharing/ScreenSharingManagerImpl.h b/Swiften/ScreenSharing/ScreenSharingManagerImpl.h
new file mode 100644
index 0000000..0075630
--- /dev/null
+++ b/Swiften/ScreenSharing/ScreenSharingManagerImpl.h
@@ -0,0 +1,39 @@
+/*
+ * Copyright (c) 2012 Yoann Blein
+ * Licensed under the simplified BSD license.
+ * See Documentation/Licenses/BSD-simplified.txt for more information.
+ */
+
+#pragma once
+
+#include <Swiften/ScreenSharing/ScreenSharingManager.h>
+#include <Swiften/JID/JID.h>
+
+namespace Swift {
+ class IncomingScreenSharingManager;
+ class OutgoingScreenSharingManager;
+ class JingleSessionManager;
+ class IQRouter;
+ class UDPSocketFactory;
+ class TimerFactory;
+
+ class ScreenSharingManagerImpl : public ScreenSharingManager {
+ public:
+ ScreenSharingManagerImpl(const JID& ownFullJID, JingleSessionManager* jingleSessionManager, IQRouter *iqRouter,
+ UDPSocketFactory* udpSocketFactory, TimerFactory* timerFactory);
+ virtual ~ScreenSharingManagerImpl();
+
+ virtual boost::shared_ptr<OutgoingScreenSharing> createOutgoingScreenSharing(const JID& to);
+
+ private:
+ IncomingScreenSharingManager* incomingSSManager;
+ OutgoingScreenSharingManager* outgoingSSManager;
+
+ JID ownJID;
+
+// JingleSessionManager* jingleSM;
+// IQRouter* iqRouter;
+// BoostUDPSocketFactory* udpSocketFactory;
+// TimerFactory* timerFactory;
+ };
+}