diff --git a/src/QtScrcpy.pro b/src/QtScrcpy.pro index 0a8e23c..4f92b6f 100644 --- a/src/QtScrcpy.pro +++ b/src/QtScrcpy.pro @@ -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 \ diff --git a/src/devicesocket.cpp b/src/devicesocket.cpp new file mode 100644 index 0000000..1c2f1bf --- /dev/null +++ b/src/devicesocket.cpp @@ -0,0 +1,6 @@ +#include "devicesocket.h" + +DeviceSocket::DeviceSocket(QObject *parent) : QTcpSocket(parent) +{ + +} diff --git a/src/devicesocket.h b/src/devicesocket.h new file mode 100644 index 0000000..44f231f --- /dev/null +++ b/src/devicesocket.h @@ -0,0 +1,17 @@ +#ifndef DEVICESOCKET_H +#define DEVICESOCKET_H + +#include + +class DeviceSocket : public QTcpSocket +{ + Q_OBJECT +public: + explicit DeviceSocket(QObject *parent = nullptr); + +signals: + +public slots: +}; + +#endif // DEVICESOCKET_H