home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / pentlk11.zip / WPLOCPEN.H < prev    next >
C/C++ Source or Header  |  1994-01-13  |  5KB  |  188 lines

  1.  
  2. /*
  3.  * This file was generated by the SOM Compiler.
  4.  * FileName: wplocpen.h.
  5.  * Generated using:
  6.  *     SOM Precompiler spc: 1.22
  7.  *     SOM Emitter emith: 1.11
  8.  */
  9.  
  10. /*
  11.  * 
  12.  *  SCC: @(#) 96 4/16/93 19:53:12 1.6 @(#)
  13.  *  Module Header
  14.  * 
  15.  *  Module Name: WPLOCPEN
  16.  * 
  17.  *  OS/2 Presentation Manager Workplace class definitions
  18.  * 
  19.  *  Copyright (c) International Business Machines Corporation 1992
  20.  * 
  21.  */
  22.  
  23.  
  24. #ifndef wplocpen_h
  25. #define wplocpen_h
  26.  
  27.  
  28. #include <som.h>
  29.  
  30. /*
  31.  * Define the class name as an object type
  32.  */
  33. #ifndef PenLocatorPen
  34. #define PenLocatorPen SOMAny
  35. #endif
  36. #include "wplocatr.h"
  37.  
  38. #define PenLocatorPen_MajorVersion 1
  39. #define PenLocatorPen_MinorVersion 1
  40.  
  41. /*
  42.  * External name shortening if required
  43.  */
  44. #ifdef SOM_USE_SHORT_EXTERNAL_NAMES
  45. #define PenLocatorPenNewClass WPlcpc
  46. #pragma linkage(WPlcpc, system)
  47. #define PenLocatorPenClassData WPlcpd
  48. #define PenLocatorPenCClassData WPlcpx
  49. #endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
  50. /*--------------Migration------------*/
  51. #define PenLocatorPen_classObj PenLocatorPenClassData.classObject
  52. #define _PenLocatorPen PenLocatorPen_classObj
  53.  
  54. /*
  55.  * New and Renew macros for PenLocatorPen
  56.  */
  57. #define _PenLocatorPenNew() (_somNew(PenLocatorPenClassData.classObject))
  58. #define PenLocatorPenNew() \
  59.     ( PenLocatorPenClassData.classObject \
  60.         ? _PenLocatorPenNew() \
  61.         : ( PenLocatorPenNewClass(PenLocatorPen_MajorVersion, PenLocatorPen_MinorVersion), _PenLocatorPenNew() ) )
  62. #define PenLocatorPenRenew(buf) \
  63.     ( _somRenew(PenLocatorPenClassData.classObject, buf) )
  64.  
  65. /*
  66.  * Declare the class creation procedure
  67.  */
  68. SOMEXTERN SOMAny * SOMLINK PenLocatorPenNewClass(integer4 scemajorVersion,
  69.         integer4 sceminorVersion);
  70. #pragma linkage(PenLocatorPenNewClass, system)
  71.  
  72. /*
  73.  * Declare the class data structure
  74.  */
  75. SOMEXTERN struct PenLocatorPenClassDataStructure {
  76.     SOMAny *classObject;
  77. } PenLocatorPenClassData;
  78.  
  79. /*
  80.  * Declare the C specific class data structure
  81.  */
  82. SOMEXTERN struct PenLocatorPenCClassDataStructure {
  83.     somMethodTab *parentMtab;
  84.     somDToken instanceDataToken;
  85. } PenLocatorPenCClassData;
  86.  
  87. #endif       /* wplocpen_h */
  88.  
  89. /*
  90.  * This file was generated by the SOM Compiler.
  91.  * FileName: wplocpen.h.
  92.  * Generated using:
  93.  *     SOM Precompiler spc: 1.22
  94.  *     SOM Emitter emith: 1.11
  95.  */
  96.  
  97. #ifndef wplocpen_mh
  98. #define wplocpen_mh
  99.  
  100.  
  101. /*
  102.  * Define the class name as an object type
  103.  */
  104. #ifndef M_PenLocatorPen
  105. #define M_PenLocatorPen SOMAny
  106. #endif
  107.  
  108. #define M_PenLocatorPen_MajorVersion 1
  109. #define M_PenLocatorPen_MinorVersion 1
  110.  
  111. /*
  112.  * External name shortening if required
  113.  */
  114. #ifdef SOM_USE_SHORT_EXTERNAL_NAMES
  115. #define M_PenLocatorPenNewClass WPlcpc
  116. #pragma linkage(WPlcpc, system)
  117. #define M_PenLocatorPenClassData WPlcpd
  118. #define M_PenLocatorPenCClassData WPlcpx
  119. #endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
  120. /*--------------Migration------------*/
  121. #define M_PenLocatorPen_classObj M_PenLocatorPenClassData.classObject
  122. #define _M_PenLocatorPen M_PenLocatorPen_classObj
  123.  
  124. /*
  125.  * New and Renew macros for M_PenLocatorPen
  126.  */
  127. #define _M_PenLocatorPenNew() (_somNew(M_PenLocatorPenClassData.classObject))
  128. #define M_PenLocatorPenNew() \
  129.     ( M_PenLocatorPenClassData.classObject \
  130.         ? _M_PenLocatorPenNew() \
  131.         : ( M_PenLocatorPenNewClass(M_PenLocatorPen_MajorVersion, M_PenLocatorPen_MinorVersion), _M_PenLocatorPenNew() ) )
  132. #define M_PenLocatorPenRenew(buf) \
  133.     ( _somRenew(M_PenLocatorPenClassData.classObject, buf) )
  134.  
  135. /*
  136.  * Override method: wpclsQueryTitle
  137.  */
  138. #define M_PenLocatorPen_wpclsQueryTitle(somSelf) \
  139.     M_WPObject_wpclsQueryTitle(somSelf)
  140.  
  141. /*
  142.  * Override method: wpclsQueryIconData
  143.  */
  144. #define M_PenLocatorPen_wpclsQueryIconData(somSelf,pIconInfo) \
  145.     M_WPObject_wpclsQueryIconData(somSelf,pIconInfo)
  146.  
  147. /*
  148.  * Override method: wpclsQueryDefaultHelp
  149.  */
  150. #define M_PenLocatorPen_wpclsQueryDefaultHelp(somSelf,pHelpPanelId,pszHelpLibrary) \
  151.     M_WPObject_wpclsQueryDefaultHelp(somSelf,pHelpPanelId,pszHelpLibrary)
  152.  
  153. /*
  154.  * Override method: penclsQueryDefaultPause
  155.  */
  156. #define M_PenLocatorPen_penclsQueryDefaultPause(somSelf) \
  157.     M_PenLocator_penclsQueryDefaultPause(somSelf)
  158.  
  159. /*
  160.  * Override method: penclsQueryPauseEnableDefault
  161.  */
  162. #define M_PenLocatorPen_penclsQueryPauseEnableDefault(somSelf) \
  163.     M_PenLocator_penclsQueryPauseEnableDefault(somSelf)
  164.  
  165. /*
  166.  * Declare the class creation procedure
  167.  */
  168. SOMEXTERN SOMAny * SOMLINK M_PenLocatorPenNewClass(integer4 scemajorVersion,
  169.         integer4 sceminorVersion);
  170. #pragma linkage(M_PenLocatorPenNewClass, system)
  171.  
  172. /*
  173.  * Declare the class data structure
  174.  */
  175. SOMEXTERN struct M_PenLocatorPenClassDataStructure {
  176.     SOMAny *classObject;
  177. } M_PenLocatorPenClassData;
  178.  
  179. /*
  180.  * Declare the C specific class data structure
  181.  */
  182. SOMEXTERN struct M_PenLocatorPenCClassDataStructure {
  183.     somMethodTab *parentMtab;
  184.     somDToken instanceDataToken;
  185. } M_PenLocatorPenCClassData;
  186.  
  187. #endif       /* wplocpen_h */
  188.