Added sendData function call to remote main.

Commented out more things that are currently not needed.
This commit is contained in:
Nffj84
2024-07-03 16:10:24 +03:00
parent 3e0841b0ca
commit 0b4b2f9f10
4 changed files with 24 additions and 6 deletions
+9
View File
@@ -5,6 +5,14 @@
#include <QString>
#include <QThread>
struct RectangleProperties
{
uint16_t width;
uint16_t height;
uint16_t middleX;
uint16_t middleY;
};
class RemoteControl : public QObject
{
Q_OBJECT
@@ -21,6 +29,7 @@ private slots:
void zoomToTarget(QJsonObject &commandObject);
void restoreOrientation(void);
void restoreZoom(void);
RectangleProperties calculateRectangleProperties(uint16_t top, uint16_t left, uint16_t bottom, uint16_t right);
private:
void openNamedPipe(void);