home *** CD-ROM | disk | FTP | other *** search
/ The Developer Connection…ice Driver Kit for OS/2 3 / DEV3-D1.ISO / devtools / toolkt21 / c / os2h / wpspneed.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-05-01  |  4.7 KB  |  181 lines

  1.  
  2. /*
  3.  * This file was generated by the SOM Compiler.
  4.  * FileName: wpspneed.h.
  5.  * Generated using:
  6.  *     SOM Precompiler spc: 1.22
  7.  *     SOM Emitter emith: 1.11
  8.  */
  9.  
  10. /*
  11.  * 
  12.  *  Module Header
  13.  * 
  14.  *  Module Name: WPSPNEED
  15.  * 
  16.  *  OS/2 Presentation Manager Workplace class definitions
  17.  * 
  18.  *  Copyright (c) International Business Machines Corporation 1991, 1992
  19.  * 
  20.  */
  21.  
  22.  
  23. #ifndef wpspneed_h
  24. #define wpspneed_h
  25.  
  26.  
  27. #include <som.h>
  28.  
  29. /*
  30.  * Define the class name as an object type
  31.  */
  32. #ifndef WPSpecialNeeds
  33. #define WPSpecialNeeds SOMAny
  34. #endif
  35. #include "wpabs.h"
  36.  
  37. #define WPSpecialNeeds_MajorVersion 1
  38. #define WPSpecialNeeds_MinorVersion 2
  39.  
  40. /*
  41.  * External name shortening if required
  42.  */
  43. #ifdef SOM_USE_SHORT_EXTERNAL_NAMES
  44. #define WPSpecialNeedsNewClass wpspnc
  45. #pragma linkage(wpspnc, system)
  46. #define WPSpecialNeedsClassData wpspnd
  47. #define WPSpecialNeedsCClassData wpspnx
  48. #endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
  49. /*--------------Migration------------*/
  50. #define WPSpecialNeeds_classObj WPSpecialNeedsClassData.classObject
  51. #define _WPSpecialNeeds WPSpecialNeeds_classObj
  52.  
  53. /*
  54.  * New and Renew macros for WPSpecialNeeds
  55.  */
  56. #define _WPSpecialNeedsNew() (_somNew(WPSpecialNeedsClassData.classObject))
  57. #define WPSpecialNeedsNew() \
  58.     ( WPSpecialNeedsClassData.classObject \
  59.         ? _WPSpecialNeedsNew() \
  60.         : ( WPSpecialNeedsNewClass(WPSpecialNeeds_MajorVersion, WPSpecialNeeds_MinorVersion), _WPSpecialNeedsNew() ) )
  61. #define WPSpecialNeedsRenew(buf) \
  62.     ( _somRenew(WPSpecialNeedsClassData.classObject, buf) )
  63.  
  64. /*
  65.  * Override method: wpFilterPopupMenu
  66.  */
  67. #define WPSpecialNeeds_wpFilterPopupMenu(somSelf,ulFlags,hwndCnr,fMultiSelect) \
  68.     WPObject_wpFilterPopupMenu(somSelf,ulFlags,hwndCnr,fMultiSelect)
  69.  
  70. /*
  71.  * Declare the class creation procedure
  72.  */
  73. SOMEXTERN SOMAny * SOMLINK WPSpecialNeedsNewClass(integer4 scemajorVersion,
  74.         integer4 sceminorVersion);
  75. #pragma linkage(WPSpecialNeedsNewClass, system)
  76.  
  77. /*
  78.  * Declare the class data structure
  79.  */
  80. SOMEXTERN struct WPSpecialNeedsClassDataStructure {
  81.     SOMAny *classObject;
  82. } WPSpecialNeedsClassData;
  83.  
  84. /*
  85.  * Declare the C specific class data structure
  86.  */
  87. SOMEXTERN struct WPSpecialNeedsCClassDataStructure {
  88.     somMethodTab *parentMtab;
  89.     somDToken instanceDataToken;
  90. } WPSpecialNeedsCClassData;
  91.  
  92. #endif       /* wpspneed_h */
  93.  
  94. /*
  95.  * This file was generated by the SOM Compiler.
  96.  * FileName: wpspneed.h.
  97.  * Generated using:
  98.  *     SOM Precompiler spc: 1.22
  99.  *     SOM Emitter emith: 1.11
  100.  */
  101.  
  102. #ifndef wpspneed_mh
  103. #define wpspneed_mh
  104.  
  105.  
  106. /*
  107.  * Define the class name as an object type
  108.  */
  109. #ifndef M_WPSpecialNeeds
  110. #define M_WPSpecialNeeds SOMAny
  111. #endif
  112.  
  113. #define M_WPSpecialNeeds_MajorVersion 1
  114. #define M_WPSpecialNeeds_MinorVersion 2
  115.  
  116. /*
  117.  * External name shortening if required
  118.  */
  119. #ifdef SOM_USE_SHORT_EXTERNAL_NAMES
  120. #define M_WPSpecialNeedsNewClass wpspnc
  121. #pragma linkage(wpspnc, system)
  122. #define M_WPSpecialNeedsClassData wpspnd
  123. #define M_WPSpecialNeedsCClassData wpspnx
  124. #endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
  125. /*--------------Migration------------*/
  126. #define M_WPSpecialNeeds_classObj M_WPSpecialNeedsClassData.classObject
  127. #define _M_WPSpecialNeeds M_WPSpecialNeeds_classObj
  128.  
  129. /*
  130.  * New and Renew macros for M_WPSpecialNeeds
  131.  */
  132. #define _M_WPSpecialNeedsNew() (_somNew(M_WPSpecialNeedsClassData.classObject))
  133. #define M_WPSpecialNeedsNew() \
  134.     ( M_WPSpecialNeedsClassData.classObject \
  135.         ? _M_WPSpecialNeedsNew() \
  136.         : ( M_WPSpecialNeedsNewClass(M_WPSpecialNeeds_MajorVersion, M_WPSpecialNeeds_MinorVersion), _M_WPSpecialNeedsNew() ) )
  137. #define M_WPSpecialNeedsRenew(buf) \
  138.     ( _somRenew(M_WPSpecialNeedsClassData.classObject, buf) )
  139.  
  140. /*
  141.  * Override method: wpclsQueryIconData
  142.  */
  143. #define M_WPSpecialNeeds_wpclsQueryIconData(somSelf,pIconInfo) \
  144.     M_WPObject_wpclsQueryIconData(somSelf,pIconInfo)
  145.  
  146. /*
  147.  * Override method: wpclsQueryDefaultHelp
  148.  */
  149. #define M_WPSpecialNeeds_wpclsQueryDefaultHelp(somSelf,pHelpPanelId,pszHelpLibrary) \
  150.     M_WPObject_wpclsQueryDefaultHelp(somSelf,pHelpPanelId,pszHelpLibrary)
  151.  
  152. /*
  153.  * Override method: wpclsQueryTitle
  154.  */
  155. #define M_WPSpecialNeeds_wpclsQueryTitle(somSelf) \
  156.     M_WPObject_wpclsQueryTitle(somSelf)
  157.  
  158. /*
  159.  * Declare the class creation procedure
  160.  */
  161. SOMEXTERN SOMAny * SOMLINK M_WPSpecialNeedsNewClass(integer4 scemajorVersion,
  162.         integer4 sceminorVersion);
  163. #pragma linkage(M_WPSpecialNeedsNewClass, system)
  164.  
  165. /*
  166.  * Declare the class data structure
  167.  */
  168. SOMEXTERN struct M_WPSpecialNeedsClassDataStructure {
  169.     SOMAny *classObject;
  170. } M_WPSpecialNeedsClassData;
  171.  
  172. /*
  173.  * Declare the C specific class data structure
  174.  */
  175. SOMEXTERN struct M_WPSpecialNeedsCClassDataStructure {
  176.     somMethodTab *parentMtab;
  177.     somDToken instanceDataToken;
  178. } M_WPSpecialNeedsCClassData;
  179.  
  180. #endif       /* wpspneed_h */
  181.