mirror of
https://github.com/barry-ran/QtScrcpy.git
synced 2025-08-04 06:38:39 +00:00
准备优化decode recvdata
This commit is contained in:
parent
28e5d808d9
commit
0747472fb5
3 changed files with 27 additions and 2 deletions
|
@ -35,7 +35,8 @@ SOURCES += \
|
||||||
frames.cpp \
|
frames.cpp \
|
||||||
fpscounter.cpp \
|
fpscounter.cpp \
|
||||||
qyuvopenglwidget.cpp \
|
qyuvopenglwidget.cpp \
|
||||||
videoform.cpp
|
videoform.cpp \
|
||||||
|
devicesocket.cpp
|
||||||
|
|
||||||
HEADERS += \
|
HEADERS += \
|
||||||
dialog.h \
|
dialog.h \
|
||||||
|
@ -46,7 +47,8 @@ HEADERS += \
|
||||||
frames.h \
|
frames.h \
|
||||||
fpscounter.h \
|
fpscounter.h \
|
||||||
qyuvopenglwidget.h \
|
qyuvopenglwidget.h \
|
||||||
videoform.h
|
videoform.h \
|
||||||
|
devicesocket.h
|
||||||
|
|
||||||
FORMS += \
|
FORMS += \
|
||||||
dialog.ui \
|
dialog.ui \
|
||||||
|
|
6
src/devicesocket.cpp
Normal file
6
src/devicesocket.cpp
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
#include "devicesocket.h"
|
||||||
|
|
||||||
|
DeviceSocket::DeviceSocket(QObject *parent) : QTcpSocket(parent)
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
17
src/devicesocket.h
Normal file
17
src/devicesocket.h
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue