summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordknn <yoann.blein@free.fr>2012-07-08 20:27:27 (GMT)
committerdknn <yoann.blein@free.fr>2012-09-22 09:00:01 (GMT)
commit1b2d23c160b4c120a364ff9e86b54e2d8caeaaa4 (patch)
tree94c9884d7746786568d0da2d6e122dd0f0b5ca9c /Swiften/ScreenSharing/ScreenSharingManager.h
parent4e0236b08d3914d24af32f45bc99663a73c6d83a (diff)
downloadswift-contrib-1b2d23c160b4c120a364ff9e86b54e2d8caeaaa4.zip
swift-contrib-1b2d23c160b4c120a364ff9e86b54e2d8caeaaa4.tar.bz2
Screen sharing managing
Diffstat (limited to 'Swiften/ScreenSharing/ScreenSharingManager.h')
-rw-r--r--Swiften/ScreenSharing/ScreenSharingManager.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/Swiften/ScreenSharing/ScreenSharingManager.h b/Swiften/ScreenSharing/ScreenSharingManager.h
new file mode 100644
index 0000000..a527402
--- /dev/null
+++ b/Swiften/ScreenSharing/ScreenSharingManager.h
@@ -0,0 +1,26 @@
+/*
+ * Copyright (c) 2012 Yoann Blein
+ * Licensed under the simplified BSD license.
+ * See Documentation/Licenses/BSD-simplified.txt for more information.
+ */
+
+#pragma once
+
+//#include <Swiften/JID/JID.h>
+#include <boost/shared_ptr.hpp>
+#include <Swiften/Base/boost_bsignals.h>
+
+namespace Swift {
+ class IncomingScreenSharing;
+ class OutgoingScreenSharing;
+ class JID;
+
+ class ScreenSharingManager {
+ public:
+ virtual ~ScreenSharingManager() {}
+
+ virtual boost::shared_ptr<OutgoingScreenSharing> createOutgoingScreenSharing(const JID& to) = 0;
+
+ boost::signal<void (boost::shared_ptr<IncomingScreenSharing>)> onIncomingScreenSharing;
+ };
+}