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

  1.  
  2. /*
  3.  * This file was generated by the SOM Compiler.
  4.  * FileName: E:\cwpsh\rel\os2c\include\base\os2\wprootf.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: WPROOTF
  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_WPRootFolder_h
  23. #define SOM_WPRootFolder_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 WPRootFolder
  39. #define WPRootFolder 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_WPRootFolder
  69.     #define M_WPRootFolder SOMObject
  70. #endif /* M_WPRootFolder */
  71.  
  72. /*
  73.  * End of bindings for IDL types.
  74.  */
  75.  
  76. #define WPRootFolder_MajorVersion 1
  77. #define WPRootFolder_MinorVersion 2
  78.  
  79. /*
  80.  * External name shortening if required
  81.  */
  82. #ifdef SOM_USE_SHORT_EXTERNAL_NAMES
  83. #define WPRootFolderNewClass wprfc
  84. #pragma linkage(wprfc, system)
  85. #define WPRootFolderClassData wprfd
  86. #define WPRootFolderCClassData wprfx
  87. #endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
  88.  
  89. /*
  90.  * Include the meta class file
  91.  */
  92. #include <wprootf.h>
  93. /*--------------Migration------------*/
  94. #define WPRootFolder_classObj WPRootFolderClassData.classObject
  95. #define _WPRootFolder WPRootFolder_classObj
  96.  
  97. /*
  98.  * Declare the class creation procedure
  99.  */
  100. SOMEXTERN SOMClass * SOMLINK WPRootFolderNewClass(integer4 somtmajorVersion,
  101.         integer4 somtminorVersion);
  102. #pragma linkage(WPRootFolderNewClass, system)
  103.  
  104. /*
  105.  * Declare the class data structure
  106.  */
  107. SOMEXTERN struct WPRootFolderClassDataStructure {
  108.     SOMClass *classObject;
  109.     somMToken wpRootFolderPrivate1;
  110.     somMToken wpRefresh;
  111. } SOMDLINK WPRootFolderClassData;
  112.  
  113. /*
  114.  * Declare the C specific class data structure
  115.  */
  116. SOMEXTERN struct WPRootFolderCClassDataStructure {
  117.     somMethodTabs parentMtab;
  118.     somDToken instanceDataToken;
  119. } SOMDLINK WPRootFolderCClassData;
  120.  
  121. /*
  122.  * New and Renew macros for WPRootFolder
  123.  */
  124. #define WPRootFolderNew() \
  125.    ( _WPRootFolder ? \
  126.     _somNew(_WPRootFolder) \
  127.     : ( WPRootFolderNewClass(\
  128.         WPRootFolder_MajorVersion, \
  129.         WPRootFolder_MinorVersion),\
  130.        _somNew(_WPRootFolder)))
  131. #define WPRootFolderRenew(buf) \
  132.    ( _WPRootFolder ? \
  133.     _somRenew(_WPRootFolder, buf) \
  134.     : ( WPRootFolderNewClass(\
  135.         WPRootFolder_MajorVersion, \
  136.         WPRootFolder_MinorVersion),\
  137.        _somRenew(_WPRootFolder, buf)))
  138.  
  139. /*
  140.  * Override method: wpSetTitle
  141.  */
  142. #define WPRootFolder_wpSetTitle(somSelf,pszNewTitle) \
  143.     WPObject_wpSetTitle(somSelf,pszNewTitle)
  144.  
  145. /*
  146.  * Override method: wpOpen
  147.  */
  148. #define WPRootFolder_wpOpen(somSelf,hwndCnr,ulView,param) \
  149.     WPObject_wpOpen(somSelf,hwndCnr,ulView,param)
  150.  
  151. /*
  152.  * Override method: wpSaveState
  153.  */
  154. #define WPRootFolder_wpSaveState(somSelf) \
  155.     WPObject_wpSaveState(somSelf)
  156.  
  157. /*
  158.  * Override method: wpRestoreState
  159.  */
  160. #define WPRootFolder_wpRestoreState(somSelf,ulReserved) \
  161.     WPObject_wpRestoreState(somSelf,ulReserved)
  162.  
  163. /*
  164.  * Override method: wpAddFile1Page
  165.  */
  166. #define WPRootFolder_wpAddFile1Page(somSelf,hwndNotebook) \
  167.     WPFileSystem_wpAddFile1Page(somSelf,hwndNotebook)
  168.  
  169. /*
  170.  * Override method: wpAddFile2Page
  171.  */
  172. #define WPRootFolder_wpAddFile2Page(somSelf,hwndNotebook) \
  173.     WPFileSystem_wpAddFile2Page(somSelf,hwndNotebook)
  174.  
  175. /*
  176.  * Override method: wpAddFile3Page
  177.  */
  178. #define WPRootFolder_wpAddFile3Page(somSelf,hwndNotebook) \
  179.     WPFileSystem_wpAddFile3Page(somSelf,hwndNotebook)
  180.  
  181. /*
  182.  * Override method: wpSetDefaultView
  183.  */
  184. #define WPRootFolder_wpSetDefaultView(somSelf,ulView) \
  185.     WPObject_wpSetDefaultView(somSelf,ulView)
  186.  
  187. /*
  188.  * Override method: wpRefresh
  189.  */
  190. #define WPRootFolder_wpRefresh(somSelf,ulView,pReserved) \
  191.     WPFileSystem_wpRefresh(somSelf,ulView,pReserved)
  192.  
  193. /*
  194.  * Override method: wpFilterMenu
  195.  */
  196. #define WPRootFolder_wpFilterMenu(somSelf,pFlags,hwndCnr,fMultiSelect,ulMenuType,ulView,ulReserved) \
  197.     WPObject_wpFilterMenu(somSelf,pFlags,hwndCnr,fMultiSelect,ulMenuType,ulView,ulReserved)
  198.  
  199. /*
  200.  * Override method: somDefaultInit
  201.  */
  202. #define WPRootFolder_somDefaultInit(somSelf,ctrl) \
  203.     SOMObject_somDefaultInit(somSelf,ctrl)
  204.  
  205. /*
  206.  * Override method: somDestruct
  207.  */
  208. #define WPRootFolder_somDestruct(somSelf,doFree,ctrl) \
  209.     SOMObject_somDestruct(somSelf,doFree,ctrl)
  210.  
  211. /*
  212.  * Override method: wpViewObject
  213.  */
  214. #define WPRootFolder_wpViewObject(somSelf,hwndCnr,ulView,param) \
  215.     WPObject_wpViewObject(somSelf,hwndCnr,ulView,param)
  216.  
  217. /*
  218.  * Override method: wpFindViewItem
  219.  */
  220. #define WPRootFolder_wpFindViewItem(somSelf,flViews,pCurrentItem) \
  221.     WPObject_wpFindViewItem(somSelf,flViews,pCurrentItem)
  222.  
  223. /*
  224.  * Override method: wpSetFldrSort
  225.  */
  226. #define WPRootFolder_wpSetFldrSort(somSelf,pSortRecord,ulView,ulType) \
  227.     WPFolder_wpSetFldrSort(somSelf,pSortRecord,ulView,ulType)
  228.  
  229. /*
  230.  * Override method: wpQueryDisk
  231.  */
  232. #define WPRootFolder_wpQueryDisk(somSelf) \
  233.     WPFileSystem_wpQueryDisk(somSelf)
  234. #ifndef SOM_DONT_USE_INHERITED_MACROS
  235. #define WPRootFolder_wpSetFldrFlags WPFolder_wpSetFldrFlags
  236. #define WPRootFolder_wpQueryFldrFlags WPFolder_wpQueryFldrFlags
  237. #define WPRootFolder_wpSetFldrFont WPFolder_wpSetFldrFont
  238. #define WPRootFolder_wpQueryFldrFont WPFolder_wpQueryFldrFont
  239. #define WPRootFolder_wpSetFldrAttr WPFolder_wpSetFldrAttr
  240. #define WPRootFolder_wpQueryFldrAttr WPFolder_wpQueryFldrAttr
  241. #define WPRootFolder_wpSetNextIconPos WPFolder_wpSetNextIconPos
  242. #define WPRootFolder_wpQueryNextIconPos WPFolder_wpQueryNextIconPos
  243. #define WPRootFolder_wpPopulate WPFolder_wpPopulate
  244. #define WPRootFolder_wpQueryContent WPFolder_wpQueryContent
  245. #define WPRootFolder_wpAddFolderView1Page WPFolder_wpAddFolderView1Page
  246. #define WPRootFolder_wpAddFolderView2Page WPFolder_wpAddFolderView2Page
  247. #define WPRootFolder_wpAddFolderView3Page WPFolder_wpAddFolderView3Page
  248. #define WPRootFolder_wpAddFolderIncludePage WPFolder_wpAddFolderIncludePage
  249. #define WPRootFolder_wpAddFolderSortPage WPFolder_wpAddFolderSortPage
  250. #define WPRootFolder_wpAddFolderBackgroundPage WPFolder_wpAddFolderBackgroundPage
  251. #define WPRootFolder_wpAddFolderMenu2Page WPFolder_wpAddFolderMenu2Page
  252. #define WPRootFolder_wpAddFolderSelfClosePage WPFolder_wpAddFolderSelfClosePage
  253. #define WPRootFolder_wpInitIconPosData WPFolder_wpInitIconPosData
  254. #define WPRootFolder_wpFreeIconPosData WPFolder_wpFreeIconPosData
  255. #define WPRootFolder_wpStoreIconPosData WPFolder_wpStoreIconPosData
  256. #define WPRootFolder_wpQueryIconPosition WPFolder_wpQueryIconPosition
  257. #define WPRootFolder_wpQueryFldrSort WPFolder_wpQueryFldrSort
  258. #define WPRootFolder_wpRestoreFldrRunObjs WPFolder_wpRestoreFldrRunObjs
  259. #define WPRootFolder_wpStoreFldrRunObjs WPFolder_wpStoreFldrRunObjs
  260. #define WPRootFolder_wpHideFldrRunObjs WPFolder_wpHideFldrRunObjs
  261. #define WPRootFolder_wpDeleteContents WPFolder_wpDeleteContents
  262. #define WPRootFolder_wpSetFldrDetailsClass WPFolder_wpSetFldrDetailsClass
  263. #define WPRootFolder_wpQueryFldrDetailsClass WPFolder_wpQueryFldrDetailsClass
  264. #define WPRootFolder_wpSearchFolder WPFolder_wpSearchFolder
  265. #define WPRootFolder_wpContainsFolders WPFolder_wpContainsFolders
  266. #define WPRootFolder_wpQueryOpenFolders WPFolder_wpQueryOpenFolders
  267. #define WPRootFolder_wpModifyFldrFlags WPFolder_wpModifyFldrFlags
  268. #define WPRootFolder_wpAddToContent WPFolder_wpAddToContent
  269. #define WPRootFolder_wpDeleteFromContent WPFolder_wpDeleteFromContent
  270. #define WPRootFolder_wpSetDetailsColumnVisibility WPFolder_wpSetDetailsColumnVisibility
  271. #define WPRootFolder_wpIsDetailsColumnVisible WPFolder_wpIsDetailsColumnVisible
  272. #define WPRootFolder_wpSetFldrSortClass WPFolder_wpSetFldrSortClass
  273. #define WPRootFolder_wpQueryFldrSortClass WPFolder_wpQueryFldrSortClass
  274. #define WPRootFolder_wpSetSortAttribAvailable WPFolder_wpSetSortAttribAvailable
  275. #define WPRootFolder_wpIsSortAttribAvailable WPFolder_wpIsSortAttribAvailable
  276. #define WPRootFolder_wpQueryIconViewPos WPFolder_wpQueryIconViewPos
  277. #define WPRootFolder_wpAddFirstChild WPFolder_wpAddFirstChild
  278. #define WPRootFolder_wpFlushNotifications WPFolder_wpFlushNotifications
  279. #define WPRootFolder_wpSetMenuBarVisibility WPFolder_wpSetMenuBarVisibility
  280. #define WPRootFolder_wpQueryMenuBarVisibility WPFolder_wpQueryMenuBarVisibility
  281. #define WPRootFolder_wpQueryIconTextBackgroundColor WPFolder_wpQueryIconTextBackgroundColor
  282. #define WPRootFolder_wpSetIconTextBackgroundColor WPFolder_wpSetIconTextBackgroundColor
  283. #define WPRootFolder_wpQueryIconTextColor WPFolder_wpQueryIconTextColor
  284. #define WPRootFolder_wpSetIconTextColor WPFolder_wpSetIconTextColor
  285. #define WPRootFolder_wpQueryShadowTextColor WPFolder_wpQueryShadowTextColor
  286. #define WPRootFolder_wpSetShadowTextColor WPFolder_wpSetShadowTextColor
  287. #define WPRootFolder_wpQueryIconTextVisibility WPFolder_wpQueryIconTextVisibility
  288. #define WPRootFolder_wpSetIconTextVisibility WPFolder_wpSetIconTextVisibility
  289. #define WPRootFolder_wpQueryFldrBackground WPFolder_wpQueryFldrBackground
  290. #define WPRootFolder_wpSetFldrBackground WPFolder_wpSetFldrBackground
  291. #define WPRootFolder_wpInitData WPObject_wpInitData
  292. #define WPRootFolder_wpUnInitData WPObject_wpUnInitData
  293. #define WPRootFolder_wpFree WPObject_wpFree
  294. #define WPRootFolder_wpDelete WPObject_wpDelete
  295. #define WPRootFolder_wpConfirmDelete WPObject_wpConfirmDelete
  296. #define WPRootFolder_wpMenuItemSelected WPObject_wpMenuItemSelected
  297. #define WPRootFolder_wpAddSettingsPages WPObject_wpAddSettingsPages
  298. #define WPRootFolder_wpSetup WPObject_wpSetup
  299. #define WPRootFolder_wpMoveObject WPObject_wpMoveObject
  300. #define WPRootFolder_wpDrop WPObject_wpDrop
  301. #define WPRootFolder_wpDragOver WPObject_wpDragOver
  302. #define WPRootFolder_wpMenuItemHelpSelected WPObject_wpMenuItemHelpSelected
  303. #define WPRootFolder_wpFormatDragItem WPObject_wpFormatDragItem
  304. #define WPRootFolder_wpRender WPObject_wpRender
  305. #define WPRootFolder_wpQueryDefaultView WPObject_wpQueryDefaultView
  306. #define WPRootFolder_wpRenderComplete WPObject_wpRenderComplete
  307. #define WPRootFolder_wpAddFileMenuPage WPFileSystem_wpAddFileMenuPage
  308. #define WPRootFolder_wpQueryDefaultHelp WPObject_wpQueryDefaultHelp
  309. #define WPRootFolder_wpObjectReady WPObject_wpObjectReady
  310. #define WPRootFolder_wpAddObjectWindowPage WPObject_wpAddObjectWindowPage
  311. #define WPRootFolder_wpModifyMenu WPObject_wpModifyMenu
  312. #define WPRootFolder_wpDisplayMenu WPObject_wpDisplayMenu
  313. #define WPRootFolder_wpSetIconData WPObject_wpSetIconData
  314. #define WPRootFolder_wpSetRealName WPFileSystem_wpSetRealName
  315. #define WPRootFolder_wpSetType WPFileSystem_wpSetType
  316. #define WPRootFolder_wpQueryType WPFileSystem_wpQueryType
  317. #define WPRootFolder_wpSetAttr WPFileSystem_wpSetAttr
  318. #define WPRootFolder_wpQueryAttr WPFileSystem_wpQueryAttr
  319. #define WPRootFolder_wpQueryCreation WPFileSystem_wpQueryCreation
  320. #define WPRootFolder_wpQueryLastAccess WPFileSystem_wpQueryLastAccess
  321. #define WPRootFolder_wpQueryLastWrite WPFileSystem_wpQueryLastWrite
  322. #define WPRootFolder_wpQueryFileSize WPFileSystem_wpQueryFileSize
  323. #define WPRootFolder_wpQueryEASize WPFileSystem_wpQueryEASize
  324. #define WPRootFolder_wpSetDateInfo WPFileSystem_wpSetDateInfo
  325. #define WPRootFolder_wpSetFileSizeInfo WPFileSystem_wpSetFileSizeInfo
  326. #define WPRootFolder_wpQueryRefreshFlags WPFileSystem_wpQueryRefreshFlags
  327. #define WPRootFolder_wpSetRefreshFlags WPFileSystem_wpSetRefreshFlags
  328. #define WPRootFolder_wpPrintPlainTextFile WPFileSystem_wpPrintPlainTextFile
  329. #define WPRootFolder_wpSetTitleAndRenameFile WPFileSystem_wpSetTitleAndRenameFile
  330. #define WPRootFolder_wpConfirmRenameFileWithExt WPFileSystem_wpConfirmRenameFileWithExt
  331. #define WPRootFolder_wpVerifyUpdateAccess WPFileSystem_wpVerifyUpdateAccess
  332. #define WPRootFolder_wpQueryEASupport WPFileSystem_wpQueryEASupport
  333. #define WPRootFolder_wpAddUserItemsToPopupMenu WPFileSystem_wpAddUserItemsToPopupMenu
  334. #define WPRootFolder_wpIsDiskSwapped WPFileSystem_wpIsDiskSwapped
  335. #define WPRootFolder_wpQueryRealName WPFileSystem_wpQueryRealName
  336. #define WPRootFolder_wpQueryFilename WPFileSystem_wpQueryFilename
  337. #define WPRootFolder_wpQueryDateInfo WPFileSystem_wpQueryDateInfo
  338. #define WPRootFolder_wpConfirmKeepAssoc WPFileSystem_wpConfirmKeepAssoc
  339. #define WPRootFolder_wpQueryFileSizeL WPFileSystem_wpQueryFileSizeL
  340. #define WPRootFolder_wpSetFileSizeL WPFileSystem_wpSetFileSizeL
  341. #define WPRootFolder_wpQueryHandle WPObject_wpQueryHandle
  342. #define WPRootFolder_wpSaveImmediate WPObject_wpSaveImmediate
  343. #define WPRootFolder_wpSwitchTo WPObject_wpSwitchTo
  344. #define WPRootFolder_wpCopyObject WPObject_wpCopyObject
  345. #define WPRootFolder_wpCreateFromTemplate WPObject_wpCreateFromTemplate
  346. #define WPRootFolder_wpQueryIcon WPObject_wpQueryIcon
  347. #define WPRootFolder_wpQueryIconData WPObject_wpQueryIconData
  348. #define WPRootFolder_wpQueryDetailsData WPObject_wpQueryDetailsData
  349. #define WPRootFolder_wpDraggedOverObject WPObject_wpDraggedOverObject
  350. #define WPRootFolder_wpDroppedOnObject WPObject_wpDroppedOnObject
  351. #define WPRootFolder_wpQueryNameClashOptions WPObject_wpQueryNameClashOptions
  352. #define WPRootFolder_wpAppendObject WPObject_wpAppendObject
  353. #define WPRootFolder_wpReplaceObject WPObject_wpReplaceObject
  354. #define WPRootFolder_wpQueryStyle WPObject_wpQueryStyle
  355. #define WPRootFolder_wpDoesObjectMatch WPObject_wpDoesObjectMatch
  356. #define WPRootFolder_wpIdentify WPObject_wpIdentify
  357. #define WPRootFolder_wpIsDeleteable WPObject_wpIsDeleteable
  358. #define WPRootFolder_wpAddObjectGeneralPage WPObject_wpAddObjectGeneralPage
  359. #define WPRootFolder_wpAddObjectGeneralPage2 WPObject_wpAddObjectGeneralPage2
  360. #define WPRootFolder_wpAddToObjUseList WPObject_wpAddToObjUseList
  361. #define WPRootFolder_wpAllocMem WPObject_wpAllocMem
  362. #define WPRootFolder_wpAssertObjectMutexSem WPObject_wpAssertObjectMutexSem
  363. #define WPRootFolder_wpClose WPObject_wpClose
  364. #define WPRootFolder_wpCnrInsertObject WPObject_wpCnrInsertObject
  365. #define WPRootFolder_wpCnrRemoveObject WPObject_wpCnrRemoveObject
  366. #define WPRootFolder_wpCnrSetEmphasis WPObject_wpCnrSetEmphasis
  367. #define WPRootFolder_wpConfirmObjectTitle WPObject_wpConfirmObjectTitle
  368. #define WPRootFolder_wpCopiedFromTemplate WPObject_wpCopiedFromTemplate
  369. #define WPRootFolder_wpCreateAnother WPObject_wpCreateAnother
  370. #define WPRootFolder_wpCreateShadowObject WPObject_wpCreateShadowObject
  371. #define WPRootFolder_wpDeleteFromObjUseList WPObject_wpDeleteFromObjUseList
  372. #define WPRootFolder_wpDisplayHelp WPObject_wpDisplayHelp
  373. #define WPRootFolder_wpEndConversation WPObject_wpEndConversation
  374. #define WPRootFolder_wpFilterPopupMenu WPObject_wpFilterPopupMenu
  375. #define WPRootFolder_wpFindUseItem WPObject_wpFindUseItem
  376. #define WPRootFolder_wpFreeMem WPObject_wpFreeMem
  377. #define WPRootFolder_wpHide WPObject_wpHide
  378. #define WPRootFolder_wpInsertPopupMenuItems WPObject_wpInsertPopupMenuItems
  379. #define WPRootFolder_wpInsertMenuItems WPObject_wpInsertMenuItems
  380. #define WPRootFolder_wpInsertSettingsPage WPObject_wpInsertSettingsPage
  381. #define WPRootFolder_wpModifyPopupMenu WPObject_wpModifyPopupMenu
  382. #define WPRootFolder_wpPrintObject WPObject_wpPrintObject
  383. #define WPRootFolder_wpQueryConcurrentView WPObject_wpQueryConcurrentView
  384. #define WPRootFolder_wpQueryButtonAppearance WPObject_wpQueryButtonAppearance
  385. #define WPRootFolder_wpQueryConfirmations WPObject_wpQueryConfirmations
  386. #define WPRootFolder_wpQueryError WPObject_wpQueryError
  387. #define WPRootFolder_wpSetFolder WPObject_wpSetFolder
  388. #define WPRootFolder_wpQueryFolder WPObject_wpQueryFolder
  389. #define WPRootFolder_wpQueryMinWindow WPObject_wpQueryMinWindow
  390. #define WPRootFolder_wpSetTaskRec WPObject_wpSetTaskRec
  391. #define WPRootFolder_wpFindTaskRec WPObject_wpFindTaskRec
  392. #define WPRootFolder_wpQueryTitle WPObject_wpQueryTitle
  393. #define WPRootFolder_wpRegisterView WPObject_wpRegisterView
  394. #define WPRootFolder_wpReleaseObjectMutexSem WPObject_wpReleaseObjectMutexSem
  395. #define WPRootFolder_wpRequestObjectMutexSem WPObject_wpRequestObjectMutexSem
  396. #define WPRootFolder_wpRestore WPObject_wpRestore
  397. #define WPRootFolder_wpRestoreData WPObject_wpRestoreData
  398. #define WPRootFolder_wpRestoreLong WPObject_wpRestoreLong
  399. #define WPRootFolder_wpRestoreString WPObject_wpRestoreString
  400. #define WPRootFolder_wpSaveData WPObject_wpSaveData
  401. #define WPRootFolder_wpSaveDeferred WPObject_wpSaveDeferred
  402. #define WPRootFolder_wpSaveLong WPObject_wpSaveLong
  403. #define WPRootFolder_wpSaveString WPObject_wpSaveString
  404. #define WPRootFolder_wpScanSetupString WPObject_wpScanSetupString
  405. #define WPRootFolder_wpSetConcurrentView WPObject_wpSetConcurrentView
  406. #define WPRootFolder_wpSetButtonAppearance WPObject_wpSetButtonAppearance
  407. #define WPRootFolder_wpSetDefaultHelp WPObject_wpSetDefaultHelp
  408. #define WPRootFolder_wpSetError WPObject_wpSetError
  409. #define WPRootFolder_wpQueryScreenGroupID WPObject_wpQueryScreenGroupID
  410. #define WPRootFolder_wpSetupOnce WPObject_wpSetupOnce
  411. #define WPRootFolder_wpSetIcon WPObject_wpSetIcon
  412. #define WPRootFolder_wpSetMinWindow WPObject_wpSetMinWindow
  413. #define WPRootFolder_wpModifyStyle WPObject_wpModifyStyle
  414. #define WPRootFolder_wpQueryTrueStyle WPObject_wpQueryTrueStyle
  415. #define WPRootFolder_wpUnlockObject WPObject_wpUnlockObject
  416. #define WPRootFolder_wpIsObjectInitialized WPObject_wpIsObjectInitialized
  417. #define WPRootFolder_wpCreateShadowObjectExt WPObject_wpCreateShadowObjectExt
  418. #define WPRootFolder_wpCnrDeleteUseItem WPObject_wpCnrDeleteUseItem
  419. #define WPRootFolder_wpQueryCoreRecord WPObject_wpQueryCoreRecord
  420. #define WPRootFolder_wpSetObjectID WPObject_wpSetObjectID
  421. #define WPRootFolder_wpQueryObjectID WPObject_wpQueryObjectID
  422. #define WPRootFolder_wpSetDefaultIconPos WPObject_wpSetDefaultIconPos
  423. #define WPRootFolder_wpQueryDefaultIconPos WPObject_wpQueryDefaultIconPos
  424. #define WPRootFolder_wpCnrRefreshDetails WPObject_wpCnrRefreshDetails
  425. #define WPRootFolder_wpLockObject WPObject_wpLockObject
  426. #define WPRootFolder_wpIsLocked WPObject_wpIsLocked
  427. #define WPRootFolder_wpQueryContainerFlagPtr WPObject_wpQueryContainerFlagPtr
  428. #define WPRootFolder_wpWaitForClose WPObject_wpWaitForClose
  429. #define WPRootFolder_wpSetMenuStyle WPObject_wpSetMenuStyle
  430. #define WPRootFolder_wpQueryMenuStyle WPObject_wpQueryMenuStyle
  431. #define WPRootFolder_wpSetStyle WPObject_wpSetStyle
  432. #define WPRootFolder_somInit SOMObject_somInit
  433. #define WPRootFolder_somUninit SOMObject_somUninit
  434. #define WPRootFolder_somDefaultCopyInit SOMObject_somDefaultCopyInit
  435. #define WPRootFolder_somDefaultAssign SOMObject_somDefaultAssign
  436. #define WPRootFolder_somDefaultConstCopyInit SOMObject_somDefaultConstCopyInit
  437. #define WPRootFolder_somDefaultVCopyInit SOMObject_somDefaultVCopyInit
  438. #define WPRootFolder_somDefaultConstVCopyInit SOMObject_somDefaultConstVCopyInit
  439. #define WPRootFolder_somDefaultConstAssign SOMObject_somDefaultConstAssign
  440. #define WPRootFolder_somDefaultVAssign SOMObject_somDefaultVAssign
  441. #define WPRootFolder_somDefaultConstVAssign SOMObject_somDefaultConstVAssign
  442. #define WPRootFolder_somFree SOMObject_somFree
  443. #define WPRootFolder_somGetClass SOMObject_somGetClass
  444. #define WPRootFolder_somGetClassName SOMObject_somGetClassName
  445. #define WPRootFolder_somGetSize SOMObject_somGetSize
  446. #define WPRootFolder_somIsA SOMObject_somIsA
  447. #define WPRootFolder_somIsInstanceOf SOMObject_somIsInstanceOf
  448. #define WPRootFolder_somRespondsTo SOMObject_somRespondsTo
  449. #define WPRootFolder_somDispatch SOMObject_somDispatch
  450. #define WPRootFolder_somClassDispatch SOMObject_somClassDispatch
  451. #define WPRootFolder_somCastObj SOMObject_somCastObj
  452. #define WPRootFolder_somResetObj SOMObject_somResetObj
  453. #define WPRootFolder_somDispatchV SOMObject_somDispatchV
  454. #define WPRootFolder_somDispatchL SOMObject_somDispatchL
  455. #define WPRootFolder_somDispatchA SOMObject_somDispatchA
  456. #define WPRootFolder_somDispatchD SOMObject_somDispatchD
  457. #define WPRootFolder_somPrintSelf SOMObject_somPrintSelf
  458. #define WPRootFolder_somDumpSelf SOMObject_somDumpSelf
  459. #define WPRootFolder_somDumpSelfInt SOMObject_somDumpSelfInt
  460. #endif /* SOM_DONT_USE_INHERITED_MACROS */
  461.  
  462. #endif       /* SOM_WPRootFolder_h */
  463.  
  464. #ifndef SOM_M_WPRootFolder_h
  465. #define SOM_M_WPRootFolder_h
  466.  
  467.  
  468. #include <som.h>
  469.  
  470. /*
  471.  * -- This emitter treats Method Tokens as Thunks by default.
  472.  * -- Use the sc modifier "nothunks" to change this default
  473.  */
  474. #undef somresolve_
  475. #define somresolve_(obj,mToken) ((somMethodProc*)((void)obj, mToken))
  476.  
  477. /*
  478.  * Define the class name as an object type
  479.  */
  480. #ifndef M_WPRootFolder
  481. #define M_WPRootFolder SOMObject
  482. #endif
  483. #include <wpfolder.h>
  484.  
  485. /*
  486.  * Start of bindings for IDL types
  487.  */
  488.  
  489.  
  490. /*
  491.  * End of bindings for IDL types.
  492.  */
  493.  
  494. #define M_WPRootFolder_MajorVersion 1
  495. #define M_WPRootFolder_MinorVersion 2
  496.  
  497. /*
  498.  * External name shortening if required
  499.  */
  500. #ifdef SOM_USE_SHORT_EXTERNAL_NAMES
  501. #define M_WPRootFolderNewClass wprfc
  502. #pragma linkage(wprfc, system)
  503. #define M_WPRootFolderClassData wprfd
  504. #define M_WPRootFolderCClassData wprfx
  505. #endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
  506. /*--------------Migration------------*/
  507. #define M_WPRootFolder_classObj M_WPRootFolderClassData.classObject
  508. #define _M_WPRootFolder M_WPRootFolder_classObj
  509.  
  510. /*
  511.  * Declare the class creation procedure
  512.  */
  513. SOMEXTERN SOMClass * SOMLINK M_WPRootFolderNewClass(integer4 somtmajorVersion,
  514.         integer4 somtminorVersion);
  515. #pragma linkage(M_WPRootFolderNewClass, system)
  516.  
  517. /*
  518.  * Declare the class data structure
  519.  */
  520. SOMEXTERN struct M_WPRootFolderClassDataStructure {
  521.     SOMClass *classObject;
  522. } SOMDLINK M_WPRootFolderClassData;
  523.  
  524. /*
  525.  * Declare the C specific class data structure
  526.  */
  527. SOMEXTERN struct M_WPRootFolderCClassDataStructure {
  528.     somMethodTabs parentMtab;
  529.     somDToken instanceDataToken;
  530. } SOMDLINK M_WPRootFolderCClassData;
  531.  
  532. /*
  533.  * New and Renew macros for M_WPRootFolder
  534.  */
  535. #define M_WPRootFolderNew() \
  536.    ( _M_WPRootFolder ? \
  537.     _somNew(_M_WPRootFolder) \
  538.     : ( M_WPRootFolderNewClass(\
  539.         M_WPRootFolder_MajorVersion, \
  540.         M_WPRootFolder_MinorVersion),\
  541.        _somNew(_M_WPRootFolder)))
  542. #define M_WPRootFolderRenew(buf) \
  543.    ( _M_WPRootFolder ? \
  544.     _somRenew(_M_WPRootFolder, buf) \
  545.     : ( M_WPRootFolderNewClass(\
  546.         M_WPRootFolder_MajorVersion, \
  547.         M_WPRootFolder_MinorVersion),\
  548.        _somRenew(_M_WPRootFolder, buf)))
  549.  
  550. /*
  551.  * Override method: wpclsQueryStyle
  552.  */
  553. #define M_WPRootFolder_wpclsQueryStyle(somSelf) \
  554.     M_WPObject_wpclsQueryStyle(somSelf)
  555.  
  556. /*
  557.  * Override method: wpclsInitData
  558.  */
  559. #define M_WPRootFolder_wpclsInitData(somSelf) \
  560.     M_WPObject_wpclsInitData(somSelf)
  561.  
  562. /*
  563.  * Override method: wpclsUnInitData
  564.  */
  565. #define M_WPRootFolder_wpclsUnInitData(somSelf) \
  566.     M_WPObject_wpclsUnInitData(somSelf)
  567.  
  568. /*
  569.  * Override method: wpclsQueryDefaultView
  570.  */
  571. #define M_WPRootFolder_wpclsQueryDefaultView(somSelf) \
  572.     M_WPObject_wpclsQueryDefaultView(somSelf)
  573. #ifndef SOM_DONT_USE_INHERITED_MACROS
  574. #define M_WPRootFolder_wpclsQueryIconDataN M_WPFolder_wpclsQueryIconDataN
  575. #define M_WPRootFolder_wpclsQueryIconN M_WPFolder_wpclsQueryIconN
  576. #define M_WPRootFolder_wpclsQueryOpenFolders M_WPFolder_wpclsQueryOpenFolders
  577. #define M_WPRootFolder_wpclsQueryTitle M_WPObject_wpclsQueryTitle
  578. #define M_WPRootFolder_wpclsQueryIconData M_WPObject_wpclsQueryIconData
  579. #define M_WPRootFolder_wpclsQueryDefaultHelp M_WPObject_wpclsQueryDefaultHelp
  580. #define M_WPRootFolder_wpclsQuerySettingsPageSize M_WPObject_wpclsQuerySettingsPageSize
  581. #define M_WPRootFolder_wpclsQueryAwakeObject M_WPFileSystem_wpclsQueryAwakeObject
  582. #define M_WPRootFolder_wpclsFileSysExists M_WPFileSystem_wpclsFileSysExists
  583. #define M_WPRootFolder_wpclsQueryObjectFromPath M_WPFileSystem_wpclsQueryObjectFromPath
  584. #define M_WPRootFolder_wpclsQueryInstanceType M_WPFileSystem_wpclsQueryInstanceType
  585. #define M_WPRootFolder_wpclsQueryInstanceFilter M_WPFileSystem_wpclsQueryInstanceFilter
  586. #define M_WPRootFolder_wpclsQueryInstanceClass M_WPFileSystem_wpclsQueryInstanceClass
  587. #define M_WPRootFolder_wpclsQueryDetailsInfo M_WPObject_wpclsQueryDetailsInfo
  588. #define M_WPRootFolder_wpclsQuerySearchInfo M_WPObject_wpclsQuerySearchInfo
  589. #define M_WPRootFolder_wpclsQueryExtendedCriteria M_WPObject_wpclsQueryExtendedCriteria
  590. #define M_WPRootFolder_wpclsNew M_WPObject_wpclsNew
  591. #define M_WPRootFolder_wpclsObjectFromHandle M_WPObject_wpclsObjectFromHandle
  592. #define M_WPRootFolder_wpclsCreateDefaultTemplates M_WPObject_wpclsCreateDefaultTemplates
  593. #define M_WPRootFolder_wpclsMakeAwake M_WPObject_wpclsMakeAwake
  594. #define M_WPRootFolder_wpclsQueryDetails M_WPObject_wpclsQueryDetails
  595. #define M_WPRootFolder_wpclsQueryFolder M_WPObject_wpclsQueryFolder
  596. #define M_WPRootFolder_wpclsQueryIcon M_WPObject_wpclsQueryIcon
  597. #define M_WPRootFolder_wpclsFindObjectFirst M_WPObject_wpclsFindObjectFirst
  598. #define M_WPRootFolder_wpclsFindObjectNext M_WPObject_wpclsFindObjectNext
  599. #define M_WPRootFolder_wpclsFindObjectEnd M_WPObject_wpclsFindObjectEnd
  600. #define M_WPRootFolder_wpclsSetError M_WPObject_wpclsSetError
  601. #define M_WPRootFolder_wpclsQueryError M_WPObject_wpclsQueryError
  602. #define M_WPRootFolder_wpclsQueryObject M_WPObject_wpclsQueryObject
  603. #define M_WPRootFolder_wpclsQueryButtonAppearance M_WPObject_wpclsQueryButtonAppearance
  604. #define M_WPRootFolder_wpclsDecUsage M_WPObject_wpclsDecUsage
  605. #define M_WPRootFolder_wpclsIncUsage M_WPObject_wpclsIncUsage
  606. #define M_WPRootFolder_wpclsInsertMultipleObjects M_WPObject_wpclsInsertMultipleObjects
  607. #define M_WPRootFolder_wpclsFindOneObject M_WPObject_wpclsFindOneObject
  608. #define M_WPRootFolder_wpclsSetSettingsPageSize M_WPObject_wpclsSetSettingsPageSize
  609. #define M_WPRootFolder_wpclsSetIconData M_WPObject_wpclsSetIconData
  610. #define M_WPRootFolder_wpclsSetIcon M_WPObject_wpclsSetIcon
  611. #define M_WPRootFolder_wpclsRemoveObjects M_WPObject_wpclsRemoveObjects
  612. #define M_WPRootFolder_somUninit SOMObject_somUninit
  613. #define M_WPRootFolder_somClassReady SOMClass_somClassReady
  614. #define M_WPRootFolder_somNew SOMClass_somNew
  615. #define M_WPRootFolder_somRenew SOMClass_somRenew
  616. #define M_WPRootFolder__get_somDataAlignment SOMClass__get_somDataAlignment
  617. #define M_WPRootFolder__get_somInstanceDataOffsets SOMClass__get_somInstanceDataOffsets
  618. #define M_WPRootFolder__get_somDirectInitClasses SOMClass__get_somDirectInitClasses
  619. #define M_WPRootFolder__set_somDirectInitClasses SOMClass__set_somDirectInitClasses
  620. #define M_WPRootFolder_somNewNoInit SOMClass_somNewNoInit
  621. #define M_WPRootFolder_somRenewNoInit SOMClass_somRenewNoInit
  622. #define M_WPRootFolder_somRenewNoZero SOMClass_somRenewNoZero
  623. #define M_WPRootFolder_somRenewNoInitNoZero SOMClass_somRenewNoInitNoZero
  624. #define M_WPRootFolder_somAllocate SOMClass_somAllocate
  625. #define M_WPRootFolder_somDeallocate SOMClass_somDeallocate
  626. #define M_WPRootFolder__get_somClassAllocate SOMClass__get_somClassAllocate
  627. #define M_WPRootFolder__get_somClassDeallocate SOMClass__get_somClassDeallocate
  628. #define M_WPRootFolder_somGetInstanceInitMask SOMClass_somGetInstanceInitMask
  629. #define M_WPRootFolder_somGetInstanceDestructionMask SOMClass_somGetInstanceDestructionMask
  630. #define M_WPRootFolder_somGetInstanceAssignmentMask SOMClass_somGetInstanceAssignmentMask
  631. #define M_WPRootFolder_somInitClass SOMClass_somInitClass
  632. #define M_WPRootFolder_somInitMIClass SOMClass_somInitMIClass
  633. #define M_WPRootFolder_somAddStaticMethod SOMClass_somAddStaticMethod
  634. #define M_WPRootFolder_somAddDynamicMethod SOMClass_somAddDynamicMethod
  635. #define M_WPRootFolder_somOverrideSMethod SOMClass_somOverrideSMethod
  636. #define M_WPRootFolder_somGetApplyStub SOMClass_somGetApplyStub
  637. #define M_WPRootFolder_somGetClassData SOMClass_somGetClassData
  638. #define M_WPRootFolder_somSetClassData SOMClass_somSetClassData
  639. #define M_WPRootFolder_somGetClassMtab SOMClass_somGetClassMtab
  640. #define M_WPRootFolder_somGetInstanceOffset SOMClass_somGetInstanceOffset
  641. #define M_WPRootFolder_somGetInstancePartSize SOMClass_somGetInstancePartSize
  642. #define M_WPRootFolder_somGetInstanceSize SOMClass_somGetInstanceSize
  643. #define M_WPRootFolder_somGetInstanceToken SOMClass_somGetInstanceToken
  644. #define M_WPRootFolder_somGetMemberToken SOMClass_somGetMemberToken
  645. #define M_WPRootFolder_somGetMethodData SOMClass_somGetMethodData
  646. #define M_WPRootFolder_somGetRdStub SOMClass_somGetRdStub
  647. #define M_WPRootFolder_somGetMethodDescriptor SOMClass_somGetMethodDescriptor
  648. #define M_WPRootFolder_somGetMethodIndex SOMClass_somGetMethodIndex
  649. #define M_WPRootFolder_somGetMethodToken SOMClass_somGetMethodToken
  650. #define M_WPRootFolder_somGetName SOMClass_somGetName
  651. #define M_WPRootFolder_somGetNthMethodData SOMClass_somGetNthMethodData
  652. #define M_WPRootFolder_somGetNthMethodInfo SOMClass_somGetNthMethodInfo
  653. #define M_WPRootFolder_somGetNumMethods SOMClass_somGetNumMethods
  654. #define M_WPRootFolder_somGetNumStaticMethods SOMClass_somGetNumStaticMethods
  655. #define M_WPRootFolder_somGetParent SOMClass_somGetParent
  656. #define M_WPRootFolder_somGetParents SOMClass_somGetParents
  657. #define M_WPRootFolder_somGetPClsMtab SOMClass_somGetPClsMtab
  658. #define M_WPRootFolder_somGetPClsMtabs SOMClass_somGetPClsMtabs
  659. #define M_WPRootFolder_somGetVersionNumbers SOMClass_somGetVersionNumbers
  660. #define M_WPRootFolder_somSetMethodDescriptor SOMClass_somSetMethodDescriptor
  661. #define M_WPRootFolder_somFindMethod SOMClass_somFindMethod
  662. #define M_WPRootFolder_somFindMethodOk SOMClass_somFindMethodOk
  663. #define M_WPRootFolder_somFindSMethod SOMClass_somFindSMethod
  664. #define M_WPRootFolder_somFindSMethodOk SOMClass_somFindSMethodOk
  665. #define M_WPRootFolder_somLookupMethod SOMClass_somLookupMethod
  666. #define M_WPRootFolder_somCheckVersion SOMClass_somCheckVersion
  667. #define M_WPRootFolder_somDescendedFrom SOMClass_somDescendedFrom
  668. #define M_WPRootFolder_somSupportsMethod SOMClass_somSupportsMethod
  669. #define M_WPRootFolder_somDefinedMethod SOMClass_somDefinedMethod
  670. #define M_WPRootFolder_somOverrideMtab SOMClass_somOverrideMtab
  671. #define M_WPRootFolder_somDefaultInit SOMObject_somDefaultInit
  672. #define M_WPRootFolder_somDestruct SOMObject_somDestruct
  673. #define M_WPRootFolder_somDefaultCopyInit SOMObject_somDefaultCopyInit
  674. #define M_WPRootFolder_somDefaultAssign SOMObject_somDefaultAssign
  675. #define M_WPRootFolder_somDefaultConstCopyInit SOMObject_somDefaultConstCopyInit
  676. #define M_WPRootFolder_somDefaultVCopyInit SOMObject_somDefaultVCopyInit
  677. #define M_WPRootFolder_somDefaultConstVCopyInit SOMObject_somDefaultConstVCopyInit
  678. #define M_WPRootFolder_somDefaultConstAssign SOMObject_somDefaultConstAssign
  679. #define M_WPRootFolder_somDefaultVAssign SOMObject_somDefaultVAssign
  680. #define M_WPRootFolder_somDefaultConstVAssign SOMObject_somDefaultConstVAssign
  681. #define M_WPRootFolder_somInit SOMObject_somInit
  682. #define M_WPRootFolder_somFree SOMObject_somFree
  683. #define M_WPRootFolder_somGetClass SOMObject_somGetClass
  684. #define M_WPRootFolder_somGetClassName SOMObject_somGetClassName
  685. #define M_WPRootFolder_somGetSize SOMObject_somGetSize
  686. #define M_WPRootFolder_somIsA SOMObject_somIsA
  687. #define M_WPRootFolder_somIsInstanceOf SOMObject_somIsInstanceOf
  688. #define M_WPRootFolder_somRespondsTo SOMObject_somRespondsTo
  689. #define M_WPRootFolder_somDispatch SOMObject_somDispatch
  690. #define M_WPRootFolder_somClassDispatch SOMObject_somClassDispatch
  691. #define M_WPRootFolder_somCastObj SOMObject_somCastObj
  692. #define M_WPRootFolder_somResetObj SOMObject_somResetObj
  693. #define M_WPRootFolder_somDispatchV SOMObject_somDispatchV
  694. #define M_WPRootFolder_somDispatchL SOMObject_somDispatchL
  695. #define M_WPRootFolder_somDispatchA SOMObject_somDispatchA
  696. #define M_WPRootFolder_somDispatchD SOMObject_somDispatchD
  697. #define M_WPRootFolder_somPrintSelf SOMObject_somPrintSelf
  698. #define M_WPRootFolder_somDumpSelf SOMObject_somDumpSelf
  699. #define M_WPRootFolder_somDumpSelfInt SOMObject_somDumpSelfInt
  700. #endif /* SOM_DONT_USE_INHERITED_MACROS */
  701.  
  702. #endif       /* SOM_M_WPRootFolder_h */
  703.