diff options
author | Petr Mrázek <peterix@gmail.com> | 2021-11-20 16:22:22 +0100 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2021-11-20 16:22:22 +0100 |
commit | 0c861db7a201c813530e703257f286257f39872f (patch) | |
tree | 5ba0e10632ecef461f50bcc6e32512062932a193 /launcher/ApplicationMessage.h | |
parent | eafeb64decf9fa3b4ae9617abc777698e51b24d0 (diff) | |
download | PrismLauncher-0c861db7a201c813530e703257f286257f39872f.tar.gz PrismLauncher-0c861db7a201c813530e703257f286257f39872f.tar.bz2 PrismLauncher-0c861db7a201c813530e703257f286257f39872f.zip |
NOISSUE Some happy little refactors
Diffstat (limited to 'launcher/ApplicationMessage.h')
-rw-r--r-- | launcher/ApplicationMessage.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/launcher/ApplicationMessage.h b/launcher/ApplicationMessage.h new file mode 100644 index 00000000..745bdead --- /dev/null +++ b/launcher/ApplicationMessage.h @@ -0,0 +1,13 @@ +#pragma once + +#include <QString> +#include <QMap> +#include <QByteArray> + +struct ApplicationMessage { + QString command; + QMap<QString, QString> args; + + QByteArray serialize(); + void parse(const QByteArray & input); +}; |