From 808225629721c2f7d5c751edc60e5c6744be7886 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Sat, 20 Sep 2014 11:53:40 +0200 Subject: First (crashing) prototype. --- src/mainwindow.h | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) (limited to 'src/mainwindow.h') 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 #include +#include #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__*/ -- cgit v1.2.3