
/*
 * This file was generated by the SOM Compiler.
 * FileName: F:\wpwpsh\rel\ppc\include\os2\wpdisk.h.
 * Generated using:
 *     SOM Precompiler somipc: 2.29.1.3
 *     SOM Emitter emith: 2.41
 */

/*
 *   Module Header
 * 
 *   Module Name: WPDISK
 * 
 *   OS/2 Presentation Manager Workplace class definitions
 * 
 *   Copyright (c) International Business Machines Corporation 1991, 1992
 * 
 */


#ifndef SOM_WPDisk_h
#define SOM_WPDisk_h


/*
 * Passthru lines: File: "C.h", "before"
 */

    #ifndef WPRootFolder
    #define WPRootFolder SOMAny
    #endif

    #define OPEN_AUTO            120

#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 WPDisk
#define WPDisk SOMObject
#endif
#include <wpabs.h>

/*
 * Start of bindings for IDL types
 */

#ifndef SOMClass
    #define SOMClass SOMObject
#endif /* SOMClass */
#ifndef WPFolder
    #define WPFolder SOMObject
#endif /* WPFolder */
#ifndef M_WPObject
    #define M_WPObject SOMObject
#endif /* M_WPObject */
#ifndef WPObject
    #define WPObject SOMObject
#endif /* WPObject */
#ifndef M_WPAbstract
    #define M_WPAbstract SOMObject
#endif /* M_WPAbstract */
#ifndef WPRootFolder
    #define WPRootFolder SOMObject
#endif /* WPRootFolder */
#ifndef M_WPDisk
    #define M_WPDisk SOMObject
#endif /* M_WPDisk */

/*
 * End of bindings for IDL types.
 */

#define WPDisk_MajorVersion 1
#define WPDisk_MinorVersion 2

/*
 * External name shortening if required
 */
#ifdef SOM_USE_SHORT_EXTERNAL_NAMES
#define WPDiskNewClass wpdskc
#define WPDiskClassData wpdskd
#define WPDiskCClassData wpdskx
#endif /* SOM_USE_SHORT_EXTERNAL_NAMES */

/*
 * Include the meta class file
 */
#include <wpdisk.h>
/*--------------Migration------------*/
#define WPDisk_classObj WPDiskClassData.classObject
#define _WPDisk WPDisk_classObj

/*
 * Declare the class creation procedure
 */
SOMEXTERN SOMClass * SOMLINK WPDiskNewClass(integer4 somtmajorVersion,
		integer4 somtminorVersion);

/*
 * Declare the class data structure
 */
SOMEXTERN struct WPDiskClassDataStructure {
	SOMClass *classObject;
	somMToken wpAddDiskDetailsPage;
	somMToken wpSetCorrectDiskIcon;
	somMToken wpQueryLogicalDrive;
	somMToken wpSetLogicalDrive;
	somMToken wpQueryRootFolder;
	somMToken wpSetDiskInfo;
	somMToken wpTouchDisk;
	somMToken wpQueryDiskInfo;
	somMToken wpQueryDriveLockStatus;
	somMToken wpEjectDisk;
	somMToken wpLockDrive;
} SOMDLINK WPDiskClassData;

/*
 * Declare the C specific class data structure
 */
SOMEXTERN struct WPDiskCClassDataStructure {
	somMethodTabs parentMtab;
	somDToken instanceDataToken;
} SOMDLINK WPDiskCClassData;

/*
 * New and Renew macros for WPDisk
 */
#define WPDiskNew() \
   (_somNew(_WPDisk ? _WPDisk : WPDiskNewClass(WPDisk_MajorVersion, WPDisk_MinorVersion)))
#define WPDiskRenew(buf) \
   (_somRenew(_WPDisk ? _WPDisk : WPDiskNewClass(WPDisk_MajorVersion, WPDisk_MinorVersion), buf))

/*
 * Override method: wpSetup
 */
#define WPDisk_wpSetup(somSelf,pszSetupString) \
	WPObject_wpSetup(somSelf,pszSetupString)

/*
 * Override method: wpSaveState
 */
#define WPDisk_wpSaveState(somSelf) \
	WPObject_wpSaveState(somSelf)

/*
 * Override method: wpRestoreState
 */
#define WPDisk_wpRestoreState(somSelf,ulReserved) \
	WPObject_wpRestoreState(somSelf,ulReserved)

/*
 * Override method: wpAddSettingsPages
 */
#define WPDisk_wpAddSettingsPages(somSelf,hwndNotebook) \
	WPObject_wpAddSettingsPages(somSelf,hwndNotebook)

/*
 * Override method: wpFilterPopupMenu
 */
#define WPDisk_wpFilterPopupMenu(somSelf,ulFlags,hwndCnr,fMultiSelect) \
	WPObject_wpFilterPopupMenu(somSelf,ulFlags,hwndCnr,fMultiSelect)

