home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / warphead.zip / H / WPICON.H < prev    next >
C/C++ Source or Header  |  1997-07-09  |  26KB  |  615 lines

  1.  
  2. /*
  3.  * This file was generated by the SOM Compiler.
  4.  * FileName: E:\cwpsh\rel\os2c\include\base\os2\wpicon.h.
  5.  * Generated using:
  6.  *     SOM Precompiler somipc: 2.29.1.14
  7.  *     SOM Emitter emith: 2.43
  8.  */
  9.  
  10. /*
  11.  *   Module Header
  12.  * 
  13.  *   Module Name: WPICON
  14.  * 
  15.  *   OS/2 Presentation Manager Workplace class definitions
  16.  * 
  17.  *   Copyright (c) International Business Machines Corporation 1991, 1992
  18.  * 
  19.  */
  20.  
  21.  
  22. #ifndef SOM_WPIcon_h
  23. #define SOM_WPIcon_h
  24.  
  25.  
  26. #include <som.h>
  27.  
  28. /*
  29.  * -- This emitter treats Method Tokens as Thunks by default.
  30.  * -- Use the sc modifier "nothunks" to change this default
  31.  */
  32. #undef somresolve_
  33. #define somresolve_(obj,mToken) ((somMethodProc*)((void)obj, mToken))
  34.  
  35. /*
  36.  * Define the class name as an object type
  37.  */
  38. #ifndef WPIcon
  39. #define WPIcon SOMObject
  40. #endif
  41. #include <wpdataf.h>
  42.  
  43. /*
  44.  * Start of bindings for IDL types
  45.  */
  46.  
  47. #ifndef SOMClass
  48.     #define SOMClass SOMObject
  49. #endif /* SOMClass */
  50. #ifndef WPFolder
  51.     #define WPFolder SOMObject
  52. #endif /* WPFolder */
  53. #ifndef M_WPObject
  54.     #define M_WPObject SOMObject
  55. #endif /* M_WPObject */
  56. #ifndef WPObject
  57.     #define WPObject SOMObject
  58. #endif /* WPObject */
  59. #ifndef WPImageFile
  60.     #define WPImageFile SOMObject
  61. #endif /* WPImageFile */
  62. #ifndef M_WPFileSystem
  63.     #define M_WPFileSystem SOMObject
  64. #endif /* M_WPFileSystem */
  65. #ifndef M_WPDataFile
  66.     #define M_WPDataFile SOMObject
  67. #endif /* M_WPDataFile */
  68. #ifndef M_WPIcon
  69.     #define M_WPIcon SOMObject
  70. #endif /* M_WPIcon */
  71.  
  72. /*
  73.  * End of bindings for IDL types.
  74.  */
  75.  
  76. #define WPIcon_MajorVersion 1
  77. #define WPIcon_MinorVersion 2
  78.  
  79. /*
  80.  * External name shortening if required
  81.  */
  82. #ifdef SOM_USE_SHORT_EXTERNAL_NAMES
  83. #define WPIconNewClass wpicoc
  84. #pragma linkage(wpicoc, system)
  85. #define WPIconClassData wpicod
  86. #define WPIconCClassData wpicox
  87. #endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
  88.  
  89. /*
  90.  * Include the meta class file
  91.  */
  92. #include <wpicon.h>
  93. /*--------------Migration------------*/
  94. #define WPIcon_classObj WPIconClassData.classObject
  95. #define _WPIcon WPIcon_classObj
  96.  
  97. /*
  98.  * Declare the class creation procedure
  99.  */
  100. SOMEXTERN SOMClass * SOMLINK WPIconNewClass(integer4 somtmajorVersion,
  101.         integer4 somtminorVersion);
  102. #pragma linkage(WPIconNewClass, system)
  103.  
  104. /*
  105.  * Declare the class data structure
  106.  */
  107. SOMEXTERN struct WPIconClassDataStructure {
  108.     SOMClass *classObject;
  109. } SOMDLINK WPIconClassData;
  110.  
  111. /*
  112.  * Declare the C specific class data structure
  113.  */
  114. SOMEXTERN struct WPIconCClassDataStructure {
  115.     somMethodTabs parentMtab;
  116.     somDToken instanceDataToken;
  117. } SOMDLINK WPIconCClassData;
  118.  
  119. /*
  120.  * New and Renew macros for WPIcon
  121.  */
  122. #define WPIconNew() \
  123.    ( _WPIcon ? \
  124.     _somNew(_WPIcon) \
  125.     : ( WPIconNewClass(\
  126.         WPIcon_MajorVersion, \
  127.         WPIcon_MinorVersion),\
  128.        _somNew(_WPIcon)))
  129. #define WPIconRenew(buf) \
  130.    ( _WPIcon ? \
  131.     _somRenew(_WPIcon, buf) \
  132.     : ( WPIconNewClass(\
  133.         WPIcon_MajorVersion, \
  134.         WPIcon_MinorVersion),\
  135.        _somRenew(_WPIcon, buf)))
  136.  
  137. /*
  138.  * Override method: wpQueryIcon
  139.  */
  140. #define WPIcon_wpQueryIcon(somSelf) \
  141.     WPObject_wpQueryIcon(somSelf)
  142.  
  143. /*
  144.  * Override method: wpSetupOnce
  145.  */
  146. #define WPIcon_wpSetupOnce(somSelf,pszSetupString) \
  147.     WPObject_wpSetupOnce(somSelf,pszSetupString)
  148.  
  149. /*
  150.  * Override method: wpFormatDragItem
  151.  */
  152. #define WPIcon_wpFormatDragItem(somSelf,pdrgItem) \
  153.     WPObject_wpFormatDragItem(somSelf,pdrgItem)
  154.  
  155. /*
  156.  * Override method: wpQueryHandleFromContents
  157.  */
  158. #define WPIcon_wpQueryHandleFromContents(somSelf) \
  159.     WPDataFile_wpQueryHandleFromContents(somSelf)
  160.  
  161. /*
  162.  * Override method: wpSetContentsFromHandle
  163.  */
  164. #define WPIcon_wpSetContentsFromHandle(somSelf,handle) \
  165.     WPDataFile_wpSetContentsFromHandle(somSelf,handle)
  166.  
  167. /*
  168.  * Override method: somDefaultInit
  169.  */
  170. #define WPIcon_somDefaultInit(somSelf,ctrl) \
  171.     SOMObject_somDefaultInit(somSelf,ctrl)
  172.  
  173. /*
  174.  * Override method: somDestruct
  175.  */
  176. #define WPIcon_somDestruct(somSelf,doFree,ctrl) \
  177.     SOMObject_somDestruct(somSelf,doFree,ctrl)
  178. #ifndef SOM_DONT_USE_INHERITED_MACROS
  179. #define WPIcon_wpAddBecomePage WPDataFile_wpAddBecomePage
  180. #define WPIcon_wpAddFileTypePage WPDataFile_wpAddFileTypePage
  181. #define WPIcon_wpPrintMetaFile WPDataFile_wpPrintMetaFile
  182. #define WPIcon_wpPrintPifFile WPDataFile_wpPrintPifFile
  183. #define WPIcon_wpPrintPrinterSpecificFile WPDataFile_wpPrintPrinterSpecificFile
  184. #define WPIcon_wpPrintUnknownFile WPDataFile_wpPrintUnknownFile
  185. #define WPIcon_wpQueryAssociatedProgram WPDataFile_wpQueryAssociatedProgram
  186. #define WPIcon_wpSetAssociatedFileIcon WPDataFile_wpSetAssociatedFileIcon
  187. #define WPIcon_wpQueryAssociatedFileIcon WPDataFile_wpQueryAssociatedFileIcon
  188. #define WPIcon_wpSetContentsFromPointer WPDataFile_wpSetContentsFromPointer
  189. #define WPIcon_wpQueryPointerFromContents WPDataFile_wpQueryPointerFromContents
  190. #define WPIcon_wpRenderFromClipboard WPDataFile_wpRenderFromClipboard
  191. #define WPIcon_wpDragOver WPObject_wpDragOver
  192. #define WPIcon_wpRestoreState WPObject_wpRestoreState
  193. #define WPIcon_wpSetDefaultView WPObject_wpSetDefaultView
  194. #define WPIcon_wpSetRealName WPFileSystem_wpSetRealName
  195. #define WPIcon_wpSetType WPFileSystem_wpSetType
  196. #define WPIcon_wpAddSettingsPages WPObject_wpAddSettingsPages
  197. #define WPIcon_wpAddObjectWindowPage WPObject_wpAddObjectWindowPage
  198. #define WPIcon_wpOpen WPObject_wpOpen
  199. #define WPIcon_wpPrintObject WPObject_wpPrintObject
  200. #define WPIcon_wpModifyMenu WPObject_wpModifyMenu
  201. #define WPIcon_wpMenuItemSelected WPObject_wpMenuItemSelected
  202. #define WPIcon_wpMenuItemHelpSelected WPObject_wpMenuItemHelpSelected
  203. #define WPIcon_wpQueryDefaultHelp WPObject_wpQueryDefaultHelp
  204. #define WPIcon_wpConfirmRenameFileWithExt WPFileSystem_wpConfirmRenameFileWithExt
  205. #define WPIcon_wpRender WPObject_wpRender
  206. #define WPIcon_wpConfirmKeepAssoc WPFileSystem_wpConfirmKeepAssoc
  207. #define WPIcon_wpQueryType WPFileSystem_wpQueryType
  208. #define WPIcon_wpSetAttr WPFileSystem_wpSetAttr
  209. #define WPIcon_wpQueryAttr WPFileSystem_wpQueryAttr
  210. #define WPIcon_wpAddFile1Page WPFileSystem_wpAddFile1Page
  211. #define WPIcon_wpAddFile2Page WPFileSystem_wpAddFile2Page
  212. #define WPIcon_wpAddFile3Page WPFileSystem_wpAddFile3Page
  213. #define WPIcon_wpAddFileMenuPage WPFileSystem_wpAddFileMenuPage
  214. #define WPIcon_wpQueryCreation WPFileSystem_wpQueryCreation
  215. #define WPIcon_wpQueryLastAccess WPFileSystem_wpQueryLastAccess
  216. #define WPIcon_wpQueryLastWrite WPFileSystem_wpQueryLastWrite
  217. #define WPIcon_wpQueryFileSize WPFileSystem_wpQueryFileSize
  218. #define WPIcon_wpQueryEASize WPFileSystem_wpQueryEASize
  219. #define WPIcon_wpSetDateInfo WPFileSystem_wpSetDateInfo
  220. #define WPIcon_wpSetFileSizeInfo WPFileSystem_wpSetFileSizeInfo
  221. #define WPIcon_wpRefresh WPFileSystem_wpRefresh
  222. #define WPIcon_wpQueryRefreshFlags WPFileSystem_wpQueryRefreshFlags
  223. #define WPIcon_wpSetRefreshFlags WPFileSystem_wpSetRefreshFlags
  224. #define WPIcon_wpPrintPlainTextFile WPFileSystem_wpPrintPlainTextFile
  225. #define WPIcon_wpSetTitleAndRenameFile WPFileSystem_wpSetTitleAndRenameFile
  226. #define WPIcon_wpVerifyUpdateAccess WPFileSystem_wpVerifyUpdateAccess
  227. #define WPIcon_wpQueryEASupport WPFileSystem_wpQueryEASupport
  228. #define WPIcon_wpAddUserItemsToPopupMenu WPFileSystem_wpAddUserItemsToPopupMenu
  229. #define WPIcon_wpIsDiskSwapped WPFileSystem_wpIsDiskSwapped
  230. #define WPIcon_wpQueryRealName WPFileSystem_wpQueryRealName
  231. #define WPIcon_wpQueryFilename WPFileSystem_wpQueryFilename
  232. #define WPIcon_wpQueryDisk WPFileSystem_wpQueryDisk
  233. #define WPIcon_wpQueryDateInfo WPFileSystem_wpQueryDateInfo
  234. #define WPIcon_wpUnInitData WPObject_wpUnInitData
  235. #define WPIcon_wpQueryHandle WPObject_wpQueryHandle
  236. #define WPIcon_wpSaveImmediate WPObject_wpSaveImmediate
  237. #define WPIcon_wpSetTitle WPObject_wpSetTitle
  238. #define WPIcon_wpViewObject WPObject_wpViewObject
  239. #define WPIcon_wpSwitchTo WPObject_wpSwitchTo
  240. #define WPIcon_wpCopyObject WPObject_wpCopyObject
  241. #define WPIcon_wpCreateFromTemplate WPObject_wpCreateFromTemplate
  242. #define WPIcon_wpMoveObject WPObject_wpMoveObject
  243. #define WPIcon_wpQueryIconData WPObject_wpQueryIconData
  244. #define WPIcon_wpSetIconData WPObject_wpSetIconData
  245. #define WPIcon_wpQueryDetailsData WPObject_wpQueryDetailsData
  246. #define WPIcon_wpSaveState WPObject_wpSaveState
  247. #define WPIcon_wpDraggedOverObject WPObject_wpDraggedOverObject
  248. #define WPIcon_wpDroppedOnObject WPObject_wpDroppedOnObject
  249. #define WPIcon_wpQueryNameClashOptions WPObject_wpQueryNameClashOptions
  250. #define WPIcon_wpAppendObject WPObject_wpAppendObject
  251. #define WPIcon_wpReplaceObject WPObject_wpReplaceObject
  252. #define WPIcon_wpQueryStyle WPObject_wpQueryStyle
  253. #define WPIcon_wpFilterMenu WPObject_wpFilterMenu
  254. #define WPIcon_wpDoesObjectMatch WPObject_wpDoesObjectMatch
  255. #define WPIcon_wpIdentify WPObject_wpIdentify
  256. #define WPIcon_wpIsDeleteable WPObject_wpIsDeleteable
  257. #define WPIcon_wpSetup WPObject_wpSetup
  258. #define WPIcon_wpAddObjectGeneralPage WPObject_wpAddObjectGeneralPage
  259. #define WPIcon_wpAddObjectGeneralPage2 WPObject_wpAddObjectGeneralPage2
  260. #define WPIcon_wpAddToObjUseList WPObject_wpAddToObjUseList
  261. #define WPIcon_wpAllocMem WPObject_wpAllocMem
  262. #define WPIcon_wpAssertObjectMutexSem WPObject_wpAssertObjectMutexSem
  263. #define WPIcon_wpClose WPObject_wpClose
  264. #define WPIcon_wpCnrInsertObject WPObject_wpCnrInsertObject
  265. #define WPIcon_wpCnrRemoveObject WPObject_wpCnrRemoveObject
  266. #define WPIcon_wpCnrSetEmphasis WPObject_wpCnrSetEmphasis
  267. #define WPIcon_wpConfirmDelete WPObject_wpConfirmDelete
  268. #define WPIcon_wpConfirmObjectTitle WPObject_wpConfirmObjectTitle
  269. #define WPIcon_wpCopiedFromTemplate WPObject_wpCopiedFromTemplate
  270. #define WPIcon_wpCreateAnother WPObject_wpCreateAnother
  271. #define WPIcon_wpCreateShadowObject WPObject_wpCreateShadowObject
  272. #define WPIcon_wpDelete WPObject_wpDelete
  273. #define WPIcon_wpDeleteFromObjUseList WPObject_wpDeleteFromObjUseList
  274. #define WPIcon_wpDisplayHelp WPObject_wpDisplayHelp
  275. #define WPIcon_wpDisplayMenu WPObject_wpDisplayMenu
  276. #define WPIcon_wpDrop WPObject_wpDrop
  277. #define WPIcon_wpEndConversation WPObject_wpEndConversation
  278. #define WPIcon_wpFilterPopupMenu WPObject_wpFilterPopupMenu
  279. #define WPIcon_wpFindUseItem WPObject_wpFindUseItem
  280. #define WPIcon_wpFree WPObject_wpFree
  281. #define WPIcon_wpFreeMem WPObject_wpFreeMem
  282. #define WPIcon_wpHide WPObject_wpHide
  283. #define WPIcon_wpInitData WPObject_wpInitData
  284. #define WPIcon_wpInsertPopupMenuItems WPObject_wpInsertPopupMenuItems
  285. #define WPIcon_wpInsertMenuItems WPObject_wpInsertMenuItems
  286. #define WPIcon_wpInsertSettingsPage WPObject_wpInsertSettingsPage
  287. #define WPIcon_wpModifyPopupMenu WPObject_wpModifyPopupMenu
  288. #define WPIcon_wpQueryConcurrentView WPObject_wpQueryConcurrentView
  289. #define WPIcon_wpQueryButtonAppearance WPObject_wpQueryButtonAppearance
  290. #define WPIcon_wpQueryConfirmations WPObject_wpQueryConfirmations
  291. #define WPIcon_wpQueryDefaultView WPObject_wpQueryDefaultView
  292. #define WPIcon_wpQueryError WPObject_wpQueryError
  293. #define WPIcon_wpSetFolder WPObject_wpSetFolder
  294. #define WPIcon_wpQueryFolder WPObject_wpQueryFolder
  295. #define WPIcon_wpQueryMinWindow WPObject_wpQueryMinWindow
  296. #define WPIcon_wpSetTaskRec WPObject_wpSetTaskRec
  297. #define WPIcon_wpFindTaskRec WPObject_wpFindTaskRec
  298. #define WPIcon_wpQueryTitle WPObject_wpQueryTitle
  299. #define WPIcon_wpRegisterView WPObject_wpRegisterView
  300. #define WPIcon_wpReleaseObjectMutexSem WPObject_wpReleaseObjectMutexSem
  301. #define WPIcon_wpRenderComplete WPObject_wpRenderComplete
  302. #define WPIcon_wpRequestObjectMutexSem WPObject_wpRequestObjectMutexSem
  303. #define WPIcon_wpRestore WPObject_wpRestore
  304. #define WPIcon_wpRestoreData WPObject_wpRestoreData
  305. #define WPIcon_wpRestoreLong WPObject_wpRestoreLong
  306. #define WPIcon_wpRestoreString WPObject_wpRestoreString
  307. #define WPIcon_wpSaveData WPObject_wpSaveData
  308. #define WPIcon_wpSaveDeferred WPObject_wpSaveDeferred
  309. #define WPIcon_wpSaveLong WPObject_wpSaveLong
  310. #define WPIcon_wpSaveString WPObject_wpSaveString
  311. #define WPIcon_wpScanSetupString WPObject_wpScanSetupString
  312. #define WPIcon_wpSetConcurrentView WPObject_wpSetConcurrentView
  313. #define WPIcon_wpSetButtonAppearance WPObject_wpSetButtonAppearance
  314. #define WPIcon_wpSetDefaultHelp WPObject_wpSetDefaultHelp
  315. #define WPIcon_wpSetError WPObject_wpSetError
  316. #define WPIcon_wpQueryScreenGroupID WPObject_wpQueryScreenGroupID
  317. #define WPIcon_wpSetIcon WPObject_wpSetIcon
  318. #define WPIcon_wpSetMinWindow WPObject_wpSetMinWindow
  319. #define WPIcon_wpModifyStyle WPObject_wpModifyStyle
  320. #define WPIcon_wpQueryTrueStyle WPObject_wpQueryTrueStyle
  321. #define WPIcon_wpUnlockObject WPObject_wpUnlockObject
  322. #define WPIcon_wpObjectReady WPObject_wpObjectReady
  323. #define WPIcon_wpIsObjectInitialized WPObject_wpIsObjectInitialized
  324. #define WPIcon_wpCreateShadowObjectExt WPObject_wpCreateShadowObjectExt
  325. #define WPIcon_wpCnrDeleteUseItem WPObject_wpCnrDeleteUseItem
  326. #define WPIcon_wpQueryCoreRecord WPObject_wpQueryCoreRecord
  327. #define WPIcon_wpSetObjectID WPObject_wpSetObjectID
  328. #define WPIcon_wpQueryObjectID WPObject_wpQueryObjectID
  329. #define WPIcon_wpSetDefaultIconPos WPObject_wpSetDefaultIconPos
  330. #define WPIcon_wpQueryDefaultIconPos WPObject_wpQueryDefaultIconPos
  331. #define WPIcon_wpCnrRefreshDetails WPObject_wpCnrRefreshDetails
  332. #define WPIcon_wpFindViewItem WPObject_wpFindViewItem
  333. #define WPIcon_wpLockObject WPObject_wpLockObject
  334. #define WPIcon_wpIsLocked WPObject_wpIsLocked
  335. #define WPIcon_wpQueryContainerFlagPtr WPObject_wpQueryContainerFlagPtr
  336. #define WPIcon_wpWaitForClose WPObject_wpWaitForClose
  337. #define WPIcon_wpSetMenuStyle WPObject_wpSetMenuStyle
  338. #define WPIcon_wpQueryMenuStyle WPObject_wpQueryMenuStyle
  339. #define WPIcon_wpSetStyle WPObject_wpSetStyle
  340. #define WPIcon_somInit SOMObject_somInit
  341. #define WPIcon_somUninit SOMObject_somUninit
  342. #define WPIcon_somDefaultCopyInit SOMObject_somDefaultCopyInit
  343. #define WPIcon_somDefaultAssign SOMObject_somDefaultAssign
  344. #define WPIcon_somDefaultConstCopyInit SOMObject_somDefaultConstCopyInit
  345. #define WPIcon_somDefaultVCopyInit SOMObject_somDefaultVCopyInit
  346. #define WPIcon_somDefaultConstVCopyInit SOMObject_somDefaultConstVCopyInit
  347. #define WPIcon_somDefaultConstAssign SOMObject_somDefaultConstAssign
  348. #define WPIcon_somDefaultVAssign SOMObject_somDefaultVAssign
  349. #define WPIcon_somDefaultConstVAssign SOMObject_somDefaultConstVAssign
  350. #define WPIcon_somFree SOMObject_somFree
  351. #define WPIcon_somGetClass SOMObject_somGetClass
  352. #define WPIcon_somGetClassName SOMObject_somGetClassName
  353. #define WPIcon_somGetSize SOMObject_somGetSize
  354. #define WPIcon_somIsA SOMObject_somIsA
  355. #define WPIcon_somIsInstanceOf SOMObject_somIsInstanceOf
  356. #define WPIcon_somRespondsTo SOMObject_somRespondsTo
  357. #define WPIcon_somDispatch SOMObject_somDispatch
  358. #define WPIcon_somClassDispatch SOMObject_somClassDispatch
  359. #define WPIcon_somCastObj SOMObject_somCastObj
  360. #define WPIcon_somResetObj SOMObject_somResetObj
  361. #define WPIcon_somDispatchV SOMObject_somDispatchV
  362. #define WPIcon_somDispatchL SOMObject_somDispatchL
  363. #define WPIcon_somDispatchA SOMObject_somDispatchA
  364. #define WPIcon_somDispatchD SOMObject_somDispatchD
  365. #define WPIcon_somPrintSelf SOMObject_somPrintSelf
  366. #define WPIcon_somDumpSelf SOMObject_somDumpSelf
  367. #define WPIcon_somDumpSelfInt SOMObject_somDumpSelfInt
  368. #endif /* SOM_DONT_USE_INHERITED_MACROS */
  369.  
  370. #endif       /* SOM_WPIcon_h */
  371.  
  372. #ifndef SOM_M_WPIcon_h
  373. #define SOM_M_WPIcon_h
  374.  
  375.  
  376. #include <som.h>
  377.  
  378. /*
  379.  * -- This emitter treats Method Tokens as Thunks by default.
  380.  * -- Use the sc modifier "nothunks" to change this default
  381.  */
  382. #undef somresolve_
  383. #define somresolve_(obj,mToken) ((somMethodProc*)((void)obj, mToken))
  384.  
  385. /*
  386.  * Define the class name as an object type
  387.  */
  388. #ifndef M_WPIcon
  389. #define M_WPIcon SOMObject
  390. #endif
  391. #include <wpdataf.h>
  392.  
  393. /*
  394.  * Start of bindings for IDL types
  395.  */
  396.  
  397.  
  398. /*
  399.  * End of bindings for IDL types.
  400.  */
  401.  
  402. #define M_WPIcon_MajorVersion 1
  403. #define M_WPIcon_MinorVersion 2
  404.  
  405. /*
  406.  * External name shortening if required
  407.  */
  408. #ifdef SOM_USE_SHORT_EXTERNAL_NAMES
  409. #define M_WPIconNewClass wpicoc
  410. #pragma linkage(wpicoc, system)
  411. #define M_WPIconClassData wpicod
  412. #define M_WPIconCClassData wpicox
  413. #endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
  414. /*--------------Migration------------*/
  415. #define M_WPIcon_classObj M_WPIconClassData.classObject
  416. #define _M_WPIcon M_WPIcon_classObj
  417.  
  418. /*
  419.  * Declare the class creation procedure
  420.  */
  421. SOMEXTERN SOMClass * SOMLINK M_WPIconNewClass(integer4 somtmajorVersion,
  422.         integer4 somtminorVersion);
  423. #pragma linkage(M_WPIconNewClass, system)
  424.  
  425. /*
  426.  * Declare the class data structure
  427.  */
  428. SOMEXTERN struct M_WPIconClassDataStructure {
  429.     SOMClass *classObject;
  430. } SOMDLINK M_WPIconClassData;
  431.  
  432. /*
  433.  * Declare the C specific class data structure
  434.  */
  435. SOMEXTERN struct M_WPIconCClassDataStructure {
  436.     somMethodTabs parentMtab;
  437.     somDToken instanceDataToken;
  438. } SOMDLINK M_WPIconCClassData;
  439.  
  440. /*
  441.  * New and Renew macros for M_WPIcon
  442.  */
  443. #define M_WPIconNew() \
  444.    ( _M_WPIcon ? \
  445.     _somNew(_M_WPIcon) \
  446.     : ( M_WPIconNewClass(\
  447.         M_WPIcon_MajorVersion, \
  448.         M_WPIcon_MinorVersion),\
  449.        _somNew(_M_WPIcon)))
  450. #define M_WPIconRenew(buf) \
  451.    ( _M_WPIcon ? \
  452.     _somRenew(_M_WPIcon, buf) \
  453.     : ( M_WPIconNewClass(\
  454.         M_WPIcon_MajorVersion, \
  455.         M_WPIcon_MinorVersion),\
  456.        _somRenew(_M_WPIcon, buf)))
  457.  
  458. /*
  459.  * Override method: wpclsQueryInstanceFilter
  460.  */
  461. #define M_WPIcon_wpclsQueryInstanceFilter(somSelf) \
  462.     M_WPFileSystem_wpclsQueryInstanceFilter(somSelf)
  463.  
  464. /*
  465.  * Override method: wpclsQueryInstanceType
  466.  */
  467. #define M_WPIcon_wpclsQueryInstanceType(somSelf) \
  468.     M_WPFileSystem_wpclsQueryInstanceType(somSelf)
  469.  
  470. /*
  471.  * Override method: wpclsInitData
  472.  */
  473. #define M_WPIcon_wpclsInitData(somSelf) \
  474.     M_WPObject_wpclsInitData(somSelf)
  475.  
  476. /*
  477.  * Override method: wpclsQueryTitle
  478.  */
  479. #define M_WPIcon_wpclsQueryTitle(somSelf) \
  480.     M_WPObject_wpclsQueryTitle(somSelf)
  481.  
  482. /*
  483.  * Override method: wpclsQueryDefaultHelp
  484.  */
  485. #define M_WPIcon_wpclsQueryDefaultHelp(somSelf,pHelpPanelId,pszHelpLibrary) \
  486.     M_WPObject_wpclsQueryDefaultHelp(somSelf,pHelpPanelId,pszHelpLibrary)
  487. #ifndef SOM_DONT_USE_INHERITED_MACROS
  488. #define M_WPIcon_wpclsAddClipboardAssoc M_WPDataFile_wpclsAddClipboardAssoc
  489. #define M_WPIcon_wpclsEnumClipboardClasses M_WPDataFile_wpclsEnumClipboardClasses
  490. #define M_WPIcon_wpclsQueryIconData M_WPObject_wpclsQueryIconData
  491. #define M_WPIcon_wpclsQueryStyle M_WPObject_wpclsQueryStyle
  492. #define M_WPIcon_wpclsQueryDefaultView M_WPObject_wpclsQueryDefaultView
  493. #define M_WPIcon_wpclsQuerySettingsPageSize M_WPObject_wpclsQuerySettingsPageSize
  494. #define M_WPIcon_wpclsQueryAwakeObject M_WPFileSystem_wpclsQueryAwakeObject
  495. #define M_WPIcon_wpclsFileSysExists M_WPFileSystem_wpclsFileSysExists
  496. #define M_WPIcon_wpclsQueryObjectFromPath M_WPFileSystem_wpclsQueryObjectFromPath
  497. #define M_WPIcon_wpclsQueryInstanceClass M_WPFileSystem_wpclsQueryInstanceClass
  498. #define M_WPIcon_wpclsQueryDetailsInfo M_WPObject_wpclsQueryDetailsInfo
  499. #define M_WPIcon_wpclsQuerySearchInfo M_WPObject_wpclsQuerySearchInfo
  500. #define M_WPIcon_wpclsQueryExtendedCriteria M_WPObject_wpclsQueryExtendedCriteria
  501. #define M_WPIcon_wpclsNew M_WPObject_wpclsNew
  502. #define M_WPIcon_wpclsObjectFromHandle M_WPObject_wpclsObjectFromHandle
  503. #define M_WPIcon_wpclsCreateDefaultTemplates M_WPObject_wpclsCreateDefaultTemplates
  504. #define M_WPIcon_wpclsMakeAwake M_WPObject_wpclsMakeAwake
  505. #define M_WPIcon_wpclsQueryDetails M_WPObject_wpclsQueryDetails
  506. #define M_WPIcon_wpclsQueryFolder M_WPObject_wpclsQueryFolder
  507. #define M_WPIcon_wpclsQueryIcon M_WPObject_wpclsQueryIcon
  508. #define M_WPIcon_wpclsUnInitData M_WPObject_wpclsUnInitData
  509. #define M_WPIcon_wpclsFindObjectFirst M_WPObject_wpclsFindObjectFirst
  510. #define M_WPIcon_wpclsFindObjectNext M_WPObject_wpclsFindObjectNext
  511. #define M_WPIcon_wpclsFindObjectEnd M_WPObject_wpclsFindObjectEnd
  512. #define M_WPIcon_wpclsSetError M_WPObject_wpclsSetError
  513. #define M_WPIcon_wpclsQueryError M_WPObject_wpclsQueryError
  514. #define M_WPIcon_wpclsQueryObject M_WPObject_wpclsQueryObject
  515. #define M_WPIcon_wpclsQueryButtonAppearance M_WPObject_wpclsQueryButtonAppearance
  516. #define M_WPIcon_wpclsDecUsage M_WPObject_wpclsDecUsage
  517. #define M_WPIcon_wpclsIncUsage M_WPObject_wpclsIncUsage
  518. #define M_WPIcon_wpclsInsertMultipleObjects M_WPObject_wpclsInsertMultipleObjects
  519. #define M_WPIcon_wpclsFindOneObject M_WPObject_wpclsFindOneObject
  520. #define M_WPIcon_wpclsSetSettingsPageSize M_WPObject_wpclsSetSettingsPageSize
  521. #define M_WPIcon_wpclsSetIconData M_WPObject_wpclsSetIconData
  522. #define M_WPIcon_wpclsSetIcon M_WPObject_wpclsSetIcon
  523. #define M_WPIcon_wpclsRemoveObjects M_WPObject_wpclsRemoveObjects
  524. #define M_WPIcon_somUninit SOMObject_somUninit
  525. #define M_WPIcon_somClassReady SOMClass_somClassReady
  526. #define M_WPIcon_somNew SOMClass_somNew
  527. #define M_WPIcon_somRenew SOMClass_somRenew
  528. #define M_WPIcon__get_somDataAlignment SOMClass__get_somDataAlignment
  529. #define M_WPIcon__get_somInstanceDataOffsets SOMClass__get_somInstanceDataOffsets
  530. #define M_WPIcon__get_somDirectInitClasses SOMClass__get_somDirectInitClasses
  531. #define M_WPIcon__set_somDirectInitClasses SOMClass__set_somDirectInitClasses
  532. #define M_WPIcon_somNewNoInit SOMClass_somNewNoInit
  533. #define M_WPIcon_somRenewNoInit SOMClass_somRenewNoInit
  534. #define M_WPIcon_somRenewNoZero SOMClass_somRenewNoZero
  535. #define M_WPIcon_somRenewNoInitNoZero SOMClass_somRenewNoInitNoZero
  536. #define M_WPIcon_somAllocate SOMClass_somAllocate
  537. #define M_WPIcon_somDeallocate SOMClass_somDeallocate
  538. #define M_WPIcon__get_somClassAllocate SOMClass__get_somClassAllocate
  539. #define M_WPIcon__get_somClassDeallocate SOMClass__get_somClassDeallocate
  540. #define M_WPIcon_somGetInstanceInitMask SOMClass_somGetInstanceInitMask
  541. #define M_WPIcon_somGetInstanceDestructionMask SOMClass_somGetInstanceDestructionMask
  542. #define M_WPIcon_somGetInstanceAssignmentMask SOMClass_somGetInstanceAssignmentMask
  543. #define M_WPIcon_somInitClass SOMClass_somInitClass
  544. #define M_WPIcon_somInitMIClass SOMClass_somInitMIClass
  545. #define M_WPIcon_somAddStaticMethod SOMClass_somAddStaticMethod
  546. #define M_WPIcon_somAddDynamicMethod SOMClass_somAddDynamicMethod
  547. #define M_WPIcon_somOverrideSMethod SOMClass_somOverrideSMethod
  548. #define M_WPIcon_somGetApplyStub SOMClass_somGetApplyStub
  549. #define M_WPIcon_somGetClassData SOMClass_somGetClassData
  550. #define M_WPIcon_somSetClassData SOMClass_somSetClassData
  551. #define M_WPIcon_somGetClassMtab SOMClass_somGetClassMtab
  552. #define M_WPIcon_somGetInstanceOffset SOMClass_somGetInstanceOffset
  553. #define M_WPIcon_somGetInstancePartSize SOMClass_somGetInstancePartSize
  554. #define M_WPIcon_somGetInstanceSize SOMClass_somGetInstanceSize
  555. #define M_WPIcon_somGetInstanceToken SOMClass_somGetInstanceToken
  556. #define M_WPIcon_somGetMemberToken SOMClass_somGetMemberToken
  557. #define M_WPIcon_somGetMethodData SOMClass_somGetMethodData
  558. #define M_WPIcon_somGetRdStub SOMClass_somGetRdStub
  559. #define M_WPIcon_somGetMethodDescriptor SOMClass_somGetMethodDescriptor
  560. #define M_WPIcon_somGetMethodIndex SOMClass_somGetMethodIndex
  561. #define M_WPIcon_somGetMethodToken SOMClass_somGetMethodToken
  562. #define M_WPIcon_somGetName SOMClass_somGetName
  563. #define M_WPIcon_somGetNthMethodData SOMClass_somGetNthMethodData
  564. #define M_WPIcon_somGetNthMethodInfo SOMClass_somGetNthMethodInfo
  565. #define M_WPIcon_somGetNumMethods SOMClass_somGetNumMethods
  566. #define M_WPIcon_somGetNumStaticMethods SOMClass_somGetNumStaticMethods
  567. #define M_WPIcon_somGetParent SOMClass_somGetParent
  568. #define M_WPIcon_somGetParents SOMClass_somGetParents
  569. #define M_WPIcon_somGetPClsMtab SOMClass_somGetPClsMtab
  570. #define M_WPIcon_somGetPClsMtabs SOMClass_somGetPClsMtabs
  571. #define M_WPIcon_somGetVersionNumbers SOMClass_somGetVersionNumbers
  572. #define M_WPIcon_somSetMethodDescriptor SOMClass_somSetMethodDescriptor
  573. #define M_WPIcon_somFindMethod SOMClass_somFindMethod
  574. #define M_WPIcon_somFindMethodOk SOMClass_somFindMethodOk
  575. #define M_WPIcon_somFindSMethod SOMClass_somFindSMethod
  576. #define M_WPIcon_somFindSMethodOk SOMClass_somFindSMethodOk
  577. #define M_WPIcon_somLookupMethod SOMClass_somLookupMethod
  578. #define M_WPIcon_somCheckVersion SOMClass_somCheckVersion
  579. #define M_WPIcon_somDescendedFrom SOMClass_somDescendedFrom
  580. #define M_WPIcon_somSupportsMethod SOMClass_somSupportsMethod
  581. #define M_WPIcon_somDefinedMethod SOMClass_somDefinedMethod
  582. #define M_WPIcon_somOverrideMtab SOMClass_somOverrideMtab
  583. #define M_WPIcon_somDefaultInit SOMObject_somDefaultInit
  584. #define M_WPIcon_somDestruct SOMObject_somDestruct
  585. #define M_WPIcon_somDefaultCopyInit SOMObject_somDefaultCopyInit
  586. #define M_WPIcon_somDefaultAssign SOMObject_somDefaultAssign
  587. #define M_WPIcon_somDefaultConstCopyInit SOMObject_somDefaultConstCopyInit
  588. #define M_WPIcon_somDefaultVCopyInit SOMObject_somDefaultVCopyInit
  589. #define M_WPIcon_somDefaultConstVCopyInit SOMObject_somDefaultConstVCopyInit
  590. #define M_WPIcon_somDefaultConstAssign SOMObject_somDefaultConstAssign
  591. #define M_WPIcon_somDefaultVAssign SOMObject_somDefaultVAssign
  592. #define M_WPIcon_somDefaultConstVAssign SOMObject_somDefaultConstVAssign
  593. #define M_WPIcon_somInit SOMObject_somInit
  594. #define M_WPIcon_somFree SOMObject_somFree
  595. #define M_WPIcon_somGetClass SOMObject_somGetClass
  596. #define M_WPIcon_somGetClassName SOMObject_somGetClassName
  597. #define M_WPIcon_somGetSize SOMObject_somGetSize
  598. #define M_WPIcon_somIsA SOMObject_somIsA
  599. #define M_WPIcon_somIsInstanceOf SOMObject_somIsInstanceOf
  600. #define M_WPIcon_somRespondsTo SOMObject_somRespondsTo
  601. #define M_WPIcon_somDispatch SOMObject_somDispatch
  602. #define M_WPIcon_somClassDispatch SOMObject_somClassDispatch
  603. #define M_WPIcon_somCastObj SOMObject_somCastObj
  604. #define M_WPIcon_somResetObj SOMObject_somResetObj
  605. #define M_WPIcon_somDispatchV SOMObject_somDispatchV
  606. #define M_WPIcon_somDispatchL SOMObject_somDispatchL
  607. #define M_WPIcon_somDispatchA SOMObject_somDispatchA
  608. #define M_WPIcon_somDispatchD SOMObject_somDispatchD
  609. #define M_WPIcon_somPrintSelf SOMObject_somPrintSelf
  610. #define M_WPIcon_somDumpSelf SOMObject_somDumpSelf
  611. #define M_WPIcon_somDumpSelfInt SOMObject_somDumpSelfInt
  612. #endif /* SOM_DONT_USE_INHERITED_MACROS */
  613.  
  614. #endif       /* SOM_M_WPIcon_h */
  615.