准备优化decode recvdata

This commit is contained in:
rankun 2018-11-05 17:55:53 +08:00
parent 774e57779d
commit 9dc371f590
3 changed files with 27 additions and 2 deletions

View file

@ -35,7 +35,8 @@ SOURCES += \
frames.cpp \
fpscounter.cpp \
qyuvopenglwidget.cpp \
videoform.cpp
videoform.cpp \
devicesocket.cpp
HEADERS += \
dialog.h \
@ -46,7 +47,8 @@ HEADERS += \
frames.h \
fpscounter.h \
qyuvopenglwidget.h \
videoform.h
videoform.h \
devicesocket.h
FORMS += \
dialog.ui \

6
src/devicesocket.cpp Normal file
View file

@ -0,0 +1,6 @@
#include "devicesocket.h"
DeviceSocket::DeviceSocket(QObject *parent) : QTcpSocket(parent)
{
}

17
src/devicesocket.h Normal file
View file

@ -0,0 +1,17 @@
#ifndef DEVICESOCKET_H
#define DEVICESOCKET_H
#include <QTcpSocket>
class DeviceSocket : public QTcpSocket
{
Q_OBJECT
public:
explicit DeviceSocket(QObject *parent = nullptr);
signals:
public slots:
};
#endif // DEVICESOCKET_H