Open Source Tomb Raider Engine
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

CommandSet.h 571B

123456789101112131415161718192021222324252627282930
  1. /*!
  2. * \file include/commands/CommandSet.h
  3. * \brief Set Command interface
  4. *
  5. * \author xythobuz
  6. */
  7. #ifndef _COMMAND_SET_H_
  8. #define _COMMAND_SET_H_
  9. #include "commands/Command.h"
  10. class CommandSet : public Command {
  11. public:
  12. virtual std::string name();
  13. virtual std::string brief();
  14. virtual void printHelp();
  15. virtual int execute(std::istream& args);
  16. };
  17. class CommandGet : public Command {
  18. public:
  19. virtual std::string name();
  20. virtual std::string brief();
  21. virtual void printHelp();
  22. virtual int execute(std::istream& args);
  23. };
  24. #endif