aboutsummaryrefslogtreecommitdiff
path: root/src/network/websocketconnection.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/network/websocketconnection.h')
-rw-r--r--src/network/websocketconnection.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/network/websocketconnection.h b/src/network/websocketconnection.h
index 9d9f7d0..1f5a842 100644
--- a/src/network/websocketconnection.h
+++ b/src/network/websocketconnection.h
@@ -23,6 +23,7 @@ public:
void disconnectFromServer();
void sendPacket(AOPacket packet);
+ void sendExMessage(const QByteArray &msg);
Q_SIGNALS:
void connectedToServer();
@@ -30,6 +31,7 @@ Q_SIGNALS:
void errorOccurred(QString error);
void receivedPacket(AOPacket packet);
+ void receivedExMessage(QByteArray msg);
private:
AOApplication *ao_app;
@@ -41,4 +43,5 @@ private Q_SLOTS:
void onError();
void onStateChanged(QAbstractSocket::SocketState state);
void onTextMessageReceived(QString message);
+ void onBinaryMessageReceived(QByteArray message);
};