home *** CD-ROM | disk | FTP | other *** search
-
- /*
- * This file was generated by the SOM Compiler.
- * FileName: dragfold.h.
- * Generated using:
- * SOM Precompiler somipc: 2.2
- * SOM Emitter emith: 2.7
- */
-
- /*
- *
- *
- * Module Name: DRAGFOLD
- *
- * OS/2 Work Place Shell Sample Program - SOM 2.0 / IDL Version
- *
- * Copyright (C) 1993 IBM Corporation
- *
- * DISCLAIMER OF WARRANTIES. The following [enclosed] code is
- * sample code created by IBM Corporation. This sample code is not
- * part of any standard or IBM product and is provided to you solely
- * for the purpose of assisting you in the development of your
- * applications. The code is provided "AS IS", without
- * warranty of any kind. IBM shall not be liable for any damages
- * arising out of your use of the sample code, even if they have been
- * advised of the possibility of such damages.
- *
- */
-
-
- #ifndef SOM_DRAGFOLD_h
- #define SOM_DRAGFOLD_h
-
-
- #include <som.h>
-
- /*
- * -- This emitter treats Method Tokens as Thunks by default
- * -- Use the sc modifier "nothunks" to change this default
- */
- #undef somresolve_
- #define somresolve_(obj,mToken) ((somMethodProc*)((void)obj, mToken))
-
- /*
- * Define the class name as an object type
- */
- #ifndef DRAGFOLD
- #define DRAGFOLD SOMObject
- #endif
- #include <wpfolder.h>
-
- /*
- * Start of user-defined types:
- */
-
- /*
- * End of user-defined types.
- */
-
- #define DRAGFOLD_MajorVersion 1
- #define DRAGFOLD_MinorVersion 2
-
- /*
- * External name shortening if required
- */
- #ifdef SOM_USE_SHORT_EXTERNAL_NAMES
- #define DRAGFOLDNewClass dragfc
- #pragma linkage(dragfc, system)
- #define DRAGFOLDClassData dragfd
- #define DRAGFOLDCClassData dragfx
- #endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
- /*--------------Migration------------*/
- #define DRAGFOLD_classObj DRAGFOLDClassData.classObject
- #define _DRAGFOLD DRAGFOLD_classObj
-
- /*
- * Declare the class creation procedure
- */
- SOMEXTERN SOMClass * SOMLINK DRAGFOLDNewClass(integer4 somtmajorVersion,
- integer4 somtminorVersion);
- #pragma linkage(DRAGFOLDNewClass, system)
-
- /*
- * Declare the class data structure
- */
- SOMEXTERN struct DRAGFOLDClassDataStructure {
- SOMAny *classObject;
- } DRAGFOLDClassData;
-
- /*
- * Declare the C specific class data structure
- */
- SOMEXTERN struct DRAGFOLDCClassDataStructure {
- somMethodTabs parentMtab;
- somDToken instanceDataToken;
- } DRAGFOLDCClassData;
-
- /*
- * New and Renew macros for DRAGFOLD
- */
- #define DRAGFOLDNew() \
- ( DRAGFOLDClassData.classObject \
- ? (_somNew(DRAGFOLDClassData.classObject)) \
- : ( DRAGFOLDNewClass(DRAGFOLD_MajorVersion, DRAGFOLD_MinorVersion), (_somNew(DRAGFOLDClassData.classObject)) ) )
- #define DRAGFOLDRenew(buf) \
- ( _somRenew(DRAGFOLDClassData.classObject, buf) )
-
- /*
- * Override method: wpDragOver
- */
- #define DRAGFOLD_wpDragOver(somSelf,hwndCnr,pdrgInfo) \
- WPObject_wpDragOver(somSelf,hwndCnr,pdrgInfo)
-
- /*
- * Override method: wpDrop
- */
- #define DRAGFOLD_wpDrop(somSelf,hwndCnr,pdrgInfo,pdrgItem) \
- WPObject_wpDrop(somSelf,hwndCnr,pdrgInfo,pdrgItem)
- #ifndef SOM_DONT_USE_INHERITED_MACROS
- #define DRAGFOLD_wpSetFldrFlags WPFolder_wpSetFldrFlags
- #define DRAGFOLD_wpQueryFldrFlags WPFolder_wpQueryFldrFlags
- #define DRAGFOLD_wpSetFldrFont WPFolder_wpSetFldrFont
- #define DRAGFOLD_wpQueryFldrFont WPFolder_wpQueryFldrFont
- #define DRAGFOLD_wpSetFldrAttr WPFolder_wpSetFldrAttr
- #define DRAGFOLD_wpQueryFldrAttr WPFolder_wpQueryFldrAttr
- #define DRAGFOLD_wpSetNextIconPos WPFolder_wpSetNextIconPos
- #define DRAGFOLD_wpQueryNextIconPos WPFolder_wpQueryNextIconPos
- #define DRAGFOLD_wpPopulate WPFolder_wpPopulate
- #define DRAGFOLD_wpQueryContent WPFolder_wpQueryContent
- #define DRAGFOLD_wpAddFolderView1Page WPFolder_wpAddFolderView1Page
- #define DRAGFOLD_wpAddFolderView2Page WPFolder_wpAddFolderView2Page
- #define DRAGFOLD_wpAddFolderView3Page WPFolder_wpAddFolderView3Page
- #define DRAGFOLD_wpAddFolderIncludePage WPFolder_wpAddFolderIncludePage
- #define DRAGFOLD_wpAddFolderSortPage WPFolder_wpAddFolderSortPage
- #define DRAGFOLD_wpAddFolderBackgroundPage WPFolder_wpAddFolderBackgroundPage
- #define DRAGFOLD_wpInitIconPosData WPFolder_wpInitIconPosData
- #define DRAGFOLD_wpFreeIconPosData WPFolder_wpFreeIconPosData
- #define DRAGFOLD_wpStoreIconPosData WPFolder_wpStoreIconPosData
- #define DRAGFOLD_wpQueryIconPosition WPFolder_wpQueryIconPosition
- #define DRAGFOLD_wpSetFldrSort WPFolder_wpSetFldrSort
- #define DRAGFOLD_wpQueryFldrSort WPFolder_wpQueryFldrSort
- #define DRAGFOLD_wpRestoreFldrRunObjs WPFolder_wpRestoreFldrRunObjs
- #define DRAGFOLD_wpStoreFldrRunObjs WPFolder_wpStoreFldrRunObjs
- #define DRAGFOLD_wpHideFldrRunObjs WPFolder_wpHideFldrRunObjs
- #define DRAGFOLD_wpDeleteContents WPFolder_wpDeleteContents
- #define DRAGFOLD_wpSetFldrDetailsClass WPFolder_wpSetFldrDetailsClass
- #define DRAGFOLD_wpQueryFldrDetailsClass WPFolder_wpQueryFldrDetailsClass
- #define DRAGFOLD_wpSearchFolder WPFolder_wpSearchFolder
- #define DRAGFOLD_wpContainsFolders WPFolder_wpContainsFolders
- #define DRAGFOLD_wpQueryOpenFolders WPFolder_wpQueryOpenFolders
- #define DRAGFOLD_wpInitData WPObject_wpInitData
- #define DRAGFOLD_wpUnInitData WPObject_wpUnInitData
- #define DRAGFOLD_wpFree WPObject_wpFree
- #define DRAGFOLD_wpDelete WPObject_wpDelete
- #define DRAGFOLD_wpConfirmDelete WPObject_wpConfirmDelete
- #define DRAGFOLD_wpSaveState WPObject_wpSaveState
- #define DRAGFOLD_wpRestoreState WPObject_wpRestoreState
- #define DRAGFOLD_wpMenuItemSelected WPObject_wpMenuItemSelected
- #define DRAGFOLD_wpModifyPopupMenu WPObject_wpModifyPopupMenu
- #define DRAGFOLD_wpAddSettingsPages WPObject_wpAddSettingsPages
- #define DRAGFOLD_wpOpen WPObject_wpOpen
- #define DRAGFOLD_wpSetup WPObject_wpSetup
- #define DRAGFOLD_wpMoveObject WPObject_wpMoveObject
- #define DRAGFOLD_wpMenuItemHelpSelected WPObject_wpMenuItemHelpSelected
- #define DRAGFOLD_wpAddFile3Page WPFileSystem_wpAddFile3Page
- #define DRAGFOLD_wpAddFile2Page WPFileSystem_wpAddFile2Page
- #define DRAGFOLD_wpFormatDragItem WPObject_wpFormatDragItem
- #define DRAGFOLD_wpRender WPObject_wpRender
- #define DRAGFOLD_wpRefresh WPFileSystem_wpRefresh
- #define DRAGFOLD_wpFilterPopupMenu WPObject_wpFilterPopupMenu
- #define DRAGFOLD_wpQueryDefaultView WPObject_wpQueryDefaultView
- #define DRAGFOLD_wpRenderComplete WPObject_wpRenderComplete
- #define DRAGFOLD_wpQueryDefaultHelp WPObject_wpQueryDefaultHelp
- #define DRAGFOLD_wpSetRealName WPFileSystem_wpSetRealName
- #define DRAGFOLD_wpSetType WPFileSystem_wpSetType
- #define DRAGFOLD_wpQueryType WPFileSystem_wpQueryType
- #define DRAGFOLD_wpSetAttr WPFileSystem_wpSetAttr
- #define DRAGFOLD_wpQueryAttr WPFileSystem_wpQueryAttr
- #define DRAGFOLD_wpAddFile1Page WPFileSystem_wpAddFile1Page
- #define DRAGFOLD_wpAddFile2Page WPFileSystem_wpAddFile2Page
- #define DRAGFOLD_wpAddFile3Page WPFileSystem_wpAddFile3Page
- #define DRAGFOLD_wpAddFileMenuPage WPFileSystem_wpAddFileMenuPage
- #define DRAGFOLD_wpQueryCreation WPFileSystem_wpQueryCreation
- #define DRAGFOLD_wpQueryLastAccess WPFileSystem_wpQueryLastAccess
- #define DRAGFOLD_wpQueryLastWrite WPFileSystem_wpQueryLastWrite
- #define DRAGFOLD_wpQueryFileSize WPFileSystem_wpQueryFileSize
- #define DRAGFOLD_wpQueryEASize WPFileSystem_wpQueryEASize
- #define DRAGFOLD_wpSetDateInfo WPFileSystem_wpSetDateInfo
- #define DRAGFOLD_wpSetFileSizeInfo WPFileSystem_wpSetFileSizeInfo
- #define DRAGFOLD_wpRefresh WPFileSystem_wpRefresh
- #define DRAGFOLD_wpQueryRefreshFlags WPFileSystem_wpQueryRefreshFlags
- #define DRAGFOLD_wpSetRefreshFlags WPFileSystem_wpSetRefreshFlags
- #define DRAGFOLD_wpPrintPlainTextFile WPFileSystem_wpPrintPlainTextFile
- #define DRAGFOLD_wpSetTitleAndRenameFile WPFileSystem_wpSetTitleAndRenameFile
- #define DRAGFOLD_wpConfirmRenameFileWithExt WPFileSystem_wpConfirmRenameFileWithExt
- #define DRAGFOLD_wpVerifyUpdateAccess WPFileSystem_wpVerifyUpdateAccess
- #define DRAGFOLD_wpAddUserItemsToPopupMenu WPFileSystem_wpAddUserItemsToPopupMenu
- #define DRAGFOLD_wpQueryRealName WPFileSystem_wpQueryRealName
- #define DRAGFOLD_wpUnInitData WPObject_wpUnInitData
- #define DRAGFOLD_wpQueryHandle WPObject_wpQueryHandle
- #define DRAGFOLD_wpSaveImmediate WPObject_wpSaveImmediate
- #define DRAGFOLD_wpFilterPopupMenu WPObject_wpFilterPopupMenu
- #define DRAGFOLD_wpSetTitle WPObject_wpSetTitle
- #define DRAGFOLD_wpViewObject WPObject_wpViewObject
- #define DRAGFOLD_wpSwitchTo WPObject_wpSwitchTo
- #define DRAGFOLD_wpAddSettingsPages WPObject_wpAddSettingsPages
- #define DRAGFOLD_wpCopyObject WPObject_wpCopyObject
- #define DRAGFOLD_wpCreateFromTemplate WPObject_wpCreateFromTemplate
- #define DRAGFOLD_wpMoveObject WPObject_wpMoveObject
- #define DRAGFOLD_wpQueryIconData WPObject_wpQueryIconData
- #define DRAGFOLD_wpSetIconData WPObject_wpSetIconData
- #define DRAGFOLD_wpQueryDetailsData WPObject_wpQueryDetailsData
- #define DRAGFOLD_wpModifyPopupMenu WPObject_wpModifyPopupMenu
- #define DRAGFOLD_wpSaveState WPObject_wpSaveState
- #define DRAGFOLD_wpRestoreState WPObject_wpRestoreState
- #define DRAGFOLD_wpMenuItemSelected WPObject_wpMenuItemSelected
- #define DRAGFOLD_wpOpen WPObject_wpOpen
- #define DRAGFOLD_wpDraggedOverObject WPObject_wpDraggedOverObject
- #define DRAGFOLD_wpDroppedOnObject WPObject_wpDroppedOnObject
- #define DRAGFOLD_wpFormatDragItem WPObject_wpFormatDragItem
- #define DRAGFOLD_wpQueryNameClashOptions WPObject_wpQueryNameClashOptions
- #define DRAGFOLD_wpAppendObject WPObject_wpAppendObject
- #define DRAGFOLD_wpReplaceObject WPObject_wpReplaceObject
- #define DRAGFOLD_wpQueryStyle WPObject_wpQueryStyle
- #define DRAGFOLD_wpSetStyle WPObject_wpSetStyle
- #define DRAGFOLD_wpDoesObjectMatch WPObject_wpDoesObjectMatch
- #define DRAGFOLD_wpAddObjectGeneralPage WPObject_wpAddObjectGeneralPage
- #define DRAGFOLD_wpAddObjectWindowPage WPObject_wpAddObjectWindowPage
- #define DRAGFOLD_wpAddSettingsPages WPObject_wpAddSettingsPages
- #define DRAGFOLD_wpAddToObjUseList WPObject_wpAddToObjUseList
- #define DRAGFOLD_wpAllocMem WPObject_wpAllocMem
- #define DRAGFOLD_wpAppendObject WPObject_wpAppendObject
- #define DRAGFOLD_wpAssertObjectMutexSem WPObject_wpAssertObjectMutexSem
- #define DRAGFOLD_wpClose WPObject_wpClose
- #define DRAGFOLD_wpCnrInsertObject WPObject_wpCnrInsertObject
- #define DRAGFOLD_wpCnrRemoveObject WPObject_wpCnrRemoveObject
- #define DRAGFOLD_wpCnrSetEmphasis WPObject_wpCnrSetEmphasis
- #define DRAGFOLD_wpConfirmDelete WPObject_wpConfirmDelete
- #define DRAGFOLD_wpConfirmObjectTitle WPObject_wpConfirmObjectTitle
- #define DRAGFOLD_wpCopiedFromTemplate WPObject_wpCopiedFromTemplate
- #define DRAGFOLD_wpCopyObject WPObject_wpCopyObject
- #define DRAGFOLD_wpCreateAnother WPObject_wpCreateAnother
- #define DRAGFOLD_wpCreateFromTemplate WPObject_wpCreateFromTemplate
- #define DRAGFOLD_wpCreateShadowObject WPObject_wpCreateShadowObject
- #define DRAGFOLD_wpDelete WPObject_wpDelete
- #define DRAGFOLD_wpDeleteFromObjUseList WPObject_wpDeleteFromObjUseList
- #define DRAGFOLD_wpDisplayHelp WPObject_wpDisplayHelp
- #define DRAGFOLD_wpDoesObjectMatch WPObject_wpDoesObjectMatch
- #define DRAGFOLD_wpDraggedOverObject WPObject_wpDraggedOverObject
- #define DRAGFOLD_wpDroppedOnObject WPObject_wpDroppedOnObject
- #define DRAGFOLD_wpEndConversation WPObject_wpEndConversation
- #define DRAGFOLD_wpFilterPopupMenu WPObject_wpFilterPopupMenu
- #define DRAGFOLD_wpFindUseItem WPObject_wpFindUseItem
- #define DRAGFOLD_wpFormatDragItem WPObject_wpFormatDragItem
- #define DRAGFOLD_wpFree WPObject_wpFree
- #define DRAGFOLD_wpFreeMem WPObject_wpFreeMem
- #define DRAGFOLD_wpHide WPObject_wpHide
- #define DRAGFOLD_wpInitData WPObject_wpInitData
- #define DRAGFOLD_wpInsertPopupMenuItems WPObject_wpInsertPopupMenuItems
- #define DRAGFOLD_wpInsertSettingsPage WPObject_wpInsertSettingsPage
- #define DRAGFOLD_wpMenuItemHelpSelected WPObject_wpMenuItemHelpSelected
- #define DRAGFOLD_wpMenuItemSelected WPObject_wpMenuItemSelected
- #define DRAGFOLD_wpModifyPopupMenu WPObject_wpModifyPopupMenu
- #define DRAGFOLD_wpMoveObject WPObject_wpMoveObject
- #define DRAGFOLD_wpOpen WPObject_wpOpen
- #define DRAGFOLD_wpPrintObject WPObject_wpPrintObject
- #define DRAGFOLD_wpQueryConcurrentView WPObject_wpQueryConcurrentView
- #define DRAGFOLD_wpQueryButtonAppearance WPObject_wpQueryButtonAppearance
- #define DRAGFOLD_wpQueryConfirmations WPObject_wpQueryConfirmations
- #define DRAGFOLD_wpQueryDefaultHelp WPObject_wpQueryDefaultHelp
- #define DRAGFOLD_wpQueryDefaultView WPObject_wpQueryDefaultView
- #define DRAGFOLD_wpQueryDetailsData WPObject_wpQueryDetailsData
- #define DRAGFOLD_wpQueryError WPObject_wpQueryError
- #define DRAGFOLD_wpQueryIcon WPObject_wpQueryIcon
- #define DRAGFOLD_wpQueryIconData WPObject_wpQueryIconData
- #define DRAGFOLD_wpQueryMinWindow WPObject_wpQueryMinWindow
- #define DRAGFOLD_wpQueryNameClashOptions WPObject_wpQueryNameClashOptions
- #define DRAGFOLD_wpQueryStyle WPObject_wpQueryStyle
- #define DRAGFOLD_wpSetTaskRec WPObject_wpSetTaskRec
- #define DRAGFOLD_wpFindTaskRec WPObject_wpFindTaskRec
- #define DRAGFOLD_wpQueryTitle WPObject_wpQueryTitle
- #define DRAGFOLD_wpRegisterView WPObject_wpRegisterView
- #define DRAGFOLD_wpReleaseObjectMutexSem WPObject_wpReleaseObjectMutexSem
- #define DRAGFOLD_wpRender WPObject_wpRender
- #define DRAGFOLD_wpRenderComplete WPObject_wpRenderComplete
- #define DRAGFOLD_wpReplaceObject WPObject_wpReplaceObject
- #define DRAGFOLD_wpRequestObjectMutexSem WPObject_wpRequestObjectMutexSem
- #define DRAGFOLD_wpRestore WPObject_wpRestore
- #define DRAGFOLD_wpRestoreData WPObject_wpRestoreData
- #define DRAGFOLD_wpRestoreLong WPObject_wpRestoreLong
- #define DRAGFOLD_wpRestoreState WPObject_wpRestoreState
- #define DRAGFOLD_wpRestoreString WPObject_wpRestoreString
- #define DRAGFOLD_wpSaveData WPObject_wpSaveData
- #define DRAGFOLD_wpSaveImmediate WPObject_wpSaveImmediate
- #define DRAGFOLD_wpSaveDeferred WPObject_wpSaveDeferred
- #define DRAGFOLD_wpSaveLong WPObject_wpSaveLong
- #define DRAGFOLD_wpSaveState WPObject_wpSaveState
- #define DRAGFOLD_wpSaveString WPObject_wpSaveString
- #define DRAGFOLD_wpScanSetupString WPObject_wpScanSetupString
- #define DRAGFOLD_wpSetConcurrentView WPObject_wpSetConcurrentView
- #define DRAGFOLD_wpSetButtonAppearance WPObject_wpSetButtonAppearance
- #define DRAGFOLD_wpSetDefaultHelp WPObject_wpSetDefaultHelp
- #define DRAGFOLD_wpSetDefaultView WPObject_wpSetDefaultView
- #define DRAGFOLD_wpSetError WPObject_wpSetError
- #define DRAGFOLD_wpSetIcon WPObject_wpSetIcon
- #define DRAGFOLD_wpSetIconData WPObject_wpSetIconData
- #define DRAGFOLD_wpSetMinWindow WPObject_wpSetMinWindow
- #define DRAGFOLD_wpSetStyle WPObject_wpSetStyle
- #define DRAGFOLD_wpModifyStyle WPObject_wpModifyStyle
- #define DRAGFOLD_wpSetTitle WPObject_wpSetTitle
- #define DRAGFOLD_wpSetup WPObject_wpSetup
- #define DRAGFOLD_wpSwitchTo WPObject_wpSwitchTo
- #define DRAGFOLD_wpUnInitData WPObject_wpUnInitData
- #define DRAGFOLD_wpViewObject WPObject_wpViewObject
- #define DRAGFOLD_wpQueryTrueStyle WPObject_wpQueryTrueStyle
- #define DRAGFOLD_wpQueryHandle WPObject_wpQueryHandle
- #define DRAGFOLD_wpUnlockObject WPObject_wpUnlockObject
- #define DRAGFOLD_somInit SOMObject_somInit
- #define DRAGFOLD_somUninit SOMObject_somUninit
- #define DRAGFOLD_somFree SOMObject_somFree
- #define DRAGFOLD_somDefaultInit SOMObject_somDefaultInit
- #define DRAGFOLD_somDestruct SOMObject_somDestruct
- #define DRAGFOLD_somInit SOMObject_somInit
- #define DRAGFOLD_somUninit SOMObject_somUninit
- #define DRAGFOLD_somGetClass SOMObject_somGetClass
- #define DRAGFOLD_somGetClassName SOMObject_somGetClassName
- #define DRAGFOLD_somGetSize SOMObject_somGetSize
- #define DRAGFOLD_somIsA SOMObject_somIsA
- #define DRAGFOLD_somIsInstanceOf SOMObject_somIsInstanceOf
- #define DRAGFOLD_somRespondsTo SOMObject_somRespondsTo
- #define DRAGFOLD_somComputeForwardVisitMask SOMObject_somComputeForwardVisitMask
- #define DRAGFOLD_somComputeReverseVisitMask SOMObject_somComputeReverseVisitMask
- #define DRAGFOLD_somDispatchV SOMObject_somDispatchV
- #define DRAGFOLD_somDispatchL SOMObject_somDispatchL
- #define DRAGFOLD_somDispatchA SOMObject_somDispatchA
- #define DRAGFOLD_somDispatchD SOMObject_somDispatchD
- #define DRAGFOLD_somDispatch SOMObject_somDispatch
- #define DRAGFOLD_somClassDispatch SOMObject_somClassDispatch
- #define DRAGFOLD_somCastObj SOMObject_somCastObj
- #define DRAGFOLD_somResetObj SOMObject_somResetObj
- #define DRAGFOLD_somPrintSelf SOMObject_somPrintSelf
- #define DRAGFOLD_somDumpSelf SOMObject_somDumpSelf
- #define DRAGFOLD_somDumpSelfInt SOMObject_somDumpSelfInt
- #endif /* SOM_DONT_USE_INHERITED_MACROS */
-
- #endif /* SOM_DRAGFOLD_h */
-