userioman.h 578 B

123456789101112131415161718192021222324252627282930
  1. #ifndef USERIOMAN_H
  2. #define USERIOMAN_H
  3. #include "ioman.h"
  4. /**
  5. * @class UserIoMan
  6. *
  7. * Provides specific implementations of IoMan outputs and prompts
  8. * for interactive user sessions
  9. */
  10. class UserIoMan : public IoMan {
  11. public:
  12. using IoMan::IoMan;
  13. /**
  14. * Specific implementations for printing messages
  15. */
  16. void printMessage(std::string msg, OutMsgType type);
  17. void printWelcomeMessage();
  18. /**
  19. * Return the specific prompt strings for IoMan prompts
  20. */
  21. std::string getCmdPrompt();
  22. std::string getUserPrompt();
  23. std::string getPassPrompt();
  24. };
  25. #endif