aboutsummaryrefslogtreecommitdiff
path: root/src/command.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/command.hpp')
-rw-r--r--src/command.hpp26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/command.hpp b/src/command.hpp
new file mode 100644
index 0000000..f4d7b31
--- /dev/null
+++ b/src/command.hpp
@@ -0,0 +1,26 @@
+#ifndef WANDA_COMMAND_HPP
+#define WANDA_COMMAND_HPP
+
+#include "message.hpp"
+
+#include <optional>
+#include <string>
+#include <vector>
+
+namespace wanda
+{
+enum struct command_id : char
+{
+ change,
+};
+
+struct command
+{
+ command_id const id;
+ std::vector<std::string> const arguments;
+
+ std::optional<wanda::message> message() const;
+};
+} // namespace wanda
+
+#endif \ No newline at end of file