diff options
| author | Akshay Nair <phenax5@gmail.com> | 2025-03-23 19:48:53 +0530 |
|---|---|---|
| committer | Akshay Nair <phenax5@gmail.com> | 2025-03-23 21:47:03 +0530 |
| commit | 346c16b4e2ea26f47e0e370a490b7794492a9ebb (patch) | |
| tree | 277a30ac8b0c82a9c9736985385d0d150a55fcb5 /src/CommandParser.hpp | |
| parent | 9cc72e8ea9f59f9a9627d05528d54a559ebd412c (diff) | |
| download | null-browser-346c16b4e2ea26f47e0e370a490b7794492a9ebb.tar.gz null-browser-346c16b4e2ea26f47e0e370a490b7794492a9ebb.zip | |
Apply clang-tidy suggestions
Diffstat (limited to 'src/CommandParser.hpp')
| -rw-r--r-- | src/CommandParser.hpp | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/src/CommandParser.hpp b/src/CommandParser.hpp deleted file mode 100644 index 9197df5..0000000 --- a/src/CommandParser.hpp +++ /dev/null @@ -1,29 +0,0 @@ -#pragma once - -#include <QtCore/qcontainerfwd.h> -#include <QtCore> - -enum CommandType { - Noop, - LuaEval, - Open, - TabOpen, - TabNext, - TabPrev, - TabSelect, -}; - -struct Cmd { - CommandType command; - QString argsString; - QString rawInput; -}; - -class CommandParser { -public: - CommandParser(); - Cmd parse(QString command); - -private: - CommandType toCommandType(QString cmd); -}; |
