home *** CD-ROM | disk | FTP | other *** search
/ The Developer Connection…ice Driver Kit for OS/2 3 / DEV3-D1.ISO / devtools / os2tk21j / c / os2h / wpbitmap.h__ / wpbitmap.h
Encoding:
C/C++ Source or Header  |  1993-04-26  |  4.6 KB  |  193 lines

  1.  
  2. /*
  3.  * This file was generated by the SOM Compiler.
  4.  * FileName: wpbitmap.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: WPBITMAP
  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 wpbitmap_h
  24. #define wpbitmap_h
  25.  
  26.  
  27. #include <som.h>
  28.  
  29. /*
  30.  * Define the class name as an object type
  31.  */
  32. #ifndef WPBitmap
  33. #define WPBitmap SOMAny
  34. #endif
  35. #include "wpdataf.h"
  36.  
  37. #define WPBitmap_MajorVersion 1
  38. #define WPBitmap_MinorVersion 2
  39.  
  40. /*
  41.  * External name shortening if required
  42.  */
  43. #ifdef SOM_USE_SHORT_EXTERNAL_NAMES
  44. #define WPBitmapNewClass wpbmpc
  45. #pragma linkage(wpbmpc, system)
  46. #define WPBitmapClassData wpbmpd
  47. #define WPBitmapCClassData wpbmpx
  48. #endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
  49. /*--------------Migration------------*/
  50. #define WPBitmap_classObj WPBitmapClassData.classObject
  51. #define _WPBitmap WPBitmap_classObj
  52.  
  53. /*
  54.  * New and Renew macros for WPBitmap
  55.  */
  56. #define _WPBitmapNew() (_somNew(WPBitmapClassData.classObject))
  57. #define WPBitmapNew() \
  58.     ( WPBitmapClassData.classObject \
  59.         ? _WPBitmapNew() \
  60.         : ( WPBitmapNewClass(WPBitmap_MajorVersion, WPBitmap_MinorVersion), _WPBitmapNew() ) )
  61. #define WPBitmapRenew(buf) \
  62.     ( _somRenew(WPBitmapClassData.classObject, buf) )
  63.  
  64. /*
  65.  * Override method: wpSetup
  66.  */
  67. #define WPBitmap_wpSetup(somSelf,pszSetupString) \
  68.     WPObject_wpSetup(somSelf,pszSetupString)
  69.  
  70. /*
  71.  * Declare the class creation procedure
  72.  */
  73. SOMEXTERN SOMAny * SOMLINK WPBitmapNewClass(integer4 scemajorVersion,
  74.         integer4 sceminorVersion);
  75. #pragma linkage(WPBitmapNewClass, system)
  76.  
  77. /*
  78.  * Declare the class data structure
  79.  */
  80. SOMEXTERN struct WPBitmapClassDataStructure {
  81.     SOMAny *classObject;
  82. } WPBitmapClassData;
  83.  
  84. /*
  85.  * Declare the C specific class data structure
  86.  */
  87. SOMEXTERN struct WPBitmapCClassDataStructure {
  88.     somMethodTab *parentMtab;
  89.     somDToken instanceDataToken;
  90. } WPBitmapCClassData;
  91.  
  92. #endif       /* wpbitmap_h */
  93.  
  94. /*
  95.  * This file was generated by the SOM Compiler.
  96.  * FileName: wpbitmap.h.
  97.  * Generated using:
  98.  *     SOM Precompiler spc: 1.22
  99.  *     SOM Emitter emith: 1.11
  100.  */
  101.  
  102. #ifndef wpbitmap_mh
  103. #define wpbitmap_mh
  104.  
  105.  
  106. /*
  107.  * Define the class name as an object type
  108.  */
  109. #ifndef M_WPBitmap
  110. #define M_WPBitmap SOMAny
  111. #endif
  112.  
  113. #define M_WPBitmap_MajorVersion 1
  114. #define M_WPBitmap_MinorVersion 2
  115.  
  116. /*
  117.  * External name shortening if required
  118.  */
  119. #ifdef SOM_USE_SHORT_EXTERNAL_NAMES
  120. #define M_WPBitmapNewClass wpbmpc
  121. #pragma linkage(wpbmpc, system)
  122. #define M_WPBitmapClassData wpbmpd
  123. #define M_WPBitmapCClassData wpbmpx
  124. #endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
  125. /*--------------Migration------------*/
  126. #define M_WPBitmap_classObj M_WPBitmapClassData.classObject
  127. #define _M_WPBitmap M_WPBitmap_classObj
  128.  
  129. /*
  130.  * New and Renew macros for M_WPBitmap
  131.  */
  132. #define _M_WPBitmapNew() (_somNew(M_WPBitmapClassData.classObject))
  133. #define M_WPBitmapNew() \
  134.     ( M_WPBitmapClassData.classObject \
  135.         ? _M_WPBitmapNew() \
  136.         : ( M_WPBitmapNewClass(M_WPBitmap_MajorVersion, M_WPBitmap_MinorVersion), _M_WPBitmapNew() ) )
  137. #define M_WPBitmapRenew(buf) \
  138.     ( _somRenew(M_WPBitmapClassData.classObject, buf) )
  139.  
  140. /*
  141.  * Override method: wpclsQueryInstanceFilter
  142.  */
  143. #define M_WPBitmap_wpclsQueryInstanceFilter(somSelf) \
  144.     M_WPFileSystem_wpclsQueryInstanceFilter(somSelf)
  145.  
  146. /*
  147.  * Override method: wpclsQueryInstanceType
  148.  */
  149. #define M_WPBitmap_wpclsQueryInstanceType(somSelf) \
  150.     M_WPFileSystem_wpclsQueryInstanceType(somSelf)
  151.  
  152. /*
  153.  * Override method: wpclsInitData
  154.  */
  155. #define M_WPBitmap_wpclsInitData(somSelf) \
  156.     M_WPObject_wpclsInitData(somSelf)
  157.  
  158. /*
  159.  * Override method: wpclsQueryTitle
  160.  */
  161. #define M_WPBitmap_wpclsQueryTitle(somSelf) \
  162.     M_WPObject_wpclsQueryTitle(somSelf)
  163.  
  164. /*
  165.  * Override method: wpclsQueryDefaultHelp
  166.  */
  167. #define M_WPBitmap_wpclsQueryDefaultHelp(somSelf,pHelpPanelId,pszHelpLibrary) \
  168.     M_WPObject_wpclsQueryDefaultHelp(somSelf,pHelpPanelId,pszHelpLibrary)
  169.  
  170. /*
  171.  * Declare the class creation procedure
  172.  */
  173. SOMEXTERN SOMAny * SOMLINK M_WPBitmapNewClass(integer4 scemajorVersion,
  174.         integer4 sceminorVersion);
  175. #pragma linkage(M_WPBitmapNewClass, system)
  176.  
  177. /*
  178.  * Declare the class data structure
  179.  */
  180. SOMEXTERN struct M_WPBitmapClassDataStructure {
  181.     SOMAny *classObject;
  182. } M_WPBitmapClassData;
  183.  
  184. /*
  185.  * Declare the C specific class data structure
  186.  */
  187. SOMEXTERN struct M_WPBitmapCClassDataStructure {
  188.     somMethodTab *parentMtab;
  189.     somDToken instanceDataToken;
  190. } M_WPBitmapCClassData;
  191.  
  192. #endif       /* wpbitmap_h */
  193.