Move to forward declare of pointers

This commit is contained in:
2026-02-14 14:32:04 +01:00
parent b8085a3976
commit 8ec3b988a4
3 changed files with 6 additions and 2 deletions
+3 -2
View File
@@ -1,9 +1,10 @@
#ifndef WEB_SOCKET_WRAPPER_H
#define WEB_SOCKET_WRAPPER_H
#include <QTimer>
#include <QtWebSockets/QWebSocket>
#include <nlohmann/json.hpp>
#include <QObject>
Q_FORWARD_DECLARE_OBJC_CLASS(QWebSocket);
Q_FORWARD_DECLARE_OBJC_CLASS(QTimer);
using json = nlohmann::json;
class Web_socket_wrapper : public QObject