summaryrefslogtreecommitdiff
path: root/src/mainwindow.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainwindow.h')
-rw-r--r--src/mainwindow.h18
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__*/