mirror of
https://github.com/barry-ran/QtScrcpy.git
synced 2025-04-20 03:25:02 +00:00
准备优化decode recvdata
This commit is contained in:
parent
774e57779d
commit
9dc371f590
3 changed files with 27 additions and 2 deletions
|
@ -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
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
Reference in a new issue