home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / wpentk.zip / WBPENTK4.DSK / IDMCOLL.H < prev    next >
C/C++ Source or Header  |  1994-10-07  |  6KB  |  164 lines

  1.  
  2. /*
  3.  * This file was generated by the SOM Compiler.
  4.  * FileName: ..\..\pentkt\h\idmcoll.h.
  5.  * Generated using:
  6.  *     SOM Precompiler somipc: 2.7
  7.  *     SOM Emitter emith: 2.22
  8.  */
  9.  
  10. /*
  11.  * 
  12.  *   idmcoll.idl
  13.  * 
  14.  *   CLASS: IDMCollectResult
  15.  * 
  16.  *   CLASS HIERARCHY:
  17.  * 
  18.  *      SOMObject
  19.  *        └── IDMResult
  20.  *              └── IDMCollectResult
  21.  * 
  22.  *   DESCRIPTION:
  23.  * 
  24.  *      Input Data Collection class.
  25.  * 
  26.  */
  27.  
  28.  
  29. #ifndef SOM_IDMCollectResult_h
  30. #define SOM_IDMCollectResult_h
  31.  
  32.  
  33. #include <som.h>
  34.  
  35. /*
  36.  * -- This emitter treats Method Tokens as Thunks by default
  37.  * -- Use the sc modifier "nothunks" to change this default
  38.  */
  39. #undef somresolve_
  40. #define somresolve_(obj,mToken) ((somMethodProc*)((void)obj, mToken))
  41.  
  42. /*
  43.  * Define the class name as an object type
  44.  */
  45. #ifndef IDMCollectResult
  46. #define IDMCollectResult SOMObject
  47. #endif
  48. #include <idmres.h>
  49.  
  50. /*
  51.  * Start of user-defined types:
  52.  */
  53. #ifndef SOMClass
  54.     #define SOMClass SOMObject
  55. #endif /* SOMClass */
  56. #ifndef SOMObject
  57.     #define SOMObject SOMObject
  58. #endif /* SOMObject */
  59. #ifndef IDMResult
  60.     #define IDMResult SOMObject
  61. #endif /* IDMResult */
  62. #ifndef IDMObject
  63.     #define IDMObject SOMObject
  64. #endif /* IDMObject */
  65.  
  66. /*
  67.  * End of user-defined types.
  68.  */
  69.  
  70. #define IDMCollectResult_MajorVersion 0
  71. #define IDMCollectResult_MinorVersion 0
  72.  
  73. /*
  74.  * External name shortening if required
  75.  */
  76. #ifdef SOM_USE_SHORT_EXTERNAL_NAMES
  77. #define IDMCollectResultNewClass c
  78. #pragma linkage(c, system)
  79. #define IDMCollectResultClassData d
  80. #define IDMCollectResultCClassData x
  81. #endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
  82. /*--------------Migration------------*/
  83. #define IDMCollectResult_classObj IDMCollectResultClassData.classObject
  84. #define _IDMCollectResult IDMCollectResult_classObj
  85.  
  86. /*
  87.  * Declare the class creation procedure
  88.  */
  89. SOMEXTERN SOMClass * SOMLINK IDMCollectResultNewClass(integer4 somtmajorVersion,
  90.         integer4 somtminorVersion);
  91. #pragma linkage(IDMCollectResultNewClass, system)
  92.  
  93. /*
  94.  * Declare the class data structure
  95.  */
  96. SOMEXTERN struct IDMCollectResultClassDataStructure {
  97.     SOMAny *classObject;
  98.     somMToken idmresGetStrokeType;
  99. } IDMCollectResultClassData;
  100.  
  101. /*
  102.  * Declare the C specific class data structure
  103.  */
  104. SOMEXTERN struct IDMCollectResultCClassDataStructure {
  105.     somMethodTabs parentMtab;
  106.     somDToken instanceDataToken;
  107. } IDMCollectResultCClassData;
  108.  
  109. /*
  110.  * New and Renew macros for IDMCollectResult
  111.  */
  112. #define IDMCollectResultNew() \
  113.     ( IDMCollectResultClassData.classObject \
  114.         ? (_somNew(IDMCollectResultClassData.classObject)) \
  115.         : ( IDMCollectResultNewClass(IDMCollectResult_MajorVersion, IDMCollectResult_MinorVersion), (_somNew(IDMCollectResultClassData.classObject)) ) )
  116. #define IDMCollectResultRenew(buf) \
  117.     ( _somRenew(IDMCollectResultClassData.classObject, buf) )
  118.  
  119. /*
  120.  * Override method: idmresInitIdmResult
  121.  */
  122. #define IDMCollectResult_idmresInitIdmResult(somSelf,ev,idmObject) \
  123.     IDMResult_idmresInitIdmResult(somSelf,ev,idmObject)
  124. #ifndef SOM_DONT_USE_INHERITED_MACROS
  125. #define IDMCollectResult_idmresGetIDMOp IDMResult_idmresGetIDMOp
  126. #define IDMCollectResult_idmresGetHwndClient IDMResult_idmresGetHwndClient
  127. #define IDMCollectResult_idmresGetOwner IDMResult_idmresGetOwner
  128. #define IDMCollectResult_idmresGetAuxData IDMResult_idmresGetAuxData
  129. #define IDMCollectResult_idmresGetIncludeRect IDMResult_idmresGetIncludeRect
  130. #define IDMCollectResult_idmresGetNotifyFlags IDMResult_idmresGetNotifyFlags
  131. #define IDMCollectResult_idmresGetUser1 IDMResult_idmresGetUser1
  132. #define IDMCollectResult_idmresGetUser2 IDMResult_idmresGetUser2
  133. #define IDMCollectResult_idmresGetInkWidth IDMResult_idmresGetInkWidth
  134. #define IDMCollectResult_idmresGetInkingStyle IDMResult_idmresGetInkingStyle
  135. #define IDMCollectResult_somFree SOMObject_somFree
  136. #define IDMCollectResult_somDefaultInit SOMObject_somDefaultInit
  137. #define IDMCollectResult_somDefaultCopyInit SOMObject_somDefaultCopyInit
  138. #define IDMCollectResult_somDefaultConstCopyInit SOMObject_somDefaultConstCopyInit
  139. #define IDMCollectResult_somDestruct SOMObject_somDestruct
  140. #define IDMCollectResult_somDefaultAssign SOMObject_somDefaultAssign
  141. #define IDMCollectResult_somDefaultConstAssign SOMObject_somDefaultConstAssign
  142. #define IDMCollectResult_somInit SOMObject_somInit
  143. #define IDMCollectResult_somUninit SOMObject_somUninit
  144. #define IDMCollectResult_somGetClass SOMObject_somGetClass
  145. #define IDMCollectResult_somGetClassName SOMObject_somGetClassName
  146. #define IDMCollectResult_somGetSize SOMObject_somGetSize
  147. #define IDMCollectResult_somIsA SOMObject_somIsA
  148. #define IDMCollectResult_somIsInstanceOf SOMObject_somIsInstanceOf
  149. #define IDMCollectResult_somRespondsTo SOMObject_somRespondsTo
  150. #define IDMCollectResult_somDispatchV SOMObject_somDispatchV
  151. #define IDMCollectResult_somDispatchL SOMObject_somDispatchL
  152. #define IDMCollectResult_somDispatchA SOMObject_somDispatchA
  153. #define IDMCollectResult_somDispatchD SOMObject_somDispatchD
  154. #define IDMCollectResult_somDispatch SOMObject_somDispatch
  155. #define IDMCollectResult_somClassDispatch SOMObject_somClassDispatch
  156. #define IDMCollectResult_somCastObj SOMObject_somCastObj
  157. #define IDMCollectResult_somResetObj SOMObject_somResetObj
  158. #define IDMCollectResult_somPrintSelf SOMObject_somPrintSelf
  159. #define IDMCollectResult_somDumpSelf SOMObject_somDumpSelf
  160. #define IDMCollectResult_somDumpSelfInt SOMObject_somDumpSelfInt
  161. #endif /* SOM_DONT_USE_INHERITED_MACROS */
  162.  
  163. #endif       /* SOM_IDMCollectResult_h */
  164.