ExitCommand.h 580 B

1234567891011121314151617181920
  1. #pragma once
  2. #include <Console.h>
  3. class ExitCommand : public Framework::ConsoleCommand
  4. {
  5. public:
  6. ExitCommand();
  7. void addAutocompletePossibilities(
  8. const Framework::RCArray<Framework::Text>& args,
  9. bool appendToLast,
  10. Framework::RCArray<Framework::Text>& possibilities) const override;
  11. /**
  12. * executes the command
  13. *
  14. * \param args the arguments that the user has passed to the command
  15. * \return true if the command was executed successfully
  16. */
  17. bool execute(Framework::RCArray<Framework::Text>& args) const override;
  18. };