diff options
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; }; |