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