home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / detk45he.zip / WPSTART.H < prev    next >
C/C++ Source or Header  |  1999-03-15  |  30KB  |  656 lines

  1.  
  2. /*
  3.  * This file was generated by the SOM Compiler.
  4.  * FileName: E:\cwpsh\rel\os2c\include\base\os2\wpstart.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: WPSTART
  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_WPStartup_h
  23. #define SOM_WPStartup_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 WPStartup
  39. #define WPStartup SOMObject
  40. #endif
  41. #include <wpfolder.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_WPFolder
  66.     #define M_WPFolder SOMObject
  67. #endif /* M_WPFolder */
  68. #ifndef M_WPStartup
  69.     #define M_WPStartup SOMObject
  70. #endif /* M_WPStartup */
  71.  
  72. /*
  73.  * End of bindings for IDL types.
  74.  */
  75.  
  76. #define WPStartup_MajorVersion 1
  77. #define WPStartup_MinorVersion 2
  78.  
  79. /*
  80.  * External name shortening if required
  81.  */
  82. #ifdef SOM_USE_SHORT_EXTERNAL_NAMES
  83. #define WPStartupNewClass WPStartc
  84. #pragma linkage(WPStartc, system)
  85. #define WPStartupClassData WPStartd
  86. #define WPStartupCClassData WPStartx
  87. #endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
  88.  
  89. /*
  90.  * Include the meta class file
  91.  */
  92. #include <wpstart.h>
  93. /*--------------Migration------------*/
  94. #define WPStartup_classObj WPStartupClassData.classObject
  95. #define _WPStartup WPStartup_classObj
  96.  
  97. /*
  98.  * Declare the class creation procedure
  99.  */
  100. SOMEXTERN SOMClass * SOMLINK WPStartupNewClass(integer4 somtmajorVersion,
  101.         integer4 somtminorVersion);
  102. #pragma linkage(WPStartupNewClass, system)
  103.  
  104. /*
  105.  * Declare the class data structure
  106.  */
  107. SOMEXTERN struct WPStartupClassDataStructure {
  108.     SOMClass *classObject;
  109. } SOMDLINK WPStartupClassData;
  110.  
  111. /*
  112.  * Declare the C specific class data structure
  113.  */
  114. SOMEXTERN struct WPStartupCClassDataStructure {
  115.     somMethodTabs parentMtab;
  116.     somDToken instanceDataToken;
  117. } SOMDLINK WPStartupCClassData;
  118.  
  119. /*
  120.  * New and Renew macros for WPStartup
  121.  */
  122. #define WPStartupNew() \
  123.    ( _WPStartup ? \
  124.     _somNew(_WPStartup) \
  125.     : ( WPStartupNewClass(\
  126.         WPStartup_MajorVersion, \
  127.         WPStartup_MinorVersion),\
  128.        _somNew(_WPStartup)))
  129. #define WPStartupRenew(buf) \
  130.    ( _WPStartup ? \
  131.     _somRenew(_WPStartup, buf) \
  132.     : ( WPStartupNewClass(\
  133.         WPStartup_MajorVersion, \
  134.         WPStartup_MinorVersion),\
  135.        _somRenew(_WPStartup, buf)))
  136.  
  137. /*
  138.  * Override method: wpSetupOnce
  139.  */
  140. #define WPStartup_wpSetupOnce(somSelf,pszSetupString) \
  141.     WPObject_wpSetupOnce(somSelf,pszSetupString)
  142.  
  143. /*
  144.  * Override method: wpRestoreState
  145.  */
  146. #define WPStartup_wpRestoreState(somSelf,ulReserved) \
  147.     WPObject_wpRestoreState(somSelf,ulReserved)
  148.  
  149. /*
  150.  * Override method: wpFree
  151.  */
  152. #define WPStartup_wpFree(somSelf) \
  153.     WPObject_wpFree(somSelf)
  154.  
  155. /*
  156.  * Override method: somDefaultInit
  157.  */
  158. #define WPStartup_somDefaultInit(somSelf,ctrl) \
  159.     SOMObject_somDefaultInit(somSelf,ctrl)
  160.  
  161. /*
  162.  * Override method: somDestruct
  163.  */
  164. #define WPStartup_somDestruct(somSelf,doFree,ctrl) \
  165.     SOMObject_somDestruct(somSelf,doFree,ctrl)
  166.  
  167. /*
  168.  * Override method: wpInitData
  169.  */
  170. #define WPStartup_wpInitData(somSelf) \
  171.     WPObject_wpInitData(somSelf)
  172. #ifndef SOM_DONT_USE_INHERITED_MACROS
  173. #define WPStartup_wpSetFldrFlags WPFolder_wpSetFldrFlags
  174. #define WPStartup_wpQueryFldrFlags WPFolder_wpQueryFldrFlags
  175. #define WPStartup_wpSetFldrFont WPFolder_wpSetFldrFont
  176. #define WPStartup_wpQueryFldrFont WPFolder_wpQueryFldrFont
  177. #define WPStartup_wpSetFldrAttr WPFolder_wpSetFldrAttr
  178. #define WPStartup_wpQueryFldrAttr WPFolder_wpQueryFldrAttr
  179. #define WPStartup_wpSetNextIconPos WPFolder_wpSetNextIconPos
  180. #define WPStartup_wpQueryNextIconPos WPFolder_wpQueryNextIconPos
  181. #define WPStartup_wpPopulate WPFolder_wpPopulate
  182. #define WPStartup_wpQueryContent WPFolder_wpQueryContent
  183. #define WPStartup_wpAddFolderView1Page WPFolder_wpAddFolderView1Page
  184. #define WPStartup_wpAddFolderView2Page WPFolder_wpAddFolderView2Page
  185. #define WPStartup_wpAddFolderView3Page WPFolder_wpAddFolderView3Page
  186. #define WPStartup_wpAddFolderIncludePage WPFolder_wpAddFolderIncludePage
  187. #define WPStartup_wpAddFolderSortPage WPFolder_wpAddFolderSortPage
  188. #define WPStartup_wpAddFolderBackgroundPage WPFolder_wpAddFolderBackgroundPage
  189. #define WPStartup_wpAddFolderMenu2Page WPFolder_wpAddFolderMenu2Page
  190. #define WPStartup_wpAddFolderSelfClosePage WPFolder_wpAddFolderSelfClosePage
  191. #define WPStartup_wpInitIconPosData WPFolder_wpInitIconPosData
  192. #define WPStartup_wpFreeIconPosData WPFolder_wpFreeIconPosData
  193. #define WPStartup_wpStoreIconPosData WPFolder_wpStoreIconPosData
  194. #define WPStartup_wpQueryIconPosition WPFolder_wpQueryIconPosition
  195. #define WPStartup_wpSetFldrSort WPFolder_wpSetFldrSort
  196. #define WPStartup_wpQueryFldrSort WPFolder_wpQueryFldrSort
  197. #define WPStartup_wpRestoreFldrRunObjs WPFolder_wpRestoreFldrRunObjs
  198. #define WPStartup_wpStoreFldrRunObjs WPFolder_wpStoreFldrRunObjs
  199. #define WPStartup_wpHideFldrRunObjs WPFolder_wpHideFldrRunObjs
  200. #define WPStartup_wpDeleteContents WPFolder_wpDeleteContents
  201. #define WPStartup_wpSetFldrDetailsClass WPFolder_wpSetFldrDetailsClass
  202. #define WPStartup_wpQueryFldrDetailsClass WPFolder_wpQueryFldrDetailsClass
  203. #define WPStartup_wpSearchFolder WPFolder_wpSearchFolder
  204. #define WPStartup_wpContainsFolders WPFolder_wpContainsFolders
  205. #define WPStartup_wpQueryOpenFolders WPFolder_wpQueryOpenFolders
  206. #define WPStartup_wpModifyFldrFlags WPFolder_wpModifyFldrFlags
  207. #define WPStartup_wpAddToContent WPFolder_wpAddToContent
  208. #define WPStartup_wpDeleteFromContent WPFolder_wpDeleteFromContent
  209. #define WPStartup_wpSetDetailsColumnVisibility WPFolder_wpSetDetailsColumnVisibility
  210. #define WPStartup_wpIsDetailsColumnVisible WPFolder_wpIsDetailsColumnVisible
  211. #define WPStartup_wpSetFldrSortClass WPFolder_wpSetFldrSortClass
  212. #define WPStartup_wpQueryFldrSortClass WPFolder_wpQueryFldrSortClass
  213. #define WPStartup_wpSetSortAttribAvailable WPFolder_wpSetSortAttribAvailable
  214. #define WPStartup_wpIsSortAttribAvailable WPFolder_wpIsSortAttribAvailable
  215. #define WPStartup_wpQueryIconViewPos WPFolder_wpQueryIconViewPos
  216. #define WPStartup_wpAddFirstChild WPFolder_wpAddFirstChild
  217. #define WPStartup_wpFlushNotifications WPFolder_wpFlushNotifications
  218. #define WPStartup_wpSetMenuBarVisibility WPFolder_wpSetMenuBarVisibility
  219. #define WPStartup_wpQueryMenuBarVisibility WPFolder_wpQueryMenuBarVisibility
  220. #define WPStartup_wpQueryIconTextBackgroundColor WPFolder_wpQueryIconTextBackgroundColor
  221. #define WPStartup_wpSetIconTextBackgroundColor WPFolder_wpSetIconTextBackgroundColor
  222. #define WPStartup_wpQueryIconTextColor WPFolder_wpQueryIconTextColor
  223. #define WPStartup_wpSetIconTextColor WPFolder_wpSetIconTextColor
  224. #define WPStartup_wpQueryShadowTextColor WPFolder_wpQueryShadowTextColor
  225. #define WPStartup_wpSetShadowTextColor WPFolder_wpSetShadowTextColor
  226. #define WPStartup_wpQueryIconTextVisibility WPFolder_wpQueryIconTextVisibility
  227. #define WPStartup_wpSetIconTextVisibility WPFolder_wpSetIconTextVisibility
  228. #define WPStartup_wpQueryFldrBackground WPFolder_wpQueryFldrBackground
  229. #define WPStartup_wpSetFldrBackground WPFolder_wpSetFldrBackground
  230. #define WPStartup_wpUnInitData WPObject_wpUnInitData
  231. #define WPStartup_wpDelete WPObject_wpDelete
  232. #define WPStartup_wpConfirmDelete WPObject_wpConfirmDelete
  233. #define WPStartup_wpSaveState WPObject_wpSaveState
  234. #define WPStartup_wpMenuItemSelected WPObject_wpMenuItemSelected
  235. #define WPStartup_wpAddSettingsPages WPObject_wpAddSettingsPages
  236. #define WPStartup_wpOpen WPObject_wpOpen
  237. #define WPStartup_wpSetup WPObject_wpSetup
  238. #define WPStartup_wpMoveObject WPObject_wpMoveObject
  239. #define WPStartup_wpDrop WPObject_wpDrop
  240. #define WPStartup_wpDragOver WPObject_wpDragOver
  241. #define WPStartup_wpMenuItemHelpSelected WPObject_wpMenuItemHelpSelected
  242. #define WPStartup_wpAddFile3Page WPFileSystem_wpAddFile3Page
  243. #define WPStartup_wpAddFile2Page WPFileSystem_wpAddFile2Page
  244. #define WPStartup_wpFormatDragItem WPObject_wpFormatDragItem
  245. #define WPStartup_wpRender WPObject_wpRender
  246. #define WPStartup_wpRefresh WPFileSystem_wpRefresh
  247. #define WPStartup_wpQueryDefaultView WPObject_wpQueryDefaultView
  248. #define WPStartup_wpRenderComplete WPObject_wpRenderComplete
  249. #define WPStartup_wpAddFileMenuPage WPFileSystem_wpAddFileMenuPage
  250. #define WPStartup_wpQueryDefaultHelp WPObject_wpQueryDefaultHelp
  251. #define WPStartup_wpObjectReady WPObject_wpObjectReady
  252. #define WPStartup_wpAddObjectWindowPage WPObject_wpAddObjectWindowPage
  253. #define WPStartup_wpModifyMenu WPObject_wpModifyMenu
  254. #define WPStartup_wpFilterMenu WPObject_wpFilterMenu
  255. #define WPStartup_wpDisplayMenu WPObject_wpDisplayMenu
  256. #define WPStartup_wpSetIconData WPObject_wpSetIconData
  257. #define WPStartup_wpSetRealName WPFileSystem_wpSetRealName
  258. #define WPStartup_wpSetType WPFileSystem_wpSetType
  259. #define WPStartup_wpQueryType WPFileSystem_wpQueryType
  260. #define WPStartup_wpSetAttr WPFileSystem_wpSetAttr
  261. #define WPStartup_wpQueryAttr WPFileSystem_wpQueryAttr
  262. #define WPStartup_wpAddFile1Page WPFileSystem_wpAddFile1Page
  263. #define WPStartup_wpQueryCreation WPFileSystem_wpQueryCreation
  264. #define WPStartup_wpQueryLastAccess WPFileSystem_wpQueryLastAccess
  265. #define WPStartup_wpQueryLastWrite WPFileSystem_wpQueryLastWrite
  266. #define WPStartup_wpQueryFileSize WPFileSystem_wpQueryFileSize
  267. #define WPStartup_wpQueryEASize WPFileSystem_wpQueryEASize
  268. #define WPStartup_wpSetDateInfo WPFileSystem_wpSetDateInfo
  269. #define WPStartup_wpSetFileSizeInfo WPFileSystem_wpSetFileSizeInfo
  270. #define WPStartup_wpQueryRefreshFlags WPFileSystem_wpQueryRefreshFlags
  271. #define WPStartup_wpSetRefreshFlags WPFileSystem_wpSetRefreshFlags
  272. #define WPStartup_wpPrintPlainTextFile WPFileSystem_wpPrintPlainTextFile
  273. #define WPStartup_wpSetTitleAndRenameFile WPFileSystem_wpSetTitleAndRenameFile
  274. #define WPStartup_wpConfirmRenameFileWithExt WPFileSystem_wpConfirmRenameFileWithExt
  275. #define WPStartup_wpVerifyUpdateAccess WPFileSystem_wpVerifyUpdateAccess
  276. #define WPStartup_wpQueryEASupport WPFileSystem_wpQueryEASupport
  277. #define WPStartup_wpAddUserItemsToPopupMenu WPFileSystem_wpAddUserItemsToPopupMenu
  278. #define WPStartup_wpIsDiskSwapped WPFileSystem_wpIsDiskSwapped
  279. #define WPStartup_wpQueryRealName WPFileSystem_wpQueryRealName
  280. #define WPStartup_wpQueryFilename WPFileSystem_wpQueryFilename
  281. #define WPStartup_wpQueryDisk WPFileSystem_wpQueryDisk
  282. #define WPStartup_wpQueryDateInfo WPFileSystem_wpQueryDateInfo
  283. #define WPStartup_wpConfirmKeepAssoc WPFileSystem_wpConfirmKeepAssoc
  284. #define WPStartup_wpQueryFileSizeL WPFileSystem_wpQueryFileSizeL
  285. #define WPStartup_wpSetFileSizeL WPFileSystem_wpSetFileSizeL
  286. #define WPStartup_wpQueryHandle WPObject_wpQueryHandle
  287. #define WPStartup_wpSaveImmediate WPObject_wpSaveImmediate
  288. #define WPStartup_wpSetTitle WPObject_wpSetTitle
  289. #define WPStartup_wpViewObject WPObject_wpViewObject
  290. #define WPStartup_wpSwitchTo WPObject_wpSwitchTo
  291. #define WPStartup_wpCopyObject WPObject_wpCopyObject
  292. #define WPStartup_wpCreateFromTemplate WPObject_wpCreateFromTemplate
  293. #define WPStartup_wpQueryIcon WPObject_wpQueryIcon
  294. #define WPStartup_wpQueryIconData WPObject_wpQueryIconData
  295. #define WPStartup_wpQueryDetailsData WPObject_wpQueryDetailsData
  296. #define WPStartup_wpDraggedOverObject WPObject_wpDraggedOverObject
  297. #define WPStartup_wpDroppedOnObject WPObject_wpDroppedOnObject
  298. #define WPStartup_wpQueryNameClashOptions WPObject_wpQueryNameClashOptions
  299. #define WPStartup_wpAppendObject WPObject_wpAppendObject
  300. #define WPStartup_wpReplaceObject WPObject_wpReplaceObject
  301. #define WPStartup_wpQueryStyle WPObject_wpQueryStyle
  302. #define WPStartup_wpDoesObjectMatch WPObject_wpDoesObjectMatch
  303. #define WPStartup_wpIdentify WPObject_wpIdentify
  304. #define WPStartup_wpIsDeleteable WPObject_wpIsDeleteable
  305. #define WPStartup_wpAddObjectGeneralPage WPObject_wpAddObjectGeneralPage
  306. #define WPStartup_wpAddObjectGeneralPage2 WPObject_wpAddObjectGeneralPage2
  307. #define WPStartup_wpAddToObjUseList WPObject_wpAddToObjUseList
  308. #define WPStartup_wpAllocMem WPObject_wpAllocMem
  309. #define WPStartup_wpAssertObjectMutexSem WPObject_wpAssertObjectMutexSem
  310. #define WPStartup_wpClose WPObject_wpClose
  311. #define WPStartup_wpCnrInsertObject WPObject_wpCnrInsertObject
  312. #define WPStartup_wpCnrRemoveObject WPObject_wpCnrRemoveObject
  313. #define WPStartup_wpCnrSetEmphasis WPObject_wpCnrSetEmphasis
  314. #define WPStartup_wpConfirmObjectTitle WPObject_wpConfirmObjectTitle
  315. #define WPStartup_wpCopiedFromTemplate WPObject_wpCopiedFromTemplate
  316. #define WPStartup_wpCreateAnother WPObject_wpCreateAnother
  317. #define WPStartup_wpCreateShadowObject WPObject_wpCreateShadowObject
  318. #define WPStartup_wpDeleteFromObjUseList WPObject_wpDeleteFromObjUseList
  319. #define WPStartup_wpDisplayHelp WPObject_wpDisplayHelp
  320. #define WPStartup_wpEndConversation WPObject_wpEndConversation
  321. #define WPStartup_wpFilterPopupMenu WPObject_wpFilterPopupMenu
  322. #define WPStartup_wpFindUseItem WPObject_wpFindUseItem
  323. #define WPStartup_wpFreeMem WPObject_wpFreeMem
  324. #define WPStartup_wpHide WPObject_wpHide
  325. #define WPStartup_wpInsertPopupMenuItems WPObject_wpInsertPopupMenuItems
  326. #define WPStartup_wpInsertMenuItems WPObject_wpInsertMenuItems
  327. #define WPStartup_wpInsertSettingsPage WPObject_wpInsertSettingsPage
  328. #define WPStartup_wpModifyPopupMenu WPObject_wpModifyPopupMenu
  329. #define WPStartup_wpPrintObject WPObject_wpPrintObject
  330. #define WPStartup_wpQueryConcurrentView WPObject_wpQueryConcurrentView
  331. #define WPStartup_wpQueryButtonAppearance WPObject_wpQueryButtonAppearance
  332. #define WPStartup_wpQueryConfirmations WPObject_wpQueryConfirmations
  333. #define WPStartup_wpQueryError WPObject_wpQueryError
  334. #define WPStartup_wpSetFolder WPObject_wpSetFolder
  335. #define WPStartup_wpQueryFolder WPObject_wpQueryFolder
  336. #define WPStartup_wpQueryMinWindow WPObject_wpQueryMinWindow
  337. #define WPStartup_wpSetTaskRec WPObject_wpSetTaskRec
  338. #define WPStartup_wpFindTaskRec WPObject_wpFindTaskRec
  339. #define WPStartup_wpQueryTitle WPObject_wpQueryTitle
  340. #define WPStartup_wpRegisterView WPObject_wpRegisterView
  341. #define WPStartup_wpReleaseObjectMutexSem WPObject_wpReleaseObjectMutexSem
  342. #define WPStartup_wpRequestObjectMutexSem WPObject_wpRequestObjectMutexSem
  343. #define WPStartup_wpRestore WPObject_wpRestore
  344. #define WPStartup_wpRestoreData WPObject_wpRestoreData
  345. #define WPStartup_wpRestoreLong WPObject_wpRestoreLong
  346. #define WPStartup_wpRestoreString WPObject_wpRestoreString
  347. #define WPStartup_wpSaveData WPObject_wpSaveData
  348. #define WPStartup_wpSaveDeferred WPObject_wpSaveDeferred
  349. #define WPStartup_wpSaveLong WPObject_wpSaveLong
  350. #define WPStartup_wpSaveString WPObject_wpSaveString
  351. #define WPStartup_wpScanSetupString WPObject_wpScanSetupString
  352. #define WPStartup_wpSetConcurrentView WPObject_wpSetConcurrentView
  353. #define WPStartup_wpSetButtonAppearance WPObject_wpSetButtonAppearance
  354. #define WPStartup_wpSetDefaultHelp WPObject_wpSetDefaultHelp
  355. #define WPStartup_wpSetDefaultView WPObject_wpSetDefaultView
  356. #define WPStartup_wpSetError WPObject_wpSetError
  357. #define WPStartup_wpQueryScreenGroupID WPObject_wpQueryScreenGroupID
  358. #define WPStartup_wpSetIcon WPObject_wpSetIcon
  359. #define WPStartup_wpSetMinWindow WPObject_wpSetMinWindow
  360. #define WPStartup_wpModifyStyle WPObject_wpModifyStyle
  361. #define WPStartup_wpQueryTrueStyle WPObject_wpQueryTrueStyle
  362. #define WPStartup_wpUnlockObject WPObject_wpUnlockObject
  363. #define WPStartup_wpIsObjectInitialized WPObject_wpIsObjectInitialized
  364. #define WPStartup_wpCreateShadowObjectExt WPObject_wpCreateShadowObjectExt
  365. #define WPStartup_wpCnrDeleteUseItem WPObject_wpCnrDeleteUseItem
  366. #define WPStartup_wpQueryCoreRecord WPObject_wpQueryCoreRecord
  367. #define WPStartup_wpSetObjectID WPObject_wpSetObjectID
  368. #define WPStartup_wpQueryObjectID WPObject_wpQueryObjectID
  369. #define WPStartup_wpSetDefaultIconPos WPObject_wpSetDefaultIconPos
  370. #define WPStartup_wpQueryDefaultIconPos WPObject_wpQueryDefaultIconPos
  371. #define WPStartup_wpCnrRefreshDetails WPObject_wpCnrRefreshDetails
  372. #define WPStartup_wpFindViewItem WPObject_wpFindViewItem
  373. #define WPStartup_wpLockObject WPObject_wpLockObject
  374. #define WPStartup_wpIsLocked WPObject_wpIsLocked
  375. #define WPStartup_wpQueryContainerFlagPtr WPObject_wpQueryContainerFlagPtr
  376. #define WPStartup_wpWaitForClose WPObject_wpWaitForClose
  377. #define WPStartup_wpSetMenuStyle WPObject_wpSetMenuStyle
  378. #define WPStartup_wpQueryMenuStyle WPObject_wpQueryMenuStyle
  379. #define WPStartup_wpSetStyle WPObject_wpSetStyle
  380. #define WPStartup_somInit SOMObject_somInit
  381. #define WPStartup_somUninit SOMObject_somUninit
  382. #define WPStartup_somDefaultCopyInit SOMObject_somDefaultCopyInit
  383. #define WPStartup_somDefaultAssign SOMObject_somDefaultAssign
  384. #define WPStartup_somDefaultConstCopyInit SOMObject_somDefaultConstCopyInit
  385. #define WPStartup_somDefaultVCopyInit SOMObject_somDefaultVCopyInit
  386. #define WPStartup_somDefaultConstVCopyInit SOMObject_somDefaultConstVCopyInit
  387. #define WPStartup_somDefaultConstAssign SOMObject_somDefaultConstAssign
  388. #define WPStartup_somDefaultVAssign SOMObject_somDefaultVAssign
  389. #define WPStartup_somDefaultConstVAssign SOMObject_somDefaultConstVAssign
  390. #define WPStartup_somFree SOMObject_somFree
  391. #define WPStartup_somGetClass SOMObject_somGetClass
  392. #define WPStartup_somGetClassName SOMObject_somGetClassName
  393. #define WPStartup_somGetSize SOMObject_somGetSize
  394. #define WPStartup_somIsA SOMObject_somIsA
  395. #define WPStartup_somIsInstanceOf SOMObject_somIsInstanceOf
  396. #define WPStartup_somRespondsTo SOMObject_somRespondsTo
  397. #define WPStartup_somDispatch SOMObject_somDispatch
  398. #define WPStartup_somClassDispatch SOMObject_somClassDispatch
  399. #define WPStartup_somCastObj SOMObject_somCastObj
  400. #define WPStartup_somResetObj SOMObject_somResetObj
  401. #define WPStartup_somDispatchV SOMObject_somDispatchV
  402. #define WPStartup_somDispatchL SOMObject_somDispatchL
  403. #define WPStartup_somDispatchA SOMObject_somDispatchA
  404. #define WPStartup_somDispatchD SOMObject_somDispatchD
  405. #define WPStartup_somPrintSelf SOMObject_somPrintSelf
  406. #define WPStartup_somDumpSelf SOMObject_somDumpSelf
  407. #define WPStartup_somDumpSelfInt SOMObject_somDumpSelfInt
  408. #endif /* SOM_DONT_USE_INHERITED_MACROS */
  409.  
  410. #endif       /* SOM_WPStartup_h */
  411.  
  412. #ifndef SOM_M_WPStartup_h
  413. #define SOM_M_WPStartup_h
  414.  
  415.  
  416. #include <som.h>
  417.  
  418. /*
  419.  * -- This emitter treats Method Tokens as Thunks by default.
  420.  * -- Use the sc modifier "nothunks" to change this default
  421.  */
  422. #undef somresolve_
  423. #define somresolve_(obj,mToken) ((somMethodProc*)((void)obj, mToken))
  424.  
  425. /*
  426.  * Define the class name as an object type
  427.  */
  428. #ifndef M_WPStartup
  429. #define M_WPStartup SOMObject
  430. #endif
  431. #include <wpfolder.h>
  432.  
  433. /*
  434.  * Start of bindings for IDL types
  435.  */
  436.  
  437.  
  438. /*
  439.  * End of bindings for IDL types.
  440.  */
  441.  
  442. #define M_WPStartup_MajorVersion 1
  443. #define M_WPStartup_MinorVersion 2
  444.  
  445. /*
  446.  * External name shortening if required
  447.  */
  448. #ifdef SOM_USE_SHORT_EXTERNAL_NAMES
  449. #define M_WPStartupNewClass WPStartc
  450. #pragma linkage(WPStartc, system)
  451. #define M_WPStartupClassData WPStartd
  452. #define M_WPStartupCClassData WPStartx
  453. #endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
  454. /*--------------Migration------------*/
  455. #define M_WPStartup_classObj M_WPStartupClassData.classObject
  456. #define _M_WPStartup M_WPStartup_classObj
  457.  
  458. /*
  459.  * Declare the class creation procedure
  460.  */
  461. SOMEXTERN SOMClass * SOMLINK M_WPStartupNewClass(integer4 somtmajorVersion,
  462.         integer4 somtminorVersion);
  463. #pragma linkage(M_WPStartupNewClass, system)
  464.  
  465. /*
  466.  * Declare the class data structure
  467.  */
  468. SOMEXTERN struct M_WPStartupClassDataStructure {
  469.     SOMClass *classObject;
  470. } SOMDLINK M_WPStartupClassData;
  471.  
  472. /*
  473.  * Declare the C specific class data structure
  474.  */
  475. SOMEXTERN struct M_WPStartupCClassDataStructure {
  476.     somMethodTabs parentMtab;
  477.     somDToken instanceDataToken;
  478. } SOMDLINK M_WPStartupCClassData;
  479.  
  480. /*
  481.  * New and Renew macros for M_WPStartup
  482.  */
  483. #define M_WPStartupNew() \
  484.    ( _M_WPStartup ? \
  485.     _somNew(_M_WPStartup) \
  486.     : ( M_WPStartupNewClass(\
  487.         M_WPStartup_MajorVersion, \
  488.         M_WPStartup_MinorVersion),\
  489.        _somNew(_M_WPStartup)))
  490. #define M_WPStartupRenew(buf) \
  491.    ( _M_WPStartup ? \
  492.     _somRenew(_M_WPStartup, buf) \
  493.     : ( M_WPStartupNewClass(\
  494.         M_WPStartup_MajorVersion, \
  495.         M_WPStartup_MinorVersion),\
  496.        _somRenew(_M_WPStartup, buf)))
  497.  
  498. /*
  499.  * Override method: wpclsQueryDefaultHelp
  500.  */
  501. #define M_WPStartup_wpclsQueryDefaultHelp(somSelf,pHelpPanelId,pszHelpLibrary) \
  502.     M_WPObject_wpclsQueryDefaultHelp(somSelf,pHelpPanelId,pszHelpLibrary)
  503.  
  504. /*
  505.  * Override method: wpclsQueryTitle
  506.  */
  507. #define M_WPStartup_wpclsQueryTitle(somSelf) \
  508.     M_WPObject_wpclsQueryTitle(somSelf)
  509.  
  510. /*
  511.  * Override method: wpclsQueryIconData
  512.  */
  513. #define M_WPStartup_wpclsQueryIconData(somSelf,pIconInfo) \
  514.     M_WPObject_wpclsQueryIconData(somSelf,pIconInfo)
  515.  
  516. /*
  517.  * Override method: wpclsQueryIconDataN
  518.  */
  519. #define M_WPStartup_wpclsQueryIconDataN(somSelf,pIconInfo,ulIconIndex) \
  520.     M_WPFolder_wpclsQueryIconDataN(somSelf,pIconInfo,ulIconIndex)
  521.  
  522. /*
  523.  * Override method: wpclsQueryStyle
  524.  */
  525. #define M_WPStartup_wpclsQueryStyle(somSelf) \
  526.     M_WPObject_wpclsQueryStyle(somSelf)
  527. #ifndef SOM_DONT_USE_INHERITED_MACROS
  528. #define M_WPStartup_wpclsQueryIconN M_WPFolder_wpclsQueryIconN
  529. #define M_WPStartup_wpclsQueryOpenFolders M_WPFolder_wpclsQueryOpenFolders
  530. #define M_WPStartup_wpclsInitData M_WPObject_wpclsInitData
  531. #define M_WPStartup_wpclsQueryDefaultView M_WPObject_wpclsQueryDefaultView
  532. #define M_WPStartup_wpclsQuerySettingsPageSize M_WPObject_wpclsQuerySettingsPageSize
  533. #define M_WPStartup_wpclsQueryAwakeObject M_WPFileSystem_wpclsQueryAwakeObject
  534. #define M_WPStartup_wpclsFileSysExists M_WPFileSystem_wpclsFileSysExists
  535. #define M_WPStartup_wpclsQueryObjectFromPath M_WPFileSystem_wpclsQueryObjectFromPath
  536. #define M_WPStartup_wpclsQueryInstanceType M_WPFileSystem_wpclsQueryInstanceType
  537. #define M_WPStartup_wpclsQueryInstanceFilter M_WPFileSystem_wpclsQueryInstanceFilter
  538. #define M_WPStartup_wpclsQueryInstanceClass M_WPFileSystem_wpclsQueryInstanceClass
  539. #define M_WPStartup_wpclsQueryDetailsInfo M_WPObject_wpclsQueryDetailsInfo
  540. #define M_WPStartup_wpclsQuerySearchInfo M_WPObject_wpclsQuerySearchInfo
  541. #define M_WPStartup_wpclsQueryExtendedCriteria M_WPObject_wpclsQueryExtendedCriteria
  542. #define M_WPStartup_wpclsNew M_WPObject_wpclsNew
  543. #define M_WPStartup_wpclsObjectFromHandle M_WPObject_wpclsObjectFromHandle
  544. #define M_WPStartup_wpclsCreateDefaultTemplates M_WPObject_wpclsCreateDefaultTemplates
  545. #define M_WPStartup_wpclsMakeAwake M_WPObject_wpclsMakeAwake
  546. #define M_WPStartup_wpclsQueryDetails M_WPObject_wpclsQueryDetails
  547. #define M_WPStartup_wpclsQueryFolder M_WPObject_wpclsQueryFolder
  548. #define M_WPStartup_wpclsQueryIcon M_WPObject_wpclsQueryIcon
  549. #define M_WPStartup_wpclsUnInitData M_WPObject_wpclsUnInitData
  550. #define M_WPStartup_wpclsFindObjectFirst M_WPObject_wpclsFindObjectFirst
  551. #define M_WPStartup_wpclsFindObjectNext M_WPObject_wpclsFindObjectNext
  552. #define M_WPStartup_wpclsFindObjectEnd M_WPObject_wpclsFindObjectEnd
  553. #define M_WPStartup_wpclsSetError M_WPObject_wpclsSetError
  554. #define M_WPStartup_wpclsQueryError M_WPObject_wpclsQueryError
  555. #define M_WPStartup_wpclsQueryObject M_WPObject_wpclsQueryObject
  556. #define M_WPStartup_wpclsQueryButtonAppearance M_WPObject_wpclsQueryButtonAppearance
  557. #define M_WPStartup_wpclsDecUsage M_WPObject_wpclsDecUsage
  558. #define M_WPStartup_wpclsIncUsage M_WPObject_wpclsIncUsage
  559. #define M_WPStartup_wpclsInsertMultipleObjects M_WPObject_wpclsInsertMultipleObjects
  560. #define M_WPStartup_wpclsFindOneObject M_WPObject_wpclsFindOneObject
  561. #define M_WPStartup_wpclsSetSettingsPageSize M_WPObject_wpclsSetSettingsPageSize
  562. #define M_WPStartup_wpclsSetIconData M_WPObject_wpclsSetIconData
  563. #define M_WPStartup_wpclsSetIcon M_WPObject_wpclsSetIcon
  564. #define M_WPStartup_wpclsRemoveObjects M_WPObject_wpclsRemoveObjects
  565. #define M_WPStartup_somUninit SOMObject_somUninit
  566. #define M_WPStartup_somClassReady SOMClass_somClassReady
  567. #define M_WPStartup_somNew SOMClass_somNew
  568. #define M_WPStartup_somRenew SOMClass_somRenew
  569. #define M_WPStartup__get_somDataAlignment SOMClass__get_somDataAlignment
  570. #define M_WPStartup__get_somInstanceDataOffsets SOMClass__get_somInstanceDataOffsets
  571. #define M_WPStartup__get_somDirectInitClasses SOMClass__get_somDirectInitClasses
  572. #define M_WPStartup__set_somDirectInitClasses SOMClass__set_somDirectInitClasses
  573. #define M_WPStartup_somNewNoInit SOMClass_somNewNoInit
  574. #define M_WPStartup_somRenewNoInit SOMClass_somRenewNoInit
  575. #define M_WPStartup_somRenewNoZero SOMClass_somRenewNoZero
  576. #define M_WPStartup_somRenewNoInitNoZero SOMClass_somRenewNoInitNoZero
  577. #define M_WPStartup_somAllocate SOMClass_somAllocate
  578. #define M_WPStartup_somDeallocate SOMClass_somDeallocate
  579. #define M_WPStartup__get_somClassAllocate SOMClass__get_somClassAllocate
  580. #define M_WPStartup__get_somClassDeallocate SOMClass__get_somClassDeallocate
  581. #define M_WPStartup_somGetInstanceInitMask SOMClass_somGetInstanceInitMask
  582. #define M_WPStartup_somGetInstanceDestructionMask SOMClass_somGetInstanceDestructionMask
  583. #define M_WPStartup_somGetInstanceAssignmentMask SOMClass_somGetInstanceAssignmentMask
  584. #define M_WPStartup_somInitClass SOMClass_somInitClass
  585. #define M_WPStartup_somInitMIClass SOMClass_somInitMIClass
  586. #define M_WPStartup_somAddStaticMethod SOMClass_somAddStaticMethod
  587. #define M_WPStartup_somAddDynamicMethod SOMClass_somAddDynamicMethod
  588. #define M_WPStartup_somOverrideSMethod SOMClass_somOverrideSMethod
  589. #define M_WPStartup_somGetApplyStub SOMClass_somGetApplyStub
  590. #define M_WPStartup_somGetClassData SOMClass_somGetClassData
  591. #define M_WPStartup_somSetClassData SOMClass_somSetClassData
  592. #define M_WPStartup_somGetClassMtab SOMClass_somGetClassMtab
  593. #define M_WPStartup_somGetInstanceOffset SOMClass_somGetInstanceOffset
  594. #define M_WPStartup_somGetInstancePartSize SOMClass_somGetInstancePartSize
  595. #define M_WPStartup_somGetInstanceSize SOMClass_somGetInstanceSize
  596. #define M_WPStartup_somGetInstanceToken SOMClass_somGetInstanceToken
  597. #define M_WPStartup_somGetMemberToken SOMClass_somGetMemberToken
  598. #define M_WPStartup_somGetMethodData SOMClass_somGetMethodData
  599. #define M_WPStartup_somGetRdStub SOMClass_somGetRdStub
  600. #define M_WPStartup_somGetMethodDescriptor SOMClass_somGetMethodDescriptor
  601. #define M_WPStartup_somGetMethodIndex SOMClass_somGetMethodIndex
  602. #define M_WPStartup_somGetMethodToken SOMClass_somGetMethodToken
  603. #define M_WPStartup_somGetName SOMClass_somGetName
  604. #define M_WPStartup_somGetNthMethodData SOMClass_somGetNthMethodData
  605. #define M_WPStartup_somGetNthMethodInfo SOMClass_somGetNthMethodInfo
  606. #define M_WPStartup_somGetNumMethods SOMClass_somGetNumMethods
  607. #define M_WPStartup_somGetNumStaticMethods SOMClass_somGetNumStaticMethods
  608. #define M_WPStartup_somGetParent SOMClass_somGetParent
  609. #define M_WPStartup_somGetParents SOMClass_somGetParents
  610. #define M_WPStartup_somGetPClsMtab SOMClass_somGetPClsMtab
  611. #define M_WPStartup_somGetPClsMtabs SOMClass_somGetPClsMtabs
  612. #define M_WPStartup_somGetVersionNumbers SOMClass_somGetVersionNumbers
  613. #define M_WPStartup_somSetMethodDescriptor SOMClass_somSetMethodDescriptor
  614. #define M_WPStartup_somFindMethod SOMClass_somFindMethod
  615. #define M_WPStartup_somFindMethodOk SOMClass_somFindMethodOk
  616. #define M_WPStartup_somFindSMethod SOMClass_somFindSMethod
  617. #define M_WPStartup_somFindSMethodOk SOMClass_somFindSMethodOk
  618. #define M_WPStartup_somLookupMethod SOMClass_somLookupMethod
  619. #define M_WPStartup_somCheckVersion SOMClass_somCheckVersion
  620. #define M_WPStartup_somDescendedFrom SOMClass_somDescendedFrom
  621. #define M_WPStartup_somSupportsMethod SOMClass_somSupportsMethod
  622. #define M_WPStartup_somDefinedMethod SOMClass_somDefinedMethod
  623. #define M_WPStartup_somOverrideMtab SOMClass_somOverrideMtab
  624. #define M_WPStartup_somDefaultInit SOMObject_somDefaultInit
  625. #define M_WPStartup_somDestruct SOMObject_somDestruct
  626. #define M_WPStartup_somDefaultCopyInit SOMObject_somDefaultCopyInit
  627. #define M_WPStartup_somDefaultAssign SOMObject_somDefaultAssign
  628. #define M_WPStartup_somDefaultConstCopyInit SOMObject_somDefaultConstCopyInit
  629. #define M_WPStartup_somDefaultVCopyInit SOMObject_somDefaultVCopyInit
  630. #define M_WPStartup_somDefaultConstVCopyInit SOMObject_somDefaultConstVCopyInit
  631. #define M_WPStartup_somDefaultConstAssign SOMObject_somDefaultConstAssign
  632. #define M_WPStartup_somDefaultVAssign SOMObject_somDefaultVAssign
  633. #define M_WPStartup_somDefaultConstVAssign SOMObject_somDefaultConstVAssign
  634. #define M_WPStartup_somInit SOMObject_somInit
  635. #define M_WPStartup_somFree SOMObject_somFree
  636. #define M_WPStartup_somGetClass SOMObject_somGetClass
  637. #define M_WPStartup_somGetClassName SOMObject_somGetClassName
  638. #define M_WPStartup_somGetSize SOMObject_somGetSize
  639. #define M_WPStartup_somIsA SOMObject_somIsA
  640. #define M_WPStartup_somIsInstanceOf SOMObject_somIsInstanceOf
  641. #define M_WPStartup_somRespondsTo SOMObject_somRespondsTo
  642. #define M_WPStartup_somDispatch SOMObject_somDispatch
  643. #define M_WPStartup_somClassDispatch SOMObject_somClassDispatch
  644. #define M_WPStartup_somCastObj SOMObject_somCastObj
  645. #define M_WPStartup_somResetObj SOMObject_somResetObj
  646. #define M_WPStartup_somDispatchV SOMObject_somDispatchV
  647. #define M_WPStartup_somDispatchL SOMObject_somDispatchL
  648. #define M_WPStartup_somDispatchA SOMObject_somDispatchA
  649. #define M_WPStartup_somDispatchD SOMObject_somDispatchD
  650. #define M_WPStartup_somPrintSelf SOMObject_somPrintSelf
  651. #define M_WPStartup_somDumpSelf SOMObject_somDumpSelf
  652. #define M_WPStartup_somDumpSelfInt SOMObject_somDumpSelfInt
  653. #endif /* SOM_DONT_USE_INHERITED_MACROS */
  654.  
  655. #endif       /* SOM_M_WPStartup_h */
  656.