2021-10-31 20:42:06 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <QByteArray>
|
2023-08-02 17:35:35 +01:00
|
|
|
#include <QHash>
|
|
|
|
#include <QString>
|
2021-10-31 20:42:06 +00:00
|
|
|
|
2021-11-20 15:22:22 +00:00
|
|
|
struct ApplicationMessage {
|
2021-10-31 20:42:06 +00:00
|
|
|
QString command;
|
2022-12-15 13:43:46 +00:00
|
|
|
QHash<QString, QString> args;
|
2021-10-31 20:42:06 +00:00
|
|
|
|
|
|
|
QByteArray serialize();
|
2023-08-02 17:35:35 +01:00
|
|
|
void parse(const QByteArray& input);
|
2021-10-31 20:42:06 +00:00
|
|
|
};
|