GetChatCondition.h 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. /*
  2. ** Copyright (C) 1999 Microsoft Corporation. All Rights Reserved.
  3. **
  4. ** File: GetChatCondition.h
  5. **
  6. ** Author:
  7. **
  8. ** Description:
  9. ** Header file for the training library "GetChatCondition" interface.
  10. **
  11. ** History:
  12. */
  13. #ifndef _GET_CHAT_CONDITION_H_
  14. #define _GET_CHAT_CONDITION_H_
  15. #ifndef _CONDITION_H_
  16. #include "Condition.h"
  17. #endif //_CONDITION_H_
  18. namespace Training
  19. {
  20. //------------------------------------------------------------------------------
  21. // class definitions
  22. //------------------------------------------------------------------------------
  23. class GetChatCondition : public Condition
  24. {
  25. public:
  26. /* void */ GetChatCondition (ChatTarget expectedRecipient);
  27. virtual /* void */ ~GetChatCondition (void);
  28. virtual bool Start (void);
  29. virtual bool Evaluate (void);
  30. void RecordChat (ChatTarget recipient);
  31. protected:
  32. ChatTarget m_expectedRecipient;
  33. bool m_bGotExpectedChat;
  34. };
  35. //------------------------------------------------------------------------------
  36. }
  37. #endif //_GET_CHAT_CONDITION_H_