diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2014-09-20 11:53:40 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2014-09-20 11:53:40 +0200 |
commit | 808225629721c2f7d5c751edc60e5c6744be7886 (patch) | |
tree | 3d97fc3b7319b5f94e688a454de51b32321ebfd7 /src/mainwindow.h | |
parent | 46d4e577bceb12c9463fdf4ef1d9a9a348f13543 (diff) |
First (crashing) prototype.
Diffstat (limited to 'src/mainwindow.h')
-rw-r--r-- | src/mainwindow.h | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/src/mainwindow.h b/src/mainwindow.h index 0ce1f4a..78bd50b 100644 --- a/src/mainwindow.h +++ b/src/mainwindow.h @@ -29,22 +29,32 @@ #include <QMainWindow> #include <QString> +#include <QTimer> #include "v4l.h" -#include "audiohandler.h" +#include "audioinputhandler.h" +#include "audiooutputhandler.h" +#include "outputstreamer.h" +#include "inputstreamer.h" class MainWindow : public QMainWindow { Q_OBJECT public: - MainWindow(QString v4ldev, QString adev); + MainWindow(QString v4ldev, QString adev, QHostAddress addr, quint16 port); public slots: - void newImage(QImage img); + void newImage(Frame frame); void newAudio(framelist_t list); + void updateStatus(); private: V4L v4l; - AudioHandler ah; + AudioInputHandler aih; + AudioOutputHandler aoh; + OutputStreamer ostreamer; + InputStreamer istreamer; + + QTimer status_timer; }; #endif/*__SIMPLERTP_MAINWINDOW_H__*/ |