1#ifndef HEADER_CONSOLEINTERFACE_COMMAND
2#define HEADER_CONSOLEINTERFACE_COMMAND
20 Command(
const char* nameInMenu,
void (*exec)());
24 const char* get_nameInMenu()
const;
Stores a 256 character name and a function pointer to be executed when calling run()
Definition: Command.h:12
Command()
Leaves name empty and exec function pointer to nullptr.
Definition: Command.cpp:4
void run() const
Executes the stored function pointer.
Definition: Command.cpp:17