From d8e5a4996f17d560fe8383efe72fe0ee774a86ec Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Sat, 20 Sep 2014 16:28:53 +0200 Subject: Initial multipeer code - untested. --- src/mainwindow.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'src/mainwindow.h') diff --git a/src/mainwindow.h b/src/mainwindow.h index 78bd50b..c3c6115 100644 --- a/src/mainwindow.h +++ b/src/mainwindow.h @@ -30,6 +30,7 @@ #include #include #include +#include #include "v4l.h" #include "audioinputhandler.h" @@ -40,7 +41,9 @@ class MainWindow : public QMainWindow { Q_OBJECT public: - MainWindow(QString v4ldev, QString adev, QHostAddress addr, quint16 port); + MainWindow(QString v4ldev, QString adev, + OutputStreamer &ostreamer, + QList &islist); public slots: void newImage(Frame frame); @@ -51,8 +54,8 @@ private: V4L v4l; AudioInputHandler aih; AudioOutputHandler aoh; - OutputStreamer ostreamer; - InputStreamer istreamer; + OutputStreamer &ostreamer; + QList &islist; QTimer status_timer; }; -- cgit v1.2.3