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

  1. /******************************************************************************
  2. *                         ** Company Confidential **
  3. *                  ** Copyright 1994, All rights Reserved **
  4. * %Z%%M% version %I% date:%G%
  5. ******************************************************************************/
  6.  
  7. // -MQBeg- [Module_Includes] [cxvtttdc_cc] <00000028.00000000> Retained!
  8. #include "PwrDef.h"
  9. #include "AppDef.h"
  10. #include CTypeInfo_i
  11. #include CDocument_i
  12. #include CWindow_i
  13.  
  14. #include "ttteng.h"
  15. #include "tttdisp.h"
  16. #include "tttcont.h"
  17.  
  18. #include XVTTTT_i
  19. #include CXVTTTTDoc_i
  20. #include CXVTTTTWin_i
  21. // -MQEnd- [Module_Includes] [cxvtttdc_cc] <00000028.00000000> 
  22.  
  23. // -MQBeg- [Module_Declarations_1] [cxvtttdc_cc] <00000028.00000000> Retained!
  24. // -MQEnd- [Module_Declarations_1] [cxvtttdc_cc] <00000028.00000000> 
  25.  
  26. // -MQBeg- [Class_Body] [CXVTTTTDoc] <00000000.00000009> 
  27. /******************************************************************************
  28.                                   CXVTTTTDoc
  29. ******************************************************************************/
  30.  
  31. CXVTTTTDoc::CXVTTTTDoc(CApplication *theApplication, int theId)
  32. // -MQBeg- [Op_Init] [CXVTTTTDoc::CXVTTTTDoc] <00000030.00000023> Retained!
  33.   : CDocument(theApplication,theId)
  34. // -MQEnd- [Op_Init] [CXVTTTTDoc::CXVTTTTDoc] <00000030.00000023> 
  35. {
  36. // -MQBeg- [Op_Body] [CXVTTTTDoc::CXVTTTTDoc] <00000030.00000023> Retained!
  37. // -MQEnd- [Op_Body] [CXVTTTTDoc::CXVTTTTDoc] <00000030.00000023> 
  38. }
  39.  
  40. void
  41. CXVTTTTDoc::BuildWindow(void)
  42. {
  43. // -MQBeg- [Op_Body] [CXVTTTTDoc::BuildWindow] <00000030.00000024> Retained!
  44.   new CXVTTTTWin(new TTT_Engine, this, CRect(20,40,20+SW_SIZE*5,40+SW_SIZE*5),
  45.                  "Tic-Tac-Toe", WSF_CLOSE|WSF_SIZE|WSF_ICONIZABLE);
  46. // -MQEnd- [Op_Body] [CXVTTTTDoc::BuildWindow] <00000030.00000024> 
  47. }
  48.  
  49. // -MQEnd- [Class_Body] [CXVTTTTDoc] <00000000.00000009> 
  50.  
  51. // -MQBeg- [Module_Declarations_2] [cxvtttdc_cc] <00000028.00000000> Retained!
  52. // -MQEnd- [Module_Declarations_2] [cxvtttdc_cc] <00000028.00000000> 
  53.