summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordknn <yoann.blein@free.fr>2012-08-04 09:25:47 (GMT)
committerdknn <yoann.blein@free.fr>2012-09-22 09:15:48 (GMT)
commit343f88e3048887e83cc91bb710510b3aa618f779 (patch)
treec9a5d4cd3b9804c31074ffeec9f2953eedd45042 /Swift/QtUI/ScreenSharing/QtRemoteScreenWindow.h
parent5ed2b62239eda07de84142e63fad31ccc194d379 (diff)
downloadswift-contrib-343f88e3048887e83cc91bb710510b3aa618f779.zip
swift-contrib-343f88e3048887e83cc91bb710510b3aa618f779.tar.bz2
Add basic UI for viewing remote screen
Diffstat (limited to 'Swift/QtUI/ScreenSharing/QtRemoteScreenWindow.h')
-rw-r--r--Swift/QtUI/ScreenSharing/QtRemoteScreenWindow.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/Swift/QtUI/ScreenSharing/QtRemoteScreenWindow.h b/Swift/QtUI/ScreenSharing/QtRemoteScreenWindow.h
new file mode 100644
index 0000000..00ac803
--- /dev/null
+++ b/Swift/QtUI/ScreenSharing/QtRemoteScreenWindow.h
@@ -0,0 +1,31 @@
+/*
+ * Copyright (c) 2012 Yoann Blein
+ * Licensed under the simplified BSD license.
+ * See Documentation/Licenses/BSD-simplified.txt for more information.
+ */
+
+#pragma once
+
+#include "Swift/Controllers/UIInterfaces/RemoteScreenWindow.h"
+
+#include <QMainWindow>
+
+class QToolBar;
+
+namespace Swift {
+
+ class QtRemoteScreenWindow : public QMainWindow, public RemoteScreenWindow {
+ Q_OBJECT
+
+ public:
+ QtRemoteScreenWindow(boost::shared_ptr<IncomingScreenSharing> incScreenSharing, QWidget *parent = 0);
+ virtual ~QtRemoteScreenWindow();
+
+ private slots:
+ void handleCloseTriggered();
+
+ private:
+ QAction* closeAction;
+ QToolBar* controlToolBar;
+ };
+}