mirror of
https://github.com/azaion/autopilot.git
synced 2026-04-22 17:46:40 +00:00
Added sendData function call to remote main.
Commented out more things that are currently not needed.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user