home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / scase.zip / SCASE.Z / STDIOCTR.H < prev    next >
C/C++ Source or Header  |  1994-10-17  |  2KB  |  42 lines

  1. #ifndef stdioctr_h_included  
  2. #define stdioctr_h_included  
  3. /******************************************************************************
  4. *                         ** Company Confidential **
  5. *                  ** Copyright 1994, All rights Reserved **
  6. * %Z%%M% version %I% date:%G%
  7. ******************************************************************************/
  8.  
  9. // -MQBeg- [Module_Includes] [stdioctr_h] <0000001B.00000000> Retained!
  10. // -MQEnd- [Module_Includes] [stdioctr_h] <0000001B.00000000> 
  11.  
  12. // -MQBeg- [Module_Declarations_1] [stdioctr_h] <0000001B.00000000> Retained!
  13. // -MQEnd- [Module_Declarations_1] [stdioctr_h] <0000001B.00000000> 
  14.  
  15. // -MQBeg- [Class_Spec] [TTT_StdioController] <00000000.00000007> 
  16. /******************************************************************************
  17. TTT_StdioController:
  18. Implements TTT with keyboard events.
  19. ******************************************************************************/
  20. class TTT_StdioController  : public TTT_Controller 
  21. {
  22. // -MQBeg- [Declarations_1] [TTT_StdioController] <00000000.00000007> Retained!
  23. // -MQEnd- [Declarations_1] [TTT_StdioController] <00000000.00000007> 
  24. public:
  25.   // Provide an engine and a display during construction.
  26.   TTT_StdioController(TTT_Engine *Engine, TTT_Display *Disp);
  27.   // Start game and provide an event loop.
  28.   virtual void Start();
  29. private:
  30.   // Get events from user. If it is a move event, Cell will tell where.
  31.   TTT_Controller::TTT_EVENT GetUserEvent(int& Cell);
  32. // -MQBeg- [Declarations_2] [TTT_StdioController] <00000000.00000007> Retained!
  33. // -MQEnd- [Declarations_2] [TTT_StdioController] <00000000.00000007> 
  34. };
  35.  
  36. // -MQEnd- [Class_Spec] [TTT_StdioController] <00000000.00000007> 
  37.  
  38. // -MQBeg- [Module_Declarations_2] [stdioctr_h] <0000001B.00000000> Retained!
  39. // -MQEnd- [Module_Declarations_2] [stdioctr_h] <0000001B.00000000> 
  40.  
  41. #endif
  42.