diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2014-09-20 16:28:53 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2014-09-20 16:28:53 +0200 |
commit | d8e5a4996f17d560fe8383efe72fe0ee774a86ec (patch) | |
tree | d1daf337e220991ce4ee3386a1fa3788d4b40331 /src/mainwindow.h | |
parent | 88a63d314132d9dd87a8087a87743fab57c8ed51 (diff) |
Initial multipeer code - untested.
Diffstat (limited to 'src/mainwindow.h')
-rw-r--r-- | src/mainwindow.h | 9 |
1 files changed, 6 insertions, 3 deletions
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 <QMainWindow> #include <QString> #include <QTimer> +#include <QList> #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<InputStreamer*> &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<InputStreamer*> &islist; QTimer status_timer; }; |