/*
 * Override method: wpModifyPopupMenu
 */
#define WPDisk_wpModifyPopupMenu(somSelf,hwndMenu,hwndCnr,iPosition) \
	WPObject_wpModifyPopupMenu(somSelf,hwndMenu,hwndCnr,iPosition)

/*
 * Override method: wpMenuItemHelpSelected
 */
#define WPDisk_wpMenuItemHelpSelected(somSelf,MenuId) \
	WPObject_wpMenuItemHelpSelected(somSelf,MenuId)

/*
 * Override method: wpMenuItemSelected
 */
#define WPDisk_wpMenuItemSelected(somSelf,hwndFrame,ulMenuId) \
	WPObject_wpMenuItemSelected(somSelf,hwndFrame,ulMenuId)

/*
 * Override method: wpSetTitle
 */
#define WPDisk_wpSetTitle(somSelf,pszNewTitle) \
	WPObject_wpSetTitle(somSelf,pszNewTitle)

/*
 * Override method: wpOpen
 */
#define WPDisk_wpOpen(somSelf,hwndCnr,ulView,param) \
	WPObject_wpOpen(somSelf,hwndCnr,ulView,param)

/*
 * Override method: wpQueryDefaultHelp
 */
#define WPDisk_wpQueryDefaultHelp(somSelf,pHelpPanelId,HelpLibrary) \
	WPObject_wpQueryDefaultHelp(somSelf,pHelpPanelId,HelpLibrary)

/*
 * Override method: wpDragOver
 */
#define WPDisk_wpDragOver(somSelf,hwndCnr,pdrgInfo) \
	WPObject_wpDragOver(somSelf,hwndCnr,pdrgInfo)

/*
 * Override method: wpDrop
 */
#define WPDisk_wpDrop(somSelf,hwndCnr,pdrgInfo,pdrgItem) \
	WPObject_wpDrop(somSelf,hwndCnr,pdrgInfo,pdrgItem)

/*
 * Override method: wpQueryIconData
 */
#define WPDisk_wpQueryIconData(somSelf,pIconInfo) \
	WPObject_wpQueryIconData(somSelf,pIconInfo)

/*
 * Override method: wpSetIconData
 */
#define WPDisk_wpSetIconData(somSelf,pIconInfo) \
	WPObject_wpSetIconData(somSelf,pIconInfo)

/*
 * Override method: wpViewObject
 */
#define WPDisk_wpViewObject(somSelf,hwndCnr,ulView,param) \
	WPObject_wpViewObject(somSelf,hwndCnr,ulView,param)

/*
 * Override method: wpUnInitData
 */
#define WPDisk_wpUnInitData(somSelf) \
	WPObject_wpUnInitData(somSelf)

/*
 * Override method: somDefaultInit
 */
#define WPDisk_somDefaultInit(somSelf,ctrl) \
	SOMObject_somDefaultInit(somSelf,ctrl)

/*
 * Override method: somDestruct
 */
#define WPDisk_somDestruct(somSelf,doFree,ctrl) \
	SOMObject_somDestruct(somSelf,doFree,ctrl)

/*
 * Override method: wpAddObjectWindowPage
 */
#define WPDisk_wpAddObjectWindowPage(somSelf,hwndNotebook) \
	WPObject_wpAddObjectWindowPage(somSelf,hwndNotebook)

/*
 * New Method: wpAddDiskDetailsPage
 */
typedef ULONG   SOMLINK somTP_WPDisk_wpAddDiskDetailsPage(WPDisk *somSelf, 
		HWND hwndNotebook);
typedef somTP_WPDisk_wpAddDiskDetailsPage *somTD_WPDisk_wpAddDiskDetailsPage;
#define somMD_WPDisk_wpAddDiskDetailsPage "::WPDisk::wpAddDiskDetailsPage"
#define WPDisk_wpAddDiskDetailsPage(somSelf,hwndNotebook) \
    (SOM_Resolve(somSelf, WPDisk, wpAddDiskDetailsPage) \
	(somSelf,hwndNotebook))
#ifndef SOMGD_wpAddDiskDetailsPage
    #if (defined(_wpAddDiskDetailsPage) || defined(__wpAddDiskDetailsPage))
        #undef _wpAddDiskDetailsPage
        #undef __wpAddDiskDetailsPage
        #define SOMGD_wpAddDiskDetailsPage 1
    #else
        #define _wpAddDiskDetailsPage WPDisk_wpAddDiskDetailsPage
    #endif /* _wpAddDiskDetailsPage */
#endif /* SOMGD_wpAddDiskDetailsPage */

/*
 * New Method: wpQueryDriveLockStatus
 */
typedef ULONG   SOMLINK somTP_WPDisk_wpQueryDriveLockStatus(WPDisk *somSelf, 
		PULONG pulLockStatus, 
		PULONG pulLockCount);
