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