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

  1.  
  2. /*
  3.  * This file was generated by the SOM Compiler.
  4.  * FileName: ..\..\pentkt\h\idoinker.h.
  5.  * Generated using:
  6.  *     SOM Precompiler somipc: 2.7
  7.  *     SOM Emitter emith: 2.22
  8.  */
  9.  
  10. #ifndef SOM_IDOMInker_h
  11. #define SOM_IDOMInker_h
  12.  
  13.  
  14. /*
  15.  * Passthru lines: File: "C.h", "before"
  16.  */
  17. #include <idoerror.h>            
  18. #include <idocomm.h>             
  19.  
  20. #include <som.h>
  21.  
  22. /*
  23.  * -- This emitter treats Method Tokens as Thunks by default
  24.  * -- Use the sc modifier "nothunks" to change this default
  25.  */
  26. #undef somresolve_
  27. #define somresolve_(obj,mToken) ((somMethodProc*)((void)obj, mToken))
  28.  
  29. /*
  30.  * Define the class name as an object type
  31.  */
  32. #ifndef IDOMInker
  33. #define IDOMInker SOMObject
  34. #endif
  35. #include <somcls.h>
  36.  
  37. /*
  38.  * Start of user-defined types:
  39.  */
  40. #ifndef SOMClass
  41.     #define SOMClass SOMObject
  42. #endif /* SOMClass */
  43. #ifndef SOMObject
  44.     #define SOMObject SOMObject
  45. #endif /* SOMObject */
  46. #ifndef IDOInker
  47.     #define IDOInker SOMObject
  48. #endif /* IDOInker */
  49. #ifndef IDOInkAttr
  50.     #define IDOInkAttr SOMObject
  51. #endif /* IDOInkAttr */
  52. #define ex_IDOMInker_IDO_PROB "::IDOMInker::IDO_PROB"
  53. typedef
  54. struct IDOMInker_IDO_PROB {
  55. ULONG ulErrorCode;
  56. } IDOMInker_IDO_PROB;
  57.  
  58. #ifndef SOM_DONT_USE_SHORT_NAMES
  59. #ifndef SOMTGD_ex_IDO_PROB
  60.     #ifdef ex_IDO_PROB
  61.         #undef ex_IDO_PROB
  62.         #define SOMTGD_ex_IDO_PROB 1
  63.     #else
  64.         #define ex_IDO_PROB ex_IDOMInker_IDO_PROB
  65.     #endif /* ex_IDO_PROB */
  66. #endif /* SOMTGD_ex_IDO_PROB */
  67. #ifndef SOMTGD_IDO_PROB
  68.     #ifdef IDO_PROB
  69.         #undef IDO_PROB
  70.         #define SOMTGD_IDO_PROB 1
  71.     #else
  72.         #define IDO_PROB IDOMInker_IDO_PROB
  73.     #endif /* IDO_PROB */
  74. #endif /* SOMTGD_IDO_PROB */
  75. #endif /* SOM_DONT_USE_SHORT_NAMES */
  76.  
  77. /*
  78.  * End of user-defined types.
  79.  */
  80.  
  81. #define IDOMInker_MajorVersion 0
  82. #define IDOMInker_MinorVersion 0
  83.  
  84. /*
  85.  * External name shortening if required
  86.  */
  87. #ifdef SOM_USE_SHORT_EXTERNAL_NAMES
  88. #define IDOMInkerNewClass c
  89. #pragma linkage(c, system)
  90. #define IDOMInkerClassData d
  91. #define IDOMInkerCClassData x
  92. #endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
  93. /*--------------Migration------------*/
  94. #define IDOMInker_classObj IDOMInkerClassData.classObject
  95. #define _IDOMInker IDOMInker_classObj
  96.  
  97. /*
  98.  * Declare the class creation procedure
  99.  */
  100. SOMEXTERN SOMClass * SOMLINK IDOMInkerNewClass(integer4 somtmajorVersion,
  101.         integer4 somtminorVersion);
  102. #pragma linkage(IDOMInkerNewClass, system)
  103.  
  104. /*
  105.  * Declare the class data structure
  106.  */
  107. SOMEXTERN struct IDOMInkerClassDataStructure {
  108.     SOMAny *classObject;
  109.     somMToken idoclsCreateInker;
  110. } IDOMInkerClassData;
  111.  
  112. /*
  113.  * Declare the C specific class data structure
  114.  */
  115. SOMEXTERN struct IDOMInkerCClassDataStructure {
  116.     somMethodTabs parentMtab;
  117.     somDToken instanceDataToken;
  118. } IDOMInkerCClassData;
  119.  
  120. /*
  121.  * New and Renew macros for IDOMInker
  122.  */
  123. #define IDOMInkerNew() \
  124.     ( IDOMInkerClassData.classObject \
  125.         ? (_somNew(IDOMInkerClassData.classObject)) \
  126.         : ( IDOMInkerNewClass(IDOMInker_MajorVersion, IDOMInker_MinorVersion), (_somNew(IDOMInkerClassData.classObject)) ) )
  127. #define IDOMInkerRenew(buf) \
  128.     ( _somRenew(IDOMInkerClassData.classObject, buf) )
  129.  
  130. /*
  131.  * New Method: idoclsCreateInker
  132.  */
  133. typedef IDOInker*   SOMLINK somTP_IDOMInker_idoclsCreateInker(IDOMInker *somSelf, Environment *ev,
  134.         PINKERDATA pInkerData);
  135. #pragma linkage(somTP_IDOMInker_idoclsCreateInker, system)
  136. typedef somTP_IDOMInker_idoclsCreateInker *somTD_IDOMInker_idoclsCreateInker;
  137. #define somMD_IDOMInker_idoclsCreateInker "::IDOMInker::idoclsCreateInker"
  138. #define IDOMInker_idoclsCreateInker(somSelf,ev,pInkerData) \
  139.     (SOM_Resolve(somSelf, IDOMInker, idoclsCreateInker) \
  140.     (somSelf,ev,pInkerData))
  141. #ifndef SOMGD_idoclsCreateInker
  142.     #if (defined(_idoclsCreateInker) || defined(__idoclsCreateInker))
  143.         #undef _idoclsCreateInker
  144.         #undef __idoclsCreateInker
  145.         #define SOMGD_idoclsCreateInker 1
  146.     #else
  147.         #define _idoclsCreateInker IDOMInker_idoclsCreateInker
  148.     #endif /* _idoclsCreateInker */
  149. #endif /* SOMGD_idoclsCreateInker */
  150. #ifndef SOM_DONT_USE_INHERITED_MACROS
  151. #define IDOMInker__get_somDirectInitClasses SOMClass__get_somDirectInitClasses
  152. #define IDOMInker__set_somDirectInitClasses SOMClass__set_somDirectInitClasses
  153. #define IDOMInker_somGetInstanceInitMask SOMClass_somGetInstanceInitMask
  154. #define IDOMInker_somGetInstanceDestructionMask SOMClass_somGetInstanceDestructionMask
  155. #define IDOMInker_somGetInstanceAssignmentMask SOMClass_somGetInstanceAssignmentMask
  156. #define IDOMInker_somGetInitMaskOffset SOMClass_somGetInitMaskOffset
  157. #define IDOMInker_somGetDestructionMaskOffset SOMClass_somGetDestructionMaskOffset
  158. #define IDOMInker_somAllocate SOMClass_somAllocate
  159. #define IDOMInker_somDeallocate SOMClass_somDeallocate
  160. #define IDOMInker_somNew SOMClass_somNew
  161. #define IDOMInker_somNewNoInit SOMClass_somNewNoInit
  162. #define IDOMInker_somRenew SOMClass_somRenew
  163. #define IDOMInker_somRenewNoInit SOMClass_somRenewNoInit
  164. #define IDOMInker_somRenewNoZero SOMClass_somRenewNoZero
  165. #define IDOMInker_somRenewNoInitNoZero SOMClass_somRenewNoInitNoZero
  166. #define IDOMInker_somInitClass SOMClass_somInitClass
  167. #define IDOMInker_somInitMIClass SOMClass_somInitMIClass
  168. #define IDOMInker_somAddStaticMethod SOMClass_somAddStaticMethod
  169. #define IDOMInker_somAddDynamicMethod SOMClass_somAddDynamicMethod
  170. #define IDOMInker_somClassReady SOMClass_somClassReady
  171. #define IDOMInker_somOverrideSMethod SOMClass_somOverrideSMethod
  172. #define IDOMInker_somGetApplyStub SOMClass_somGetApplyStub
  173. #define IDOMInker_somGetClassData SOMClass_somGetClassData
  174. #define IDOMInker_somSetClassData SOMClass_somSetClassData
  175. #define IDOMInker__get_somCClassData SOMClass__get_somCClassData
  176. #define IDOMInker__set_somCClassData SOMClass__set_somCClassData
  177. #define IDOMInker_somGetClassMtab SOMClass_somGetClassMtab
  178. #define IDOMInker_somGetInstanceOffset SOMClass_somGetInstanceOffset
  179. #define IDOMInker_somGetInstancePartSize SOMClass_somGetInstancePartSize
  180. #define IDOMInker_somGetInstanceSize SOMClass_somGetInstanceSize
  181. #define IDOMInker__get_somDataAlignment SOMClass__get_somDataAlignment
  182. #define IDOMInker_somGetInstanceToken SOMClass_somGetInstanceToken
  183. #define IDOMInker_somGetMemberToken SOMClass_somGetMemberToken
  184. #define IDOMInker_somGetMethodData SOMClass_somGetMethodData
  185. #define IDOMInker_somGetRdStub SOMClass_somGetRdStub
  186. #define IDOMInker_somGetMethodDescriptor SOMClass_somGetMethodDescriptor
  187. #define IDOMInker_somGetMethodIndex SOMClass_somGetMethodIndex
  188. #define IDOMInker_somGetMethodOffset SOMClass_somGetMethodOffset
  189. #define IDOMInker_somGetMethodToken SOMClass_somGetMethodToken
  190. #define IDOMInker_somGetName SOMClass_somGetName
  191. #define IDOMInker_somGetNthMethodData SOMClass_somGetNthMethodData
  192. #define IDOMInker_somGetNthMethodInfo SOMClass_somGetNthMethodInfo
  193. #define IDOMInker_somGetNumMethods SOMClass_somGetNumMethods
  194. #define IDOMInker_somGetNumStaticMethods SOMClass_somGetNumStaticMethods
  195. #define IDOMInker_somGetParent SOMClass_somGetParent
  196. #define IDOMInker_somGetParents SOMClass_somGetParents
  197. #define IDOMInker_somGetPClsMtab SOMClass_somGetPClsMtab
  198. #define IDOMInker_somGetPClsMtabs SOMClass_somGetPClsMtabs
  199. #define IDOMInker_somGetVersionNumbers SOMClass_somGetVersionNumbers
  200. #define IDOMInker_somSetMethodDescriptor SOMClass_somSetMethodDescriptor
  201. #define IDOMInker_somCheckVersion SOMClass_somCheckVersion
  202. #define IDOMInker_somDescendedFrom SOMClass_somDescendedFrom
  203. #define IDOMInker_somSupportsMethod SOMClass_somSupportsMethod
  204. #define IDOMInker_somGetClassDataEntry SOMClass_somGetClassDataEntry
  205. #define IDOMInker_somSetClassDataEntry SOMClass_somSetClassDataEntry
  206. #define IDOMInker_somDefinedMethod SOMClass_somDefinedMethod
  207. #define IDOMInker_somCastObjCls SOMClass_somCastObjCls
  208. #define IDOMInker_somResetObjCls SOMClass_somResetObjCls
  209. #define IDOMInker__get_somTrueClass SOMClass__get_somTrueClass
  210. #define IDOMInker__get_somCastedClass SOMClass__get_somCastedClass
  211. #define IDOMInker_somCloneClass SOMClass_somCloneClass
  212. #define IDOMInker_somFindMethod SOMClass_somFindMethod
  213. #define IDOMInker_somFindMethodOk SOMClass_somFindMethodOk
  214. #define IDOMInker_somFindSMethod SOMClass_somFindSMethod
  215. #define IDOMInker_somFindSMethodOk SOMClass_somFindSMethodOk
  216. #define IDOMInker_somLookupMethod SOMClass_somLookupMethod
  217. #define IDOMInker_somOverrideMtab SOMClass_somOverrideMtab
  218. #define IDOMInker__get_somInstanceDataOffsets SOMClass__get_somInstanceDataOffsets
  219. #define IDOMInker__get_somMethodOffsets SOMClass__get_somMethodOffsets
  220. #define IDOMInker_somInit SOMObject_somInit
  221. #define IDOMInker_somUninit SOMObject_somUninit
  222. #define IDOMInker_somDumpSelfInt SOMObject_somDumpSelfInt
  223. #define IDOMInker_somPrintSelf SOMObject_somPrintSelf
  224. #define IDOMInker_somFree SOMObject_somFree
  225. #define IDOMInker_somDefaultInit SOMObject_somDefaultInit
  226. #define IDOMInker_somDefaultCopyInit SOMObject_somDefaultCopyInit
  227. #define IDOMInker_somDefaultConstCopyInit SOMObject_somDefaultConstCopyInit
  228. #define IDOMInker_somDestruct SOMObject_somDestruct
  229. #define IDOMInker_somDefaultAssign SOMObject_somDefaultAssign
  230. #define IDOMInker_somDefaultConstAssign SOMObject_somDefaultConstAssign
  231. #define IDOMInker_somInit SOMObject_somInit
  232. #define IDOMInker_somUninit SOMObject_somUninit
  233. #define IDOMInker_somGetClass SOMObject_somGetClass
  234. #define IDOMInker_somGetClassName SOMObject_somGetClassName
  235. #define IDOMInker_somGetSize SOMObject_somGetSize
  236. #define IDOMInker_somIsA SOMObject_somIsA
  237. #define IDOMInker_somIsInstanceOf SOMObject_somIsInstanceOf
  238. #define IDOMInker_somRespondsTo SOMObject_somRespondsTo
  239. #define IDOMInker_somDispatchV SOMObject_somDispatchV
  240. #define IDOMInker_somDispatchL SOMObject_somDispatchL
  241. #define IDOMInker_somDispatchA SOMObject_somDispatchA
  242. #define IDOMInker_somDispatchD SOMObject_somDispatchD
  243. #define IDOMInker_somDispatch SOMObject_somDispatch
  244. #define IDOMInker_somClassDispatch SOMObject_somClassDispatch
  245. #define IDOMInker_somCastObj SOMObject_somCastObj
  246. #define IDOMInker_somResetObj SOMObject_somResetObj
  247. #define IDOMInker_somPrintSelf SOMObject_somPrintSelf
  248. #define IDOMInker_somDumpSelf SOMObject_somDumpSelf
  249. #define IDOMInker_somDumpSelfInt SOMObject_somDumpSelfInt
  250. #endif /* SOM_DONT_USE_INHERITED_MACROS */
  251.  
  252. #endif       /* SOM_IDOMInker_h */
  253.  
  254. #ifndef SOM_IDOInker_h
  255. #define SOM_IDOInker_h
  256.  
  257.  
  258. /*
  259.  * Passthru lines: File: "C.h", "before"
  260.  */
  261.  
  262.  
  263. #include <som.h>
  264.  
  265. /*
  266.  * -- This emitter treats Method Tokens as Thunks by default
  267.  * -- Use the sc modifier "nothunks" to change this default
  268.  */
  269. #undef somresolve_
  270. #define somresolve_(obj,mToken) ((somMethodProc*)((void)obj, mToken))
  271.  
  272. /*
  273.  * Define the class name as an object type
  274.  */
  275. #ifndef IDOInker
  276. #define IDOInker SOMObject
  277. #endif
  278. #include <IDOcomm.h>
  279.  
  280. /*
  281.  * Start of user-defined types:
  282.  */
  283. #define ex_IDOInker_IDO_PROB "::IDOInker::IDO_PROB"
  284. typedef
  285. struct IDOInker_IDO_PROB {
  286. ULONG ulErrorCode;
  287. } IDOInker_IDO_PROB;
  288.  
  289. #ifndef SOM_DONT_USE_SHORT_NAMES
  290. #ifndef SOMTGD_ex_IDO_PROB
  291.     #ifdef ex_IDO_PROB
  292.         #undef ex_IDO_PROB
  293.         #define SOMTGD_ex_IDO_PROB 1
  294.     #else
  295.         #define ex_IDO_PROB ex_IDOInker_IDO_PROB
  296.     #endif /* ex_IDO_PROB */
  297. #endif /* SOMTGD_ex_IDO_PROB */
  298. #ifndef SOMTGD_IDO_PROB
  299.     #ifdef IDO_PROB
  300.         #undef IDO_PROB
  301.         #define SOMTGD_IDO_PROB 1
  302.     #else
  303.         #define IDO_PROB IDOInker_IDO_PROB
  304.     #endif /* IDO_PROB */
  305. #endif /* SOMTGD_IDO_PROB */
  306. #endif /* SOM_DONT_USE_SHORT_NAMES */
  307.  
  308. /*
  309.  * End of user-defined types.
  310.  */
  311.  
  312. #define IDOInker_MajorVersion 0
  313. #define IDOInker_MinorVersion 0
  314.  
  315. /*
  316.  * External name shortening if required
  317.  */
  318. #ifdef SOM_USE_SHORT_EXTERNAL_NAMES
  319. #define IDOInkerNewClass c
  320. #pragma linkage(c, system)
  321. #define IDOInkerClassData d
  322. #define IDOInkerCClassData x
  323. #endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
  324.  
  325. /*
  326.  * Include the meta class file
  327.  */
  328. #include <idoinker.h>
  329. /*--------------Migration------------*/
  330. #define IDOInker_classObj IDOInkerClassData.classObject
  331. #define _IDOInker IDOInker_classObj
  332.  
  333. /*
  334.  * Declare the class creation procedure
  335.  */
  336. SOMEXTERN SOMClass * SOMLINK IDOInkerNewClass(integer4 somtmajorVersion,
  337.         integer4 somtminorVersion);
  338. #pragma linkage(IDOInkerNewClass, system)
  339.  
  340. /*
  341.  * Declare the class data structure
  342.  */
  343. SOMEXTERN struct IDOInkerClassDataStructure {
  344.     SOMAny *classObject;
  345.     somMToken idoSetPoint;
  346.     somMToken idoInkPoints;
  347.     somMToken idoSetHps;
  348.     somMToken idoGetHps;
  349. } IDOInkerClassData;
  350.  
  351. /*
  352.  * Declare the C specific class data structure
  353.  */
  354. SOMEXTERN struct IDOInkerCClassDataStructure {
  355.     somMethodTabs parentMtab;
  356.     somDToken instanceDataToken;
  357. } IDOInkerCClassData;
  358.  
  359. /*
  360.  * New and Renew macros for IDOInker
  361.  */
  362. #define IDOInkerNew() \
  363.     ( IDOInkerClassData.classObject \
  364.         ? (_somNew(IDOInkerClassData.classObject)) \
  365.         : ( IDOInkerNewClass(IDOInker_MajorVersion, IDOInker_MinorVersion), (_somNew(IDOInkerClassData.classObject)) ) )
  366. #define IDOInkerRenew(buf) \
  367.     ( _somRenew(IDOInkerClassData.classObject, buf) )
  368.  
  369. /*
  370.  * Override method: idoSetColor
  371.  */
  372. #define IDOInker_idoSetColor(somSelf,ev,lColor) \
  373.     IDOCommon_idoSetColor(somSelf,ev,lColor)
  374.  
  375. /*
  376.  * Override method: idoGetColor
  377.  */
  378. #define IDOInker_idoGetColor(somSelf,ev) \
  379.     IDOCommon_idoGetColor(somSelf,ev)
  380.  
  381. /*
  382.  * Override method: idoSetBackColor
  383.  */
  384. #define IDOInker_idoSetBackColor(somSelf,ev,lColor) \
  385.     IDOCommon_idoSetBackColor(somSelf,ev,lColor)
  386.  
  387. /*
  388.  * Override method: idoGetBackColor
  389.  */
  390. #define IDOInker_idoGetBackColor(somSelf,ev) \
  391.     IDOCommon_idoGetBackColor(somSelf,ev)
  392.  
  393. /*
  394.  * Override method: idoSetMix
  395.  */
  396. #define IDOInker_idoSetMix(somSelf,ev,lMix) \
  397.     IDOCommon_idoSetMix(somSelf,ev,lMix)
  398.  
  399. /*
  400.  * Override method: idoGetMix
  401.  */
  402. #define IDOInker_idoGetMix(somSelf,ev) \
  403.     IDOCommon_idoGetMix(somSelf,ev)
  404.  
  405. /*
  406.  * Override method: idoSetBackMix
  407.  */
  408. #define IDOInker_idoSetBackMix(somSelf,ev,lMix) \
  409.     IDOCommon_idoSetBackMix(somSelf,ev,lMix)
  410.  
  411. /*
  412.  * Override method: idoGetBackMix
  413.  */
  414. #define IDOInker_idoGetBackMix(somSelf,ev) \
  415.     IDOCommon_idoGetBackMix(somSelf,ev)
  416.  
  417. /*
  418.  * Override method: idoSetWidth
  419.  */
  420. #define IDOInker_idoSetWidth(somSelf,ev,lWidth) \
  421.     IDOCommon_idoSetWidth(somSelf,ev,lWidth)
  422.  
  423. /*
  424.  * Override method: idoGetWidth
  425.  */
  426. #define IDOInker_idoGetWidth(somSelf,ev) \
  427.     IDOCommon_idoGetWidth(somSelf,ev)
  428.  
  429. /*
  430.  * Override method: idoSetLineType
  431.  */
  432. #define IDOInker_idoSetLineType(somSelf,ev,lLineType) \
  433.     IDOCommon_idoSetLineType(somSelf,ev,lLineType)
  434.  
  435. /*
  436.  * Override method: idoGetLineType
  437.  */
  438. #define IDOInker_idoGetLineType(somSelf,ev) \
  439.     IDOCommon_idoGetLineType(somSelf,ev)
  440.  
  441. /*
  442.  * Override method: idoSetInkerData
  443.  */
  444. #define IDOInker_idoSetInkerData(somSelf,ev,pNewInkerData,pOldInkerData) \
  445.     IDOCommon_idoSetInkerData(somSelf,ev,pNewInkerData,pOldInkerData)
  446.  
  447. /*
  448.  * Override method: idoGetInkerData
  449.  */
  450. #define IDOInker_idoGetInkerData(somSelf,ev,pInkerData) \
  451.     IDOCommon_idoGetInkerData(somSelf,ev,pInkerData)
  452.  
  453. /*
  454.  * New Method: idoSetPoint
  455.  */
  456. typedef void   SOMLINK somTP_IDOInker_idoSetPoint(IDOInker *somSelf, Environment *ev,
  457.         PPOINTL pptlPoint);
  458. #pragma linkage(somTP_IDOInker_idoSetPoint, system)
  459. typedef somTP_IDOInker_idoSetPoint *somTD_IDOInker_idoSetPoint;
  460. #define somMD_IDOInker_idoSetPoint "::IDOInker::idoSetPoint"
  461. #define IDOInker_idoSetPoint(somSelf,ev,pptlPoint) \
  462.     (SOM_Resolve(somSelf, IDOInker, idoSetPoint) \
  463.     (somSelf,ev,pptlPoint))
  464. #ifndef SOMGD_idoSetPoint
  465.     #if (defined(_idoSetPoint) || defined(__idoSetPoint))
  466.         #undef _idoSetPoint
  467.         #undef __idoSetPoint
  468.         #define SOMGD_idoSetPoint 1
  469.     #else
  470.         #define _idoSetPoint IDOInker_idoSetPoint
  471.     #endif /* _idoSetPoint */
  472. #endif /* SOMGD_idoSetPoint */
  473.  
  474. /*
  475.  * New Method: idoInkPoints
  476.  */
  477. typedef void   SOMLINK somTP_IDOInker_idoInkPoints(IDOInker *somSelf, Environment *ev,
  478.         PPOINTL pptlPoints,
  479.         ULONG ulNumPoints);
  480. #pragma linkage(somTP_IDOInker_idoInkPoints, system)
  481. typedef somTP_IDOInker_idoInkPoints *somTD_IDOInker_idoInkPoints;
  482. #define somMD_IDOInker_idoInkPoints "::IDOInker::idoInkPoints"
  483. #define IDOInker_idoInkPoints(somSelf,ev,pptlPoints,ulNumPoints) \
  484.     (SOM_Resolve(somSelf, IDOInker, idoInkPoints) \
  485.     (somSelf,ev,pptlPoints,ulNumPoints))
  486. #ifndef SOMGD_idoInkPoints
  487.     #if (defined(_idoInkPoints) || defined(__idoInkPoints))
  488.         #undef _idoInkPoints
  489.         #undef __idoInkPoints
  490.         #define SOMGD_idoInkPoints 1
  491.     #else
  492.         #define _idoInkPoints IDOInker_idoInkPoints
  493.     #endif /* _idoInkPoints */
  494. #endif /* SOMGD_idoInkPoints */
  495.  
  496. /*
  497.  * New Method: idoSetHps
  498.  */
  499. typedef HPS   SOMLINK somTP_IDOInker_idoSetHps(IDOInker *somSelf, Environment *ev,
  500.         HPS hps);
  501. #pragma linkage(somTP_IDOInker_idoSetHps, system)
  502. typedef somTP_IDOInker_idoSetHps *somTD_IDOInker_idoSetHps;
  503. #define somMD_IDOInker_idoSetHps "::IDOInker::idoSetHps"
  504. #define IDOInker_idoSetHps(somSelf,ev,hps) \
  505.     (SOM_Resolve(somSelf, IDOInker, idoSetHps) \
  506.     (somSelf,ev,hps))
  507. #ifndef SOMGD_idoSetHps
  508.     #if (defined(_idoSetHps) || defined(__idoSetHps))
  509.         #undef _idoSetHps
  510.         #undef __idoSetHps
  511.         #define SOMGD_idoSetHps 1
  512.     #else
  513.         #define _idoSetHps IDOInker_idoSetHps
  514.     #endif /* _idoSetHps */
  515. #endif /* SOMGD_idoSetHps */
  516.  
  517. /*
  518.  * New Method: idoGetHps
  519.  */
  520. typedef HPS   SOMLINK somTP_IDOInker_idoGetHps(IDOInker *somSelf, Environment *ev);
  521. #pragma linkage(somTP_IDOInker_idoGetHps, system)
  522. typedef somTP_IDOInker_idoGetHps *somTD_IDOInker_idoGetHps;
  523. #define somMD_IDOInker_idoGetHps "::IDOInker::idoGetHps"
  524. #define IDOInker_idoGetHps(somSelf,ev) \
  525.     (SOM_Resolve(somSelf, IDOInker, idoGetHps) \
  526.     (somSelf,ev))
  527. #ifndef SOMGD_idoGetHps
  528.     #if (defined(_idoGetHps) || defined(__idoGetHps))
  529.         #undef _idoGetHps
  530.         #undef __idoGetHps
  531.         #define SOMGD_idoGetHps 1
  532.     #else
  533.         #define _idoGetHps IDOInker_idoGetHps
  534.     #endif /* _idoGetHps */
  535. #endif /* SOMGD_idoGetHps */
  536. #ifndef SOM_DONT_USE_INHERITED_MACROS
  537. #define IDOInker_idoDraw IDOCommon_idoDraw
  538. #define IDOInker_idoInkerDraw IDOCommon_idoInkerDraw
  539. #define IDOInker_idoGetBoundingBox IDOCommon_idoGetBoundingBox
  540. #define IDOInker_idoSetInkAttr IDOCommon_idoSetInkAttr
  541. #define IDOInker_idoGetInkAttr IDOCommon_idoGetInkAttr
  542. #define IDOInker_idoSetOffset IDOCommon_idoSetOffset
  543. #define IDOInker_idoGetOffset IDOCommon_idoGetOffset
  544. #define IDOInker_idoMergeInkerData IDOCommon_idoMergeInkerData
  545. #define IDOInker_idfSetUser1 IDFCommon_idfSetUser1
  546. #define IDOInker_idfGetUser1 IDFCommon_idfGetUser1
  547. #define IDOInker_idfSetUser2 IDFCommon_idfSetUser2
  548. #define IDOInker_idfGetUser2 IDFCommon_idfGetUser2
  549. #define IDOInker_somFree SOMObject_somFree
  550. #define IDOInker_somDefaultInit SOMObject_somDefaultInit
  551. #define IDOInker_somDefaultCopyInit SOMObject_somDefaultCopyInit
  552. #define IDOInker_somDefaultConstCopyInit SOMObject_somDefaultConstCopyInit
  553. #define IDOInker_somDestruct SOMObject_somDestruct
  554. #define IDOInker_somDefaultAssign SOMObject_somDefaultAssign
  555. #define IDOInker_somDefaultConstAssign SOMObject_somDefaultConstAssign
  556. #define IDOInker_somInit SOMObject_somInit
  557. #define IDOInker_somUninit SOMObject_somUninit
  558. #define IDOInker_somGetClass SOMObject_somGetClass
  559. #define IDOInker_somGetClassName SOMObject_somGetClassName
  560. #define IDOInker_somGetSize SOMObject_somGetSize
  561. #define IDOInker_somIsA SOMObject_somIsA
  562. #define IDOInker_somIsInstanceOf SOMObject_somIsInstanceOf
  563. #define IDOInker_somRespondsTo SOMObject_somRespondsTo
  564. #define IDOInker_somDispatchV SOMObject_somDispatchV
  565. #define IDOInker_somDispatchL SOMObject_somDispatchL
  566. #define IDOInker_somDispatchA SOMObject_somDispatchA
  567. #define IDOInker_somDispatchD SOMObject_somDispatchD
  568. #define IDOInker_somDispatch SOMObject_somDispatch
  569. #define IDOInker_somClassDispatch SOMObject_somClassDispatch
  570. #define IDOInker_somCastObj SOMObject_somCastObj
  571. #define IDOInker_somResetObj SOMObject_somResetObj
  572. #define IDOInker_somPrintSelf SOMObject_somPrintSelf
  573. #define IDOInker_somDumpSelf SOMObject_somDumpSelf
  574. #define IDOInker_somDumpSelfInt SOMObject_somDumpSelfInt
  575. #endif /* SOM_DONT_USE_INHERITED_MACROS */
  576.  
  577. #endif       /* SOM_IDOInker_h */
  578.