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