messageaction.h 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. /*
  2. ** Copyright (C) 1999 Microsoft Corporation. All Rights Reserved.
  3. **
  4. ** File: messageaction.h
  5. **
  6. ** Author:
  7. **
  8. ** Description:
  9. ** Header file for the training library "messageaction" interface.
  10. **
  11. ** History:
  12. */
  13. #ifndef _MESSAGE_ACTION_H_
  14. #define _MESSAGE_ACTION_H_
  15. #ifndef _ACTION_H_
  16. #include "Action.h"
  17. #endif// _ACTION_H_
  18. namespace Training
  19. {
  20. //------------------------------------------------------------------------------
  21. // class definitions
  22. //------------------------------------------------------------------------------
  23. class MessageAction : public Action
  24. {
  25. public:
  26. /* void */ MessageAction (void);
  27. /* void */ MessageAction (const ZString message);
  28. virtual /* void */ ~MessageAction (void);
  29. virtual void Execute (void);
  30. void AddMessage (const ZString message);
  31. protected:
  32. std::list<ZString> m_messageList;
  33. std::list<ZString>::iterator m_iterator;
  34. };
  35. //------------------------------------------------------------------------------
  36. }
  37. #endif //_MESSAGE_ACTION_H_