diff options
| author | BossCode45 <human.cyborg42@gmail.com> | 2023-08-24 12:58:40 +1200 |
|---|---|---|
| committer | BossCode45 <human.cyborg42@gmail.com> | 2023-08-24 12:58:40 +1200 |
| commit | 6b5c246a431dcaff119833724137f0716fa2a002 (patch) | |
| tree | 99ced8d93809cf675b55ea683f28f847e84d9722 /commands.h | |
| parent | 87b7f6c47d8eab8bfe7f126652a88939aac58a6a (diff) | |
| parent | d22b5d2363ed8a90960446a209482180f6d27fc0 (diff) | |
| download | YATwm-6b5c246a431dcaff119833724137f0716fa2a002.tar.gz YATwm-6b5c246a431dcaff119833724137f0716fa2a002.zip | |
Merge branch 'keybind-refactor'
Diffstat (limited to 'commands.h')
| -rw-r--r-- | commands.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -51,6 +51,7 @@ private: std::vector<Command> commandList; std::vector<std::string> splitCommand(std::string command); CommandArg* getCommandArgs(std::vector<std::string>& args, const CommandArgType* argTypes, const int argc); + const void echo(const CommandArg* argv); public: CommandsModule(); ~CommandsModule(); @@ -63,7 +64,9 @@ public: void addCommand(Command c); Command* lookupCommand(std::string name); void runCommand(std::string command); - Err checkCommand(std::string command); + void runCommand(std::vector<std::string> split); + std::vector<Err> checkCommand(std::string command); + Err checkCommand(std::vector<std::string> split); }; // YES I KNOW THIS IS BAD |
