home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / qsetup.zip / DM2TEST.CSC < prev    next >
Text File  |  1994-04-03  |  4KB  |  112 lines

  1. /*
  2.  * 
  3.  * 
  4.  *      DM2Test.CSC - DeskMan/2 setup test object.
  5.  * 
  6.  *   ┌─────────────────────────────────────────────────────────────────────┐
  7.  *   │  DM2Test object - setup string manipulation methods.                │
  8.  *   │                   Part of DeskMan/2.                                │
  9.  *   │                                                                     │
  10.  *   │  (C) Copyright 1993-1994 Development Technologies, Inc.             │
  11.  *   │      Portions Copyright 1993 Gregory Czaja                          │
  12.  *   │      All rights reserved                                            │
  13.  *   │      DeskMan, DeskMan/2, DM2Setup, VUEMan, VUEMan/2 and DM2Image    │
  14.  *   │      are trademarks of Development Technologies, Inc. (DevTech),    │
  15.  *   │      a Pennsylvania Corporation                                     │
  16.  *   │                                                                     │
  17.  *   │  version 1: initial release                          April 1994     │
  18.  *   └─────────────────────────────────────────────────────────────────────┘
  19.  */
  20. include <wpabs.sc>
  21.  
  22. class: DM2Test,
  23.        external stem   = DM2Test,
  24.        local,
  25.        external prefix = DM2TestX_,
  26.        classprefix     = DM2TestC_,
  27.        major version   = 1,
  28.        minor version   = 1,
  29.        file stem       = DM2Test;
  30.  
  31.  
  32. parent: WPAbstract;
  33.  
  34.  
  35. passthru: C.ph;
  36.                                 /* private defs for DM2Test - none */
  37. endpassthru;
  38.  
  39. passthru: C.ih;
  40.                                 /* implementation defs for DM2Test */
  41.  
  42.    #define INCL_WIN
  43.    #define INCL_DOS
  44.    #include <os2.h>
  45.  
  46.    #define INCL_WPCLASS
  47.    #include <pmwp.h>
  48.  
  49.    #include <DM2Setup.h>        /* DM2Setup methods     */
  50.                                 /* internal definitions */
  51.  
  52.    #define DM2TEST_CLASSNAME      "DM2Test"
  53.  
  54. endpassthru;
  55.  
  56. passthru: C.h, after;
  57. endpassthru;
  58.  
  59. passthru: C.c, before
  60.    #pragma checkout(suspend)
  61. endpassthru;
  62. passthru: C.c, after;
  63.    #pragma checkout(resume)
  64. endpassthru;
  65.  
  66. data:
  67.  
  68. CHAR  myData;
  69.  
  70. methods:
  71.  
  72. #/*====================================================================*/
  73. #/*                                                                    */
  74. #/* Add our universal private methods                                  */
  75. #/*                                                                    */
  76. #/*====================================================================*/
  77.  
  78.                    /* new DeskMan/2 setup interface */
  79.  
  80. APIRET DeskMan2QuerySetup(WPObject * setupObject);
  81.  
  82. #/*====================================================================*/
  83. #/*                                                                    */
  84. #/* Override object customization methods                              */
  85. #/*                                                                    */
  86. #/*====================================================================*/
  87.  
  88.     override wpSetup;
  89.  
  90. #/*====================================================================*/
  91. #/*                                                                    */
  92. #/* Override menu customization and selection methods                  */
  93. #/*                                                                    */
  94. #/*====================================================================*/
  95.     override wpModifyPopupMenu;
  96.  
  97.     override wpMenuItemSelected;
  98.  
  99.     override wpAddObjectWindowPage;
  100. #/*====================================================================*/
  101. #/*                                                                    */
  102. #/* Override class methods                                             */
  103. #/*                                                                    */
  104. #/*====================================================================*/
  105.     override wpclsInitData, class;
  106.  
  107.     override wpclsUnInitData, class;
  108.  
  109.     override wpclsQueryIconData, class;
  110.  
  111.     override wpclsQueryTitle, class;
  112.