You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
579 B
41 lines
579 B
#ifndef DIALOG_H
|
|
#define DIALOG_H
|
|
|
|
#include <QDialog>
|
|
|
|
#include "server.h"
|
|
#include "decoder.h"
|
|
#include "frames.h"
|
|
|
|
namespace Ui {
|
|
class Dialog;
|
|
}
|
|
|
|
class GLYuvWidget;
|
|
class YUVGLWidget;
|
|
class Dialog : public QDialog
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit Dialog(QWidget *parent = 0);
|
|
~Dialog();
|
|
|
|
private slots:
|
|
void on_adbProcess_clicked();
|
|
|
|
void on_startServerBtn_clicked();
|
|
|
|
void on_stopServerBtn_clicked();
|
|
|
|
private:
|
|
Ui::Dialog *ui;
|
|
Server* server;
|
|
Decoder decoder;
|
|
Frames frames;
|
|
GLYuvWidget* w;
|
|
YUVGLWidget* w2;
|
|
};
|
|
|
|
#endif // DIALOG_H
|