summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
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;
+ };
+}