aboutsummaryrefslogtreecommitdiff
path: root/src/aopacket.h
diff options
context:
space:
mode:
authorTrickyLeifa <date.epoch@gmail.com>2024-05-17 16:39:30 +0200
committerTrickyLeifa <date.epoch@gmail.com>2024-05-17 19:04:57 +0200
commit1ef96383c8f7ed136a0e028aef0835b4838b5e95 (patch)
treee87a9df097a50b4d1f918f8a4f37d210562d10d6 /src/aopacket.h
parent39e4354b1dae5d8487ea5b84be9f304b1950a61a (diff)
Lightly reworked `NetworkManager`, ...
* Lightly reworked `NetworkManager` * Added new modules to handle various connection types. * TCP * WebSocket * Added general string splitter alias based on Qt version. * Replaced `lobby_constructed` and `courtroom_constructed` * Refactored and partially reimplemented the following classes: * `AOBlipPlayer` * `AOEmotePreview` * `AOMusicPlayer` * `AOSfxPlayer` * `AOTextArea`
Diffstat (limited to 'src/aopacket.h')
-rw-r--r--src/aopacket.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/aopacket.h b/src/aopacket.h
index 11b1dfd0..91fb1f7e 100644
--- a/src/aopacket.h
+++ b/src/aopacket.h
@@ -1,5 +1,6 @@
#pragma once
+#include <QMetaType>
#include <QString>
#include <QStringList>
@@ -9,6 +10,7 @@ public:
static QString encode(QString data);
static QString decode(QString data);
+ AOPacket();
AOPacket(QString header);
AOPacket(QString header, QStringList content);
@@ -21,3 +23,4 @@ private:
QString m_header;
QStringList m_content;
};
+Q_DECLARE_METATYPE(AOPacket)