aboutsummaryrefslogtreecommitdiff
path: root/launcher/ApplicationMessage.h
diff options
context:
space:
mode:
Diffstat (limited to 'launcher/ApplicationMessage.h')
-rw-r--r--launcher/ApplicationMessage.h13
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);
+};