aboutsummaryrefslogtreecommitdiff
path: root/include/CommandParser.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/CommandParser.hpp')
-rw-r--r--include/CommandParser.hpp9
1 files changed, 3 insertions, 6 deletions
diff --git a/include/CommandParser.hpp b/include/CommandParser.hpp
index 128b5f4..dea04c5 100644
--- a/include/CommandParser.hpp
+++ b/include/CommandParser.hpp
@@ -12,13 +12,10 @@ enum CommandType {
TabPrev,
};
-class Cmd {
-public:
+struct Cmd {
CommandType command;
- QStringList args;
-
- Cmd(CommandType command = Noop, QStringList args = QStringList())
- : command(command), args(args) {}
+ QString argsString;
+ QString rawInput;
};
class CommandParser {