typedef somTP_WPDisk_wpQueryDriveLockStatus *somTD_WPDisk_wpQueryDriveLockStatus;
#define somMD_WPDisk_wpQueryDriveLockStatus "::WPDisk::wpQueryDriveLockStatus"
#define WPDisk_wpQueryDriveLockStatus(somSelf,pulLockStatus,pulLockCount) \
    (SOM_Resolve(somSelf, WPDisk, wpQueryDriveLockStatus) \
	(somSelf,pulLockStatus,pulLockCount))
#ifndef SOMGD_wpQueryDriveLockStatus
    #if (defined(_wpQueryDriveLockStatus) || defined(__wpQueryDriveLockStatus))
        #undef _wpQueryDriveLockStatus
        #undef __wpQueryDriveLockStatus
        #define SOMGD_wpQueryDriveLockStatus 1
    #else
        #define _wpQueryDriveLockStatus WPDisk_wpQueryDriveLockStatus
    #endif /* _wpQueryDriveLockStatus */
#endif /* SOMGD_wpQueryDriveLockStatus */

/*
 * New Method: wpEjectDisk
 */
typedef ULONG   SOMLINK somTP_WPDisk_wpEjectDisk(WPDisk *somSelf);
typedef somTP_WPDisk_wpEjectDisk *somTD_WPDisk_wpEjectDisk;
#define somMD_WPDisk_wpEjectDisk "::WPDisk::wpEjectDisk"
#define WPDisk_wpEjectDisk(somSelf) \
    (SOM_Resolve(somSelf, WPDisk, wpEjectDisk) \
	(somSelf))
#ifndef SOMGD_wpEjectDisk
    #if (defined(_wpEjectDisk) || defined(__wpEjectDisk))
        #undef _wpEjectDisk
        #undef __wpEjectDisk
        #define SOMGD_wpEjectDisk 1
    #else
        #define _wpEjectDisk WPDisk_wpEjectDisk
    #endif /* _wpEjectDisk */
#endif /* SOMGD_wpEjectDisk */

/*
 * New Method: wpLockDrive
 */
typedef ULONG   SOMLINK somTP_WPDisk_wpLockDrive(WPDisk *somSelf, 
		BOOL fLock);
typedef somTP_WPDisk_wpLockDrive *somTD_WPDisk_wpLockDrive;
#define somMD_WPDisk_wpLockDrive "::WPDisk::wpLockDrive"
#define WPDisk_wpLockDrive(somSelf,fLock) \
    (SOM_Resolve(somSelf, WPDisk, wpLockDrive) \
	(somSelf,fLock))
#ifndef SOMGD_wpLockDrive
    #if (defined(_wpLockDrive) || defined(__wpLockDrive))
        #undef _wpLockDrive
        #undef __wpLockDrive
        #define SOMGD_wpLockDrive 1
    #else
        #define _wpLockDrive WPDisk_wpLockDrive
    #endif /* _wpLockDrive */
#endif /* SOMGD_wpLockDrive */

/*
 * New Method: wpQueryLogicalDrive
 */
typedef ULONG   SOMLINK somTP_WPDisk_wpQueryLogicalDrive(WPDisk *somSelf);
typedef somTP_WPDisk_wpQueryLogicalDrive *somTD_WPDisk_wpQueryLogicalDrive;
#define somMD_WPDisk_wpQueryLogicalDrive "::WPDisk::wpQueryLogicalDrive"
#define WPDisk_wpQueryLogicalDrive(somSelf) \
    (SOM_Resolve(somSelf, WPDisk, wpQueryLogicalDrive) \
	(somSelf))
#ifndef SOMGD_wpQueryLogicalDrive
    #if (defined(_wpQueryLogicalDrive) || defined(__wpQueryLogicalDrive))
        #undef _wpQueryLogicalDrive
        #undef __wpQueryLogicalDrive
        #define SOMGD_wpQueryLogicalDrive 1
    #else
        #define _wpQueryLogicalDrive WPDisk_wpQueryLogicalDrive
    #endif /* _wpQueryLogicalDrive */
#endif /* SOMGD_wpQueryLogicalDrive */

/*
 * New Method: wpQueryRootFolder
 */
typedef WPRootFolder*   SOMLINK somTP_WPDisk_wpQueryRootFolder(WPDisk *somSelf);
typedef somTP_WPDisk_wpQueryRootFolder *somTD_WPDisk_wpQueryRootFolder;
#define somMD_WPDisk_wpQueryRootFolder "::WPDisk::wpQueryRootFolder"
#define WPDisk_wpQueryRootFolder(somSelf) \
    (SOM_Resolve(somSelf, WPDisk, wpQueryRootFolder) \
	(somSelf))
#ifndef SOMGD_wpQueryRootFolder
    #if (defined(_wpQueryRootFolder) || defined(__wpQueryRootFolder))
        #undef _wpQueryRootFolder
        #undef __wpQueryRootFolder
        #define SOMGD_wpQueryRootFolder 1
    #else
        #define _wpQueryRootFolder WPDisk_wpQueryRootFolder
    #endif /* _wpQueryRootFolder */
