userioman.h 407 B

1234567891011121314151617181920
  1. #ifndef USERIOMAN_H
  2. #define USERIOMAN_H
  3. #include "ioman.h"
  4. class UserIoMan : public IoMan {
  5. public:
  6. using IoMan::IoMan;
  7. bool parseJson(Json::Value *root, string jsonstring);
  8. bool handleJson(Json::Value root);
  9. void printMessage(std::string msg, OutMsgType type);
  10. void printWelcomeMessage();
  11. std::string getCmdPrompt();
  12. std::string getUserPrompt();
  13. std::string getPassPrompt();
  14. };
  15. #endif