From c8c3d8641f72e979cd7da11901b6a2ae0745de0b Mon Sep 17 00:00:00 2001 From: Přemysl Eric Janouch Date: Fri, 13 Dec 2024 06:37:21 +0100 Subject: WIP: Add a Qt Quick frontend for xC We have to decouple the UI from the relay code. --- xT/xTq.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 xT/xTq.h (limited to 'xT/xTq.h') diff --git a/xT/xTq.h b/xT/xTq.h new file mode 100644 index 0000000..70a0374 --- /dev/null +++ b/xT/xTq.h @@ -0,0 +1,15 @@ +#ifndef XTQ_H +#define XTQ_H + +#include +#include + +class RelayConnection : public QObject { + Q_OBJECT + QML_ELEMENT + +public: + QTcpSocket *socket; ///< Buffered relay socket +}; + +#endif // XTQ_H -- cgit v1.2.3-70-g09d2