#endif /* SOMGD_wpQueryRootFolder */

/*
 * New Method: wpSetCorrectDiskIcon
 */
typedef BOOL   SOMLINK somTP_WPDisk_wpSetCorrectDiskIcon(WPDisk *somSelf);
typedef somTP_WPDisk_wpSetCorrectDiskIcon *somTD_WPDisk_wpSetCorrectDiskIcon;
#define somMD_WPDisk_wpSetCorrectDiskIcon "::WPDisk::wpSetCorrectDiskIcon"
#define WPDisk_wpSetCorrectDiskIcon(somSelf) \
    (SOM_Resolve(somSelf, WPDisk, wpSetCorrectDiskIcon) \
	(somSelf))
#ifndef SOMGD_wpSetCorrectDiskIcon
    #if (defined(_wpSetCorrectDiskIcon) || defined(__wpSetCorrectDiskIcon))
        #undef _wpSetCorrectDiskIcon
        #undef __wpSetCorrectDiskIcon
        #define SOMGD_wpSetCorrectDiskIcon 1
    #else
        #define _wpSetCorrectDiskIcon WPDisk_wpSetCorrectDiskIcon
    #endif /* _wpSetCorrectDiskIcon */
#endif /* SOMGD_wpSetCorrectDiskIcon */
#ifndef SOM_DONT_USE_INHERITED_MACROS
#define WPDisk_wpAddObjectGeneralPage WPObject_wpAddObjectGeneralPage
#define WPDisk_wpAddObjectGeneralPage2 WPObject_wpAddObjectGeneralPage2
#define WPDisk_wpAddToObjUseList WPObject_wpAddToObjUseList
#define WPDisk_wpAllocMem WPObject_wpAllocMem
#define WPDisk_wpAppendObject WPObject_wpAppendObject
#define WPDisk_wpAssertObjectMutexSem WPObject_wpAssertObjectMutexSem
#define WPDisk_wpClose WPObject_wpClose
#define WPDisk_wpCnrInsertObject WPObject_wpCnrInsertObject
#define WPDisk_wpCnrRemoveObject WPObject_wpCnrRemoveObject
#define WPDisk_wpCnrSetEmphasis WPObject_wpCnrSetEmphasis
#define WPDisk_wpConfirmDelete WPObject_wpConfirmDelete
#define WPDisk_wpConfirmObjectTitle WPObject_wpConfirmObjectTitle
#define WPDisk_wpCopiedFromTemplate WPObject_wpCopiedFromTemplate
#define WPDisk_wpCopyObject WPObject_wpCopyObject
#define WPDisk_wpCreateAnother WPObject_wpCreateAnother
#define WPDisk_wpCreateFromTemplate WPObject_wpCreateFromTemplate
#define WPDisk_wpCreateShadowObject WPObject_wpCreateShadowObject
#define WPDisk_wpDelete WPObject_wpDelete
#define WPDisk_wpDeleteFromObjUseList WPObject_wpDeleteFromObjUseList
#define WPDisk_wpDisplayHelp WPObject_wpDisplayHelp
#define WPDisk_wpDisplayMenu WPObject_wpDisplayMenu
#define WPDisk_wpDoesObjectMatch WPObject_wpDoesObjectMatch
#define WPDisk_wpDraggedOverObject WPObject_wpDraggedOverObject
#define WPDisk_wpDroppedOnObject WPObject_wpDroppedOnObject
#define WPDisk_wpEndConversation WPObject_wpEndConversation
#define WPDisk_wpFindUseItem WPObject_wpFindUseItem
#define WPDisk_wpFormatDragItem WPObject_wpFormatDragItem
#define WPDisk_wpFree WPObject_wpFree
#define WPDisk_wpFreeMem WPObject_wpFreeMem
#define WPDisk_wpHide WPObject_wpHide
#define WPDisk_wpInitData WPObject_wpInitData
#define WPDisk_wpInsertPopupMenuItems WPObject_wpInsertPopupMenuItems
#define WPDisk_wpInsertSettingsPage WPObject_wpInsertSettingsPage
#define WPDisk_wpMoveObject WPObject_wpMoveObject
#define WPDisk_wpPrintObject WPObject_wpPrintObject
#define WPDisk_wpQueryConcurrentView WPObject_wpQueryConcurrentView
#define WPDisk_wpQueryButtonAppearance WPObject_wpQueryButtonAppearance
#define WPDisk_wpQueryConfirmations WPObject_wpQueryConfirmations
#define WPDisk_wpQueryDefaultView WPObject_wpQueryDefaultView
#define WPDisk_wpQueryDetailsData WPObject_wpQueryDetailsData
#define WPDisk_wpQueryError WPObject_wpQueryError
#define WPDisk_wpSetFolder WPObject_wpSetFolder
#define WPDisk_wpQueryFolder WPObject_wpQueryFolder
#define WPDisk_wpQueryIcon WPObject_wpQueryIcon
#define WPDisk_wpQueryMinWindow WPObject_wpQueryMinWindow
#define WPDisk_wpQueryNameClashOptions WPObject_wpQueryNameClashOptions
#define WPDisk_wpQueryStyle WPObject_wpQueryStyle
#define WPDisk_wpSetTaskRec WPObject_wpSetTaskRec
#define WPDisk_wpFindTaskRec WPObject_wpFindTaskRec
#define WPDisk_wpQueryTitle WPObject_wpQueryTitle
#define WPDisk_wpRegisterView WPObject_wpRegisterView
#define WPDisk_wpReleaseObjectMutexSem WPObject_wpReleaseObjectMutexSem
#define WPDisk_wpRender WPObject_wpRender
#define WPDisk_wpRenderComplete WPObject_wpRenderComplete
#define WPDisk_wpReplaceObject WPObject_wpReplaceObject
#define WPDisk_wpRequestObjectMutexSem WPObject_wpRequestObjectMutexSem
#define WPDisk_wpRestore WPObject_wpRestore
#define WPDisk_wpRestoreData WPObject_wpRestoreData
#define WPDisk_wpRestoreLong WPObject_wpRestoreLong
#define WPDisk_wpRestoreString WPObject_wpRestoreString
#define WPDisk_wpSaveData WPObject_wpSaveData
#define WPDisk_wpSaveImmediate WPObject_wpSaveImmediate
#define WPDisk_wpSaveDeferred WPObject_wpSaveDeferred
#define WPDisk_wpSaveLong WPObject_wpSaveLong
#define WPDisk_wpSaveString WPObject_wpSaveString
#define WPDisk_wpScanSetupString WPObject_wpScanSetupString
#define WPDisk_wpSetConcurrentView WPObject_wpSetConcurrentView
#define WPDisk_wpSetButtonAppearance WPObject_wpSetButtonAppearance
#define WPDisk_wpSetDefaultHelp WPObject_wpSetDefaultHelp
#define WPDisk_wpSetDefaultView WPObject_wpSetDefaultView
#define WPDisk_wpSetError WPObject_wpSetError
#define WPDisk_wpSetIconHandle WPObject_wpSetIconHandle
#define WPDisk_wpQueryScreenGroupID WPObject_wpQueryScreenGroupID
#define WPDisk_wpSetupOnce WPObject_wpSetupOnce
#define WPDisk_wpSetIcon WPObject_wpSetIcon
#define WPDisk_wpSetMinWindow WPObject_wpSetMinWindow
#define WPDisk_wpSetStyle WPObject_wpSetStyle
#define WPDisk_wpModifyStyle WPObject_wpModifyStyle
#define WPDisk_wpSwitchTo WPObject_wpSwitchTo
#define WPDisk_wpQueryTrueStyle WPObject_wpQueryTrueStyle
#define WPDisk_wpQueryHandle WPObject_wpQueryHandle
#define WPDisk_wpUnlockObject WPObject_wpUnlockObject
#define WPDisk_wpObjectReady WPObject_wpObjectReady
#define WPDisk_wpIsObjectInitialized WPObject_wpIsObjectInitialized
#define WPDisk_wpCreateShadowObjectExt WPObject_wpCreateShadowObjectExt
#define WPDisk_wpCnrDeleteUseItem WPObject_wpCnrDeleteUseItem
#define WPDisk_wpIsDeleteable WPObject_wpIsDeleteable
#define WPDisk_wpQueryCoreRecord WPObject_wpQueryCoreRecord
#define WPDisk_wpSetObjectID WPObject_wpSetObjectID
#define WPDisk_wpQueryObjectID WPObject_wpQueryObjectID
#define WPDisk_wpSetDefaultIconPos WPObject_wpSetDefaultIconPos
#define WPDisk_wpQueryDefaultIconPos WPObject_wpQueryDefaultIconPos
#define WPDisk_wpCnrRefreshDetails WPObject_wpCnrRefreshDetails
#define WPDisk_wpFindViewItem WPObject_wpFindViewItem
#define WPDisk_wpLockObject WPObject_wpLockObject
#define WPDisk_wpIsLocked WPObject_wpIsLocked
#define WPDisk_wpQueryContainerFlagPtr WPObject_wpQueryContainerFlagPtr
#define WPDisk_wpWaitForClose WPObject_wpWaitForClose
#define WPDisk_somDefaultCopyInit SOMObject_somDefaultCopyInit
#define WPDisk_somDefaultAssign SOMObject_somDefaultAssign
#define WPDisk_somDefaultConstCopyInit SOMObject_somDefaultConstCopyInit
#define WPDisk_somDefaultVCopyInit SOMObject_somDefaultVCopyInit
#define WPDisk_somDefaultConstVCopyInit SOMObject_somDefaultConstVCopyInit
#define WPDisk_somDefaultConstAssign SOMObject_somDefaultConstAssign
#define WPDisk_somDefaultVAssign SOMObject_somDefaultVAssign
#define WPDisk_somDefaultConstVAssign SOMObject_somDefaultConstVAssign
#define WPDisk_somInit SOMObject_somInit
#define WPDisk_somFree SOMObject_somFree
#define WPDisk_somUninit SOMObject_somUninit
#define WPDisk_somGetClass SOMObject_somGetClass
#define WPDisk_somGetClassName SOMObject_somGetClassName
#define WPDisk_somGetSize SOMObject_somGetSize
#define WPDisk_somIsA SOMObject_somIsA
#define WPDisk_somIsInstanceOf SOMObject_somIsInstanceOf
#define WPDisk_somRespondsTo SOMObject_somRespondsTo
#define WPDisk_somDispatch SOMObject_somDispatch
#define WPDisk_somClassDispatch SOMObject_somClassDispatch
#define WPDisk_somCastObj SOMObject_somCastObj
#define WPDisk_somResetObj SOMObject_somResetObj
#define WPDisk_somPrintSelf SOMObject_somPrintSelf
#define WPDisk_somDumpSelf SOMObject_somDumpSelf
#define WPDisk_somDumpSelfInt SOMObject_somDumpSelfInt
#endif /* SOM_DONT_USE_INHERITED_MACROS */

