diff options
Diffstat (limited to 'src/command.hpp')
| -rw-r--r-- | src/command.hpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/command.hpp b/src/command.hpp index 5fac065..37afaae 100644 --- a/src/command.hpp +++ b/src/command.hpp @@ -9,23 +9,23 @@ namespace wanda { -enum struct command_id : char -{ + enum struct command_id : char + { change, -}; + }; -struct command -{ + struct command + { command_id const id; std::vector<std::string> const arguments; std::optional<wanda::message> message() const; -}; + }; -std::optional<command> make_command(message message); + std::optional<command> make_command(message message); -command make_change_command(); + command make_change_command(); -} // namespace wanda +} // namespace wanda #endif
\ No newline at end of file |
