2021-11-01 02:12:06 +05:30
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <QString>
|
2022-12-15 19:13:46 +05:30
|
|
|
#include <QHash>
|
2021-11-01 02:12:06 +05:30
|
|
|
#include <QByteArray>
|
|
|
|
|
2021-11-20 20:52:22 +05:30
|
|
|
struct ApplicationMessage {
|
2021-11-01 02:12:06 +05:30
|
|
|
QString command;
|
2022-12-15 19:13:46 +05:30
|
|
|
QHash<QString, QString> args;
|
2021-11-01 02:12:06 +05:30
|
|
|
|
|
|
|
QByteArray serialize();
|
|
|
|
void parse(const QByteArray & input);
|
|
|
|
};
|