#endif       /* SOM_WPDisk_h */

#ifndef SOM_M_WPDisk_h
#define SOM_M_WPDisk_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 M_WPDisk
#define M_WPDisk SOMObject
#endif
#include <wpabs.h>

/*
 * Start of bindings for IDL types
 */


/*
 * End of bindings for IDL types.
 */

#define M_WPDisk_MajorVersion 1
#define M_WPDisk_MinorVersion 2

/*
 * External name shortening if required
 */
#ifdef SOM_USE_SHORT_EXTERNAL_NAMES
#define M_WPDiskNewClass wpdskc
#define M_WPDiskClassData wpdskd
#define M_WPDiskCClassData wpdskx
#endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
/*--------------Migration------------*/
#define M_WPDisk_classObj M_WPDiskClassData.classObject
#define _M_WPDisk M_WPDisk_classObj

/*
 * Declare the class creation procedure
 */
SOMEXTERN SOMClass * SOMLINK M_WPDiskNewClass(integer4 somtmajorVersion,
		integer4 somtminorVersion);

/*
 * Declare the class data structure
 */
SOMEXTERN struct M_WPDiskClassDataStructure {
	SOMClass *classObject;
} SOMDLINK M_WPDiskClassData;

/*
 * Declare the C specific class data structure
 */
SOMEXTERN struct M_WPDiskCClassDataStructure {
	somMethodTabs parentMtab;
	somDToken instanceDataToken;
} SOMDLINK M_WPDiskCClassData;

/*
 * New and Renew macros for M_WPDisk
 */
#define M_WPDiskNew() \
   (_somNew(_M_WPDisk ? _M_WPDisk : M_WPDiskNewClass(M_WPDisk_MajorVersion, M_WPDisk_MinorVersion)))
#define M_WPDiskRenew(buf) \
   (_somRenew(_M_WPDisk ? _M_WPDisk : M_WPDiskNewClass(M_WPDisk_MajorVersion, M_WPDisk_MinorVersion), buf))

/*
 * Override method: wpclsQueryDefaultHelp
 */
#define M_WPDisk_wpclsQueryDefaultHelp(somSelf,pHelpPanelId,pszHelpLibrary) \
	M_WPObject_wpclsQueryDefaultHelp(somSelf,pHelpPanelId,pszHelpLibrary)

/*
 * Override method: wpclsQueryIconData
 */
#define M_WPDisk_wpclsQueryIconData(somSelf,pIconInfo) \
	M_WPObject_wpclsQueryIconData(somSelf,pIconInfo)

/*
 * Override method: wpclsQueryStyle
 */
#define M_WPDisk_wpclsQueryStyle(somSelf) \
	M_WPObject_wpclsQueryStyle(somSelf)

/*
 * Override method: wpclsQueryTitle
 */
#define M_WPDisk_wpclsQueryTitle(somSelf) \
	M_WPObject_wpclsQueryTitle(somSelf)

/*
 * Override method: wpclsQueryDefaultView
 */
#define M_WPDisk_wpclsQueryDefaultView(somSelf) \
	M_WPObject_wpclsQueryDefaultView(somSelf)
#ifndef SOM_DONT_USE_INHERITED_MACROS
#define M_WPDisk_wpclsQuerySetting M_WPAbstract_wpclsQuerySetting
#define M_WPDisk_wpclsSetSetting M_WPAbstract_wpclsSetSetting
#define M_WPDisk_wpclsCreateDefaultTemplates M_WPObject_wpclsCreateDefaultTemplates
#define M_WPDisk_wpclsInitData M_WPObject_wpclsInitData
#define M_WPDisk_wpclsMakeAwake M_WPObject_wpclsMakeAwake
#define M_WPDisk_wpclsNew M_WPObject_wpclsNew
#define M_WPDisk_wpclsQueryDetails M_WPObject_wpclsQueryDetails
#define M_WPDisk_wpclsQueryDetailsInfo M_WPObject_wpclsQueryDetailsInfo
#define M_WPDisk_wpclsQueryExtendedCriteria M_WPObject_wpclsQueryExtendedCriteria
#define M_WPDisk_wpclsQueryFolder M_WPObject_wpclsQueryFolder
#define M_WPDisk_wpclsQueryIcon M_WPObject_wpclsQueryIcon
#define M_WPDisk_wpclsQuerySearchInfo M_WPObject_wpclsQuerySearchInfo
#define M_WPDisk_wpclsUnInitData M_WPObject_wpclsUnInitData
#define M_WPDisk_wpclsFindObjectFirst M_WPObject_wpclsFindObjectFirst
#define M_WPDisk_wpclsFindObjectNext M_WPObject_wpclsFindObjectNext
#define M_WPDisk_wpclsFindObjectEnd M_WPObject_wpclsFindObjectEnd
#define M_WPDisk_wpclsSetError M_WPObject_wpclsSetError
#define M_WPDisk_wpclsQueryError M_WPObject_wpclsQueryError
#define M_WPDisk_wpclsQuerySettingsPageSize M_WPObject_wpclsQuerySettingsPageSize
#define M_WPDisk_wpclsQueryObject M_WPObject_wpclsQueryObject
#define M_WPDisk_wpclsQueryButtonAppearance M_WPObject_wpclsQueryButtonAppearance
#define M_WPDisk_wpclsDecUsage M_WPObject_wpclsDecUsage
#define M_WPDisk_wpclsIncUsage M_WPObject_wpclsIncUsage
#define M_WPDisk_wpclsInsertMultipleObjects M_WPObject_wpclsInsertMultipleObjects
#define M_WPDisk_wpclsFindOneObject M_WPObject_wpclsFindOneObject
#define M_WPDisk_wpclsSetSettingsPageSize M_WPObject_wpclsSetSettingsPageSize
#define M_WPDisk_wpclsSetIconData M_WPObject_wpclsSetIconData
#define M_WPDisk_wpclsSetIcon M_WPObject_wpclsSetIcon
#define M_WPDisk_wpclsObjectFromHandle M_WPObject_wpclsObjectFromHandle
#define M_WPDisk_wpclsRemoveObjects M_WPObject_wpclsRemoveObjects
#define M_WPDisk__get_somDataAlignment SOMClass__get_somDataAlignment
#define M_WPDisk__get_somInstanceDataOffsets SOMClass__get_somInstanceDataOffsets
#define M_WPDisk__get_somDirectInitClasses SOMClass__get_somDirectInitClasses
#define M_WPDisk__set_somDirectInitClasses SOMClass__set_somDirectInitClasses
#define M_WPDisk_somNew SOMClass_somNew
#define M_WPDisk_somNewNoInit SOMClass_somNewNoInit
#define M_WPDisk_somRenew SOMClass_somRenew
#define M_WPDisk_somRenewNoInit SOMClass_somRenewNoInit
#define M_WPDisk_somRenewNoZero SOMClass_somRenewNoZero
#define M_WPDisk_somRenewNoInitNoZero SOMClass_somRenewNoInitNoZero
#define M_WPDisk_somAllocate SOMClass_somAllocate
#define M_WPDisk_somDeallocate SOMClass_somDeallocate
#define M_WPDisk_somGetInstanceInitMask SOMClass_somGetInstanceInitMask
#define M_WPDisk_somGetInstanceDestructionMask SOMClass_somGetInstanceDestructionMask
#define M_WPDisk_somGetInstanceAssignmentMask SOMClass_somGetInstanceAssignmentMask
#define M_WPDisk_somInitClass SOMClass_somInitClass
#define M_WPDisk_somInitMIClass SOMClass_somInitMIClass
#define M_WPDisk_somAddStaticMethod SOMClass_somAddStaticMethod
#define M_WPDisk_somAddDynamicMethod SOMClass_somAddDynamicMethod
#define M_WPDisk_somOverrideSMethod SOMClass_somOverrideSMethod
#define M_WPDisk_somClassReady SOMClass_somClassReady
#define M_WPDisk_somGetApplyStub SOMClass_somGetApplyStub
#define M_WPDisk_somGetClassData SOMClass_somGetClassData
#define M_WPDisk_somSetClassData SOMClass_somSetClassData
#define M_WPDisk_somGetClassMtab SOMClass_somGetClassMtab
#define M_WPDisk_somGetInstanceOffset SOMClass_somGetInstanceOffset
#define M_WPDisk_somGetInstancePartSize SOMClass_somGetInstancePartSize
#define M_WPDisk_somGetInstanceSize SOMClass_somGetInstanceSize
#define M_WPDisk_somGetInstanceToken SOMClass_somGetInstanceToken
#define M_WPDisk_somGetMemberToken SOMClass_somGetMemberToken
#define M_WPDisk_somGetMethodData SOMClass_somGetMethodData
#define M_WPDisk_somGetRdStub SOMClass_somGetRdStub
#define M_WPDisk_somGetMethodDescriptor SOMClass_somGetMethodDescriptor
#define M_WPDisk_somGetMethodIndex SOMClass_somGetMethodIndex
#define M_WPDisk_somGetMethodToken SOMClass_somGetMethodToken
#define M_WPDisk_somGetName SOMClass_somGetName
#define M_WPDisk_somGetNthMethodData SOMClass_somGetNthMethodData
#define M_WPDisk_somGetNthMethodInfo SOMClass_somGetNthMethodInfo
#define M_WPDisk_somGetNumMethods SOMClass_somGetNumMethods
#define M_WPDisk_somGetNumStaticMethods SOMClass_somGetNumStaticMethods
#define M_WPDisk_somGetParent SOMClass_somGetParent
#define M_WPDisk_somGetParents SOMClass_somGetParents
#define M_WPDisk_somGetPClsMtab SOMClass_somGetPClsMtab
#define M_WPDisk_somGetPClsMtabs SOMClass_somGetPClsMtabs
#define M_WPDisk_somGetVersionNumbers SOMClass_somGetVersionNumbers
#define M_WPDisk_somSetMethodDescriptor SOMClass_somSetMethodDescriptor
#define M_WPDisk_somFindMethod SOMClass_somFindMethod
#define M_WPDisk_somFindMethodOk SOMClass_somFindMethodOk
#define M_WPDisk_somFindSMethod SOMClass_somFindSMethod
#define M_WPDisk_somFindSMethodOk SOMClass_somFindSMethodOk
#define M_WPDisk_somLookupMethod SOMClass_somLookupMethod
#define M_WPDisk_somCheckVersion SOMClass_somCheckVersion
#define M_WPDisk_somDescendedFrom SOMClass_somDescendedFrom
#define M_WPDisk_somSupportsMethod SOMClass_somSupportsMethod
#define M_WPDisk_somDefinedMethod SOMClass_somDefinedMethod
#define M_WPDisk_somOverrideMtab SOMClass_somOverrideMtab
#define M_WPDisk_somDefaultInit SOMObject_somDefaultInit
#define M_WPDisk_somDestruct SOMObject_somDestruct
#define M_WPDisk_somDefaultCopyInit SOMObject_somDefaultCopyInit
#define M_WPDisk_somDefaultAssign SOMObject_somDefaultAssign
#define M_WPDisk_somDefaultConstCopyInit SOMObject_somDefaultConstCopyInit
#define M_WPDisk_somDefaultVCopyInit SOMObject_somDefaultVCopyInit
#define M_WPDisk_somDefaultConstVCopyInit SOMObject_somDefaultConstVCopyInit
#define M_WPDisk_somDefaultConstAssign SOMObject_somDefaultConstAssign
#define M_WPDisk_somDefaultVAssign SOMObject_somDefaultVAssign
#define M_WPDisk_somDefaultConstVAssign SOMObject_somDefaultConstVAssign
#define M_WPDisk_somInit SOMObject_somInit
#define M_WPDisk_somFree SOMObject_somFree
#define M_WPDisk_somUninit SOMObject_somUninit
#define M_WPDisk_somGetClass SOMObject_somGetClass
#define M_WPDisk_somGetClassName SOMObject_somGetClassName
#define M_WPDisk_somGetSize SOMObject_somGetSize
#define M_WPDisk_somIsA SOMObject_somIsA
#define M_WPDisk_somIsInstanceOf SOMObject_somIsInstanceOf
#define M_WPDisk_somRespondsTo SOMObject_somRespondsTo
#define M_WPDisk_somDispatch SOMObject_somDispatch
#define M_WPDisk_somClassDispatch SOMObject_somClassDispatch
#define M_WPDisk_somCastObj SOMObject_somCastObj
#define M_WPDisk_somResetObj SOMObject_somResetObj
#define M_WPDisk_somPrintSelf SOMObject_somPrintSelf
#define M_WPDisk_somDumpSelf SOMObject_somDumpSelf
#define M_WPDisk_somDumpSelfInt SOMObject_somDumpSelfInt
#endif /* SOM_DONT_USE_INHERITED_MACROS */

#endif       /* SOM_M_WPDisk_h */
