
/*
 * This file was generated by the SOM Compiler.
 * FileName: E:\cwpsh\rel\os2c\include\base\os2\wpcmdf.h.
 * Generated using:
 *     SOM Precompiler somipc: 2.29.1.14
 *     SOM Emitter emith: 2.43
 */

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


#ifndef SOM_WPCommandFile_h
#define SOM_WPCommandFile_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 WPCommandFile
#define WPCommandFile SOMObject
#endif
#include <wppgmf.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 WPImageFile
    #define WPImageFile SOMObject
#endif /* WPImageFile */
#ifndef M_WPFileSystem
    #define M_WPFileSystem SOMObject
#endif /* M_WPFileSystem */
#ifndef M_WPDataFile
    #define M_WPDataFile SOMObject
#endif /* M_WPDataFile */
#ifndef M_WPProgramFile
    #define M_WPProgramFile SOMObject
#endif /* M_WPProgramFile */
#ifndef M_WPCommandFile
    #define M_WPCommandFile SOMObject
#endif /* M_WPCommandFile */

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

#define WPCommandFile_MajorVersion 1
#define WPCommandFile_MinorVersion 2

/*
 * External name shortening if required
 */
#ifdef SOM_USE_SHORT_EXTERNAL_NAMES
#define WPCommandFileNewClass wpcmdc
#pragma linkage(wpcmdc, system)
#define WPCommandFileClassData wpcmdd
#define WPCommandFileCClassData wpcmdx
#endif /* SOM_USE_SHORT_EXTERNAL_NAMES */

/*
 * Include the meta class file
 */
#include <wpcmdf.h>
/*--------------Migration------------*/
#define WPCommandFile_classObj WPCommandFileClassData.classObject
#define _WPCommandFile WPCommandFile_classObj

/*
 * Declare the class creation procedure
 */
SOMEXTERN SOMClass * SOMLINK WPCommandFileNewClass(integer4 somtmajorVersion,
		integer4 somtminorVersion);
#pragma linkage(WPCommandFileNewClass, system)

/*
 * Declare the class data structure
 */
SOMEXTERN struct WPCommandFileClassDataStructure {
	SOMClass *classObject;
} SOMDLINK WPCommandFileClassData;

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

/*
 * New and Renew macros for WPCommandFile
 */
#define WPCommandFileNew() \
   ( _WPCommandFile ? \
	_somNew(_WPCommandFile) \
	: ( WPCommandFileNewClass(\
		WPCommandFile_MajorVersion, \
		WPCommandFile_MinorVersion),\
	   _somNew(_WPCommandFile)))
#define WPCommandFileRenew(buf) \
   ( _WPCommandFile ? \
	_somRenew(_WPCommandFile, buf) \
	: ( WPCommandFileNewClass(\
		WPCommandFile_MajorVersion, \
		WPCommandFile_MinorVersion),\
	   _somRenew(_WPCommandFile, buf)))

/*
 * Override method: wpSetupOnce
 */
#define WPCommandFile_wpSetupOnce(somSelf,pszSetupString) \
	WPObject_wpSetupOnce(somSelf,pszSetupString)

/*
 * Override method: wpPrintObject
 */
#define WPCommandFile_wpPrintObject(somSelf,pPrintDest,ulReserved) \
	WPObject_wpPrintObject(somSelf,pPrintDest,ulReserved)

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

/*
 * Override method: somDestruct
 */
#define WPCommandFile_somDestruct(somSelf,doFree,ctrl) \
	SOMObject_somDestruct(somSelf,doFree,ctrl)
#ifndef SOM_DONT_USE_INHERITED_MACROS
#define WPCommandFile_wpAddProgramAssociationPage WPProgramFile_wpAddProgramAssociationPage
#define WPCommandFile_wpQueryProgDetails WPProgramFile_wpQueryProgDetails
#define WPCommandFile_wpSetProgDetails WPProgramFile_wpSetProgDetails
#define WPCommandFile_wpAddProgramPage WPProgramFile_wpAddProgramPage
#define WPCommandFile_wpAddProgramSessionPage WPProgramFile_wpAddProgramSessionPage
#define WPCommandFile_wpQueryAssociationFilter WPProgramFile_wpQueryAssociationFilter
#define WPCommandFile_wpQueryAssociationType WPProgramFile_wpQueryAssociationType
#define WPCommandFile_wpSetAssociationFilter WPProgramFile_wpSetAssociationFilter
#define WPCommandFile_wpSetAssociationType WPProgramFile_wpSetAssociationType
#define WPCommandFile_wpQueryProgramAssociations WPProgramFile_wpQueryProgramAssociations
#define WPCommandFile_wpSetProgramAssociations WPProgramFile_wpSetProgramAssociations
#define WPCommandFile_wpQueryWarnBeforeStart WPProgramFile_wpQueryWarnBeforeStart
#define WPCommandFile_wpSetWarnBeforeStart WPProgramFile_wpSetWarnBeforeStart
#define WPCommandFile_wpSetProgIcon WPProgramFile_wpSetProgIcon
#define WPCommandFile_wpSetDefaultCpSettings WPProgramFile_wpSetDefaultCpSettings
#define WPCommandFile_wpSetCpValues WPProgramFile_wpSetCpValues
#define WPCommandFile_wpQueryCpValues WPProgramFile_wpQueryCpValues
#define WPCommandFile_wpSaveCpState WPProgramFile_wpSaveCpState
#define WPCommandFile_wpRestoreCpState WPProgramFile_wpRestoreCpState
#define WPCommandFile_wpUndoCpSettings WPProgramFile_wpUndoCpSettings
#define WPCommandFile_wpInitCpData WPProgramFile_wpInitCpData
#define WPCommandFile_wpSetAssociatedFileIcon WPDataFile_wpSetAssociatedFileIcon
#define WPCommandFile_wpQueryIcon WPObject_wpQueryIcon
#define WPCommandFile_wpInitData WPObject_wpInitData
#define WPCommandFile_wpSaveState WPObject_wpSaveState
#define WPCommandFile_wpRestoreState WPObject_wpRestoreState
#define WPCommandFile_wpAddSettingsPages WPObject_wpAddSettingsPages
#define WPCommandFile_wpOpen WPObject_wpOpen
#define WPCommandFile_wpMenuItemSelected WPObject_wpMenuItemSelected
#define WPCommandFile_wpMenuItemHelpSelected WPObject_wpMenuItemHelpSelected
#define WPCommandFile_wpMoveObject WPObject_wpMoveObject
#define WPCommandFile_wpDragOver WPObject_wpDragOver
#define WPCommandFile_wpDrop WPObject_wpDrop
#define WPCommandFile_wpCopyObject WPObject_wpCopyObject
#define WPCommandFile_wpConfirmRenameFileWithExt WPFileSystem_wpConfirmRenameFileWithExt
#define WPCommandFile_wpCreateAnother WPObject_wpCreateAnother
#define WPCommandFile_wpSetup WPObject_wpSetup
#define WPCommandFile_wpQueryNameClashOptions WPObject_wpQueryNameClashOptions
#define WPCommandFile_wpFilterMenu WPObject_wpFilterMenu
#define WPCommandFile_wpModifyMenu WPObject_wpModifyMenu
#define WPCommandFile_wpCnrInsertObject WPObject_wpCnrInsertObject
#define WPCommandFile_wpAddBecomePage WPDataFile_wpAddBecomePage
#define WPCommandFile_wpAddFileTypePage WPDataFile_wpAddFileTypePage
#define WPCommandFile_wpPrintMetaFile WPDataFile_wpPrintMetaFile
#define WPCommandFile_wpPrintPifFile WPDataFile_wpPrintPifFile
#define WPCommandFile_wpPrintPrinterSpecificFile WPDataFile_wpPrintPrinterSpecificFile
#define WPCommandFile_wpPrintUnknownFile WPDataFile_wpPrintUnknownFile
#define WPCommandFile_wpQueryAssociatedProgram WPDataFile_wpQueryAssociatedProgram
#define WPCommandFile_wpQueryAssociatedFileIcon WPDataFile_wpQueryAssociatedFileIcon
#define WPCommandFile_wpSetContentsFromPointer WPDataFile_wpSetContentsFromPointer
#define WPCommandFile_wpQueryPointerFromContents WPDataFile_wpQueryPointerFromContents
#define WPCommandFile_wpSetContentsFromHandle WPDataFile_wpSetContentsFromHandle
#define WPCommandFile_wpQueryHandleFromContents WPDataFile_wpQueryHandleFromContents
#define WPCommandFile_wpRenderFromClipboard WPDataFile_wpRenderFromClipboard
#define WPCommandFile_SetUpdateIndicator WPDataFile_SetUpdateIndicator
#define WPCommandFile_QueryUpdateIndicator WPDataFile_QueryUpdateIndicator
#define WPCommandFile_SetNeedSave WPDataFile_SetNeedSave
#define WPCommandFile_QueryNeedSave WPDataFile_QueryNeedSave
#define WPCommandFile_wpSetDefaultBidiSettings WPDataFile_wpSetDefaultBidiSettings
#define WPCommandFile_wpQueryDefaultBidiSettings WPDataFile_wpQueryDefaultBidiSettings
#define WPCommandFile_wpSetBidiValues WPDataFile_wpSetBidiValues
#define WPCommandFile_wpQueryBidiValues WPDataFile_wpQueryBidiValues
#define WPCommandFile_wpInsertBidiPage WPDataFile_wpInsertBidiPage
#define WPCommandFile_wpSaveBidiState WPDataFile_wpSaveBidiState
#define WPCommandFile_wpRestoreBidiState WPDataFile_wpRestoreBidiState
#define WPCommandFile_wpInitBidiData WPDataFile_wpInitBidiData
#define WPCommandFile_wpBidiSetup WPDataFile_wpBidiSetup
#define WPCommandFile_wpSettingsNotebook WPDataFile_wpSettingsNotebook
#define WPCommandFile_wpSetDefaultView WPObject_wpSetDefaultView
#define WPCommandFile_wpSetRealName WPFileSystem_wpSetRealName
#define WPCommandFile_wpSetType WPFileSystem_wpSetType
#define WPCommandFile_wpAddObjectWindowPage WPObject_wpAddObjectWindowPage
#define WPCommandFile_wpQueryDefaultHelp WPObject_wpQueryDefaultHelp
#define WPCommandFile_wpFormatDragItem WPObject_wpFormatDragItem
#define WPCommandFile_wpRender WPObject_wpRender
#define WPCommandFile_wpConfirmKeepAssoc WPFileSystem_wpConfirmKeepAssoc
#define WPCommandFile_wpQueryType WPFileSystem_wpQueryType
#define WPCommandFile_wpSetAttr WPFileSystem_wpSetAttr
#define WPCommandFile_wpQueryAttr WPFileSystem_wpQueryAttr
#define WPCommandFile_wpAddFile1Page WPFileSystem_wpAddFile1Page
#define WPCommandFile_wpAddFile2Page WPFileSystem_wpAddFile2Page
#define WPCommandFile_wpAddFile3Page WPFileSystem_wpAddFile3Page
#define WPCommandFile_wpAddFileMenuPage WPFileSystem_wpAddFileMenuPage
#define WPCommandFile_wpQueryCreation WPFileSystem_wpQueryCreation
#define WPCommandFile_wpQueryLastAccess WPFileSystem_wpQueryLastAccess
#define WPCommandFile_wpQueryLastWrite WPFileSystem_wpQueryLastWrite
#define WPCommandFile_wpQueryFileSize WPFileSystem_wpQueryFileSize
#define WPCommandFile_wpQueryEASize WPFileSystem_wpQueryEASize
#define WPCommandFile_wpSetDateInfo WPFileSystem_wpSetDateInfo
#define WPCommandFile_wpSetFileSizeInfo WPFileSystem_wpSetFileSizeInfo
#define WPCommandFile_wpRefresh WPFileSystem_wpRefresh
#define WPCommandFile_wpQueryRefreshFlags WPFileSystem_wpQueryRefreshFlags
#define WPCommandFile_wpSetRefreshFlags WPFileSystem_wpSetRefreshFlags
#define WPCommandFile_wpPrintPlainTextFile WPFileSystem_wpPrintPlainTextFile
#define WPCommandFile_wpSetTitleAndRenameFile WPFileSystem_wpSetTitleAndRenameFile
#define WPCommandFile_wpVerifyUpdateAccess WPFileSystem_wpVerifyUpdateAccess
#define WPCommandFile_wpQueryEASupport WPFileSystem_wpQueryEASupport
#define WPCommandFile_wpAddUserItemsToPopupMenu WPFileSystem_wpAddUserItemsToPopupMenu
#define WPCommandFile_wpIsDiskSwapped WPFileSystem_wpIsDiskSwapped
#define WPCommandFile_wpQueryRealName WPFileSystem_wpQueryRealName
#define WPCommandFile_wpQueryFilename WPFileSystem_wpQueryFilename
#define WPCommandFile_wpQueryDisk WPFileSystem_wpQueryDisk
#define WPCommandFile_wpQueryDateInfo WPFileSystem_wpQueryDateInfo
#define WPCommandFile_wpQueryFileSizeL WPFileSystem_wpQueryFileSizeL
#define WPCommandFile_wpSetFileSizeL WPFileSystem_wpSetFileSizeL
#define WPCommandFile_wpUnInitData WPObject_wpUnInitData
#define WPCommandFile_wpQueryHandle WPObject_wpQueryHandle
#define WPCommandFile_wpSaveImmediate WPObject_wpSaveImmediate
#define WPCommandFile_wpSetTitle WPObject_wpSetTitle
#define WPCommandFile_wpViewObject WPObject_wpViewObject
#define WPCommandFile_wpSwitchTo WPObject_wpSwitchTo
#define WPCommandFile_wpCreateFromTemplate WPObject_wpCreateFromTemplate
#define WPCommandFile_wpQueryIconData WPObject_wpQueryIconData
#define WPCommandFile_wpSetIconData WPObject_wpSetIconData
#define WPCommandFile_wpQueryDetailsData WPObject_wpQueryDetailsData
#define WPCommandFile_wpDraggedOverObject WPObject_wpDraggedOverObject
#define WPCommandFile_wpDroppedOnObject WPObject_wpDroppedOnObject
#define WPCommandFile_wpAppendObject WPObject_wpAppendObject
#define WPCommandFile_wpReplaceObject WPObject_wpReplaceObject
#define WPCommandFile_wpQueryStyle WPObject_wpQueryStyle
#define WPCommandFile_wpDoesObjectMatch WPObject_wpDoesObjectMatch
#define WPCommandFile_wpIdentify WPObject_wpIdentify
#define WPCommandFile_wpIsDeleteable WPObject_wpIsDeleteable
#define WPCommandFile_wpAddObjectGeneralPage WPObject_wpAddObjectGeneralPage
#define WPCommandFile_wpAddObjectGeneralPage2 WPObject_wpAddObjectGeneralPage2
#define WPCommandFile_wpAddToObjUseList WPObject_wpAddToObjUseList
#define WPCommandFile_wpAllocMem WPObject_wpAllocMem
#define WPCommandFile_wpAssertObjectMutexSem WPObject_wpAssertObjectMutexSem
#define WPCommandFile_wpClose WPObject_wpClose
#define WPCommandFile_wpCnrRemoveObject WPObject_wpCnrRemoveObject
#define WPCommandFile_wpCnrSetEmphasis WPObject_wpCnrSetEmphasis
#define WPCommandFile_wpConfirmDelete WPObject_wpConfirmDelete
#define WPCommandFile_wpConfirmObjectTitle WPObject_wpConfirmObjectTitle
#define WPCommandFile_wpCopiedFromTemplate WPObject_wpCopiedFromTemplate
#define WPCommandFile_wpCreateShadowObject WPObject_wpCreateShadowObject
#define WPCommandFile_wpDelete WPObject_wpDelete
#define WPCommandFile_wpDeleteFromObjUseList WPObject_wpDeleteFromObjUseList
#define WPCommandFile_wpDisplayHelp WPObject_wpDisplayHelp
#define WPCommandFile_wpDisplayMenu WPObject_wpDisplayMenu
#define WPCommandFile_wpEndConversation WPObject_wpEndConversation
#define WPCommandFile_wpFilterPopupMenu WPObject_wpFilterPopupMenu
#define WPCommandFile_wpFindUseItem WPObject_wpFindUseItem
#define WPCommandFile_wpFree WPObject_wpFree
#define WPCommandFile_wpFreeMem WPObject_wpFreeMem
#define WPCommandFile_wpHide WPObject_wpHide
#define WPCommandFile_wpInsertPopupMenuItems WPObject_wpInsertPopupMenuItems
#define WPCommandFile_wpInsertMenuItems WPObject_wpInsertMenuItems
#define WPCommandFile_wpInsertSettingsPage WPObject_wpInsertSettingsPage
#define WPCommandFile_wpModifyPopupMenu WPObject_wpModifyPopupMenu
#define WPCommandFile_wpQueryConcurrentView WPObject_wpQueryConcurrentView
#define WPCommandFile_wpQueryButtonAppearance WPObject_wpQueryButtonAppearance
#define WPCommandFile_wpQueryConfirmations WPObject_wpQueryConfirmations
#define WPCommandFile_wpQueryDefaultView WPObject_wpQueryDefaultView
#define WPCommandFile_wpQueryError WPObject_wpQueryError
#define WPCommandFile_wpSetFolder WPObject_wpSetFolder
#define WPCommandFile_wpQueryFolder WPObject_wpQueryFolder
#define WPCommandFile_wpQueryMinWindow WPObject_wpQueryMinWindow
#define WPCommandFile_wpSetTaskRec WPObject_wpSetTaskRec
#define WPCommandFile_wpFindTaskRec WPObject_wpFindTaskRec
#define WPCommandFile_wpQueryTitle WPObject_wpQueryTitle
#define WPCommandFile_wpRegisterView WPObject_wpRegisterView
#define WPCommandFile_wpReleaseObjectMutexSem WPObject_wpReleaseObjectMutexSem
#define WPCommandFile_wpRenderComplete WPObject_wpRenderComplete
#define WPCommandFile_wpRequestObjectMutexSem WPObject_wpRequestObjectMutexSem
#define WPCommandFile_wpRestore WPObject_wpRestore
#define WPCommandFile_wpRestoreData WPObject_wpRestoreData
#define WPCommandFile_wpRestoreLong WPObject_wpRestoreLong
#define WPCommandFile_wpRestoreString WPObject_wpRestoreString
#define WPCommandFile_wpSaveData WPObject_wpSaveData
#define WPCommandFile_wpSaveDeferred WPObject_wpSaveDeferred
#define WPCommandFile_wpSaveLong WPObject_wpSaveLong
#define WPCommandFile_wpSaveString WPObject_wpSaveString
#define WPCommandFile_wpScanSetupString WPObject_wpScanSetupString
#define WPCommandFile_wpSetConcurrentView WPObject_wpSetConcurrentView
#define WPCommandFile_wpSetButtonAppearance WPObject_wpSetButtonAppearance
#define WPCommandFile_wpSetDefaultHelp WPObject_wpSetDefaultHelp
#define WPCommandFile_wpSetError WPObject_wpSetError
#define WPCommandFile_wpQueryScreenGroupID WPObject_wpQueryScreenGroupID
#define WPCommandFile_wpSetIcon WPObject_wpSetIcon
#define WPCommandFile_wpSetMinWindow WPObject_wpSetMinWindow
#define WPCommandFile_wpModifyStyle WPObject_wpModifyStyle
#define WPCommandFile_wpQueryTrueStyle WPObject_wpQueryTrueStyle
#define WPCommandFile_wpUnlockObject WPObject_wpUnlockObject
#define WPCommandFile_wpObjectReady WPObject_wpObjectReady
#define WPCommandFile_wpIsObjectInitialized WPObject_wpIsObjectInitialized
#define WPCommandFile_wpCreateShadowObjectExt WPObject_wpCreateShadowObjectExt
#define WPCommandFile_wpCnrDeleteUseItem WPObject_wpCnrDeleteUseItem
#define WPCommandFile_wpQueryCoreRecord WPObject_wpQueryCoreRecord
#define WPCommandFile_wpSetObjectID WPObject_wpSetObjectID
#define WPCommandFile_wpQueryObjectID WPObject_wpQueryObjectID
#define WPCommandFile_wpSetDefaultIconPos WPObject_wpSetDefaultIconPos
#define WPCommandFile_wpQueryDefaultIconPos WPObject_wpQueryDefaultIconPos
#define WPCommandFile_wpCnrRefreshDetails WPObject_wpCnrRefreshDetails
#define WPCommandFile_wpFindViewItem WPObject_wpFindViewItem
#define WPCommandFile_wpLockObject WPObject_wpLockObject
#define WPCommandFile_wpIsLocked WPObject_wpIsLocked
#define WPCommandFile_wpQueryContainerFlagPtr WPObject_wpQueryContainerFlagPtr
#define WPCommandFile_wpWaitForClose WPObject_wpWaitForClose
#define WPCommandFile_wpSetMenuStyle WPObject_wpSetMenuStyle
#define WPCommandFile_wpQueryMenuStyle WPObject_wpQueryMenuStyle
#define WPCommandFile_wpSetStyle WPObject_wpSetStyle
#define WPCommandFile_somInit SOMObject_somInit
#define WPCommandFile_somUninit SOMObject_somUninit
#define WPCommandFile_somDefaultCopyInit SOMObject_somDefaultCopyInit
#define WPCommandFile_somDefaultAssign SOMObject_somDefaultAssign
#define WPCommandFile_somDefaultConstCopyInit SOMObject_somDefaultConstCopyInit
#define WPCommandFile_somDefaultVCopyInit SOMObject_somDefaultVCopyInit
#define WPCommandFile_somDefaultConstVCopyInit SOMObject_somDefaultConstVCopyInit
#define WPCommandFile_somDefaultConstAssign SOMObject_somDefaultConstAssign
#define WPCommandFile_somDefaultVAssign SOMObject_somDefaultVAssign
#define WPCommandFile_somDefaultConstVAssign SOMObject_somDefaultConstVAssign
#define WPCommandFile_somFree SOMObject_somFree
#define WPCommandFile_somGetClass SOMObject_somGetClass
#define WPCommandFile_somGetClassName SOMObject_somGetClassName
#define WPCommandFile_somGetSize SOMObject_somGetSize
#define WPCommandFile_somIsA SOMObject_somIsA
#define WPCommandFile_somIsInstanceOf SOMObject_somIsInstanceOf
#define WPCommandFile_somRespondsTo SOMObject_somRespondsTo
#define WPCommandFile_somDispatch SOMObject_somDispatch
#define WPCommandFile_somClassDispatch SOMObject_somClassDispatch
#define WPCommandFile_somCastObj SOMObject_somCastObj
#define WPCommandFile_somResetObj SOMObject_somResetObj
#define WPCommandFile_somDispatchV SOMObject_somDispatchV
#define WPCommandFile_somDispatchL SOMObject_somDispatchL
#define WPCommandFile_somDispatchA SOMObject_somDispatchA
#define WPCommandFile_somDispatchD SOMObject_somDispatchD
#define WPCommandFile_somPrintSelf SOMObject_somPrintSelf
#define WPCommandFile_somDumpSelf SOMObject_somDumpSelf
#define WPCommandFile_somDumpSelfInt SOMObject_somDumpSelfInt
#endif /* SOM_DONT_USE_INHERITED_MACROS */

#endif       /* SOM_WPCommandFile_h */

#ifndef SOM_M_WPCommandFile_h
#define SOM_M_WPCommandFile_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_WPCommandFile
#define M_WPCommandFile SOMObject
#endif
#include <wppgmf.h>

/*
 * Start of bindings for IDL types
 */


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

#define M_WPCommandFile_MajorVersion 1
#define M_WPCommandFile_MinorVersion 2

/*
 * External name shortening if required
 */
#ifdef SOM_USE_SHORT_EXTERNAL_NAMES
#define M_WPCommandFileNewClass wpcmdc
#pragma linkage(wpcmdc, system)
#define M_WPCommandFileClassData wpcmdd
#define M_WPCommandFileCClassData wpcmdx
#endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
/*--------------Migration------------*/
#define M_WPCommandFile_classObj M_WPCommandFileClassData.classObject
#define _M_WPCommandFile M_WPCommandFile_classObj

/*
 * Declare the class creation procedure
 */
SOMEXTERN SOMClass * SOMLINK M_WPCommandFileNewClass(integer4 somtmajorVersion,
		integer4 somtminorVersion);
#pragma linkage(M_WPCommandFileNewClass, system)

/*
 * Declare the class data structure
 */
SOMEXTERN struct M_WPCommandFileClassDataStructure {
	SOMClass *classObject;
} SOMDLINK M_WPCommandFileClassData;

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

/*
 * New and Renew macros for M_WPCommandFile
 */
#define M_WPCommandFileNew() \
   ( _M_WPCommandFile ? \
	_somNew(_M_WPCommandFile) \
	: ( M_WPCommandFileNewClass(\
		M_WPCommandFile_MajorVersion, \
		M_WPCommandFile_MinorVersion),\
	   _somNew(_M_WPCommandFile)))
#define M_WPCommandFileRenew(buf) \
   ( _M_WPCommandFile ? \
	_somRenew(_M_WPCommandFile, buf) \
	: ( M_WPCommandFileNewClass(\
		M_WPCommandFile_MajorVersion, \
		M_WPCommandFile_MinorVersion),\
	   _somRenew(_M_WPCommandFile, buf)))

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

/*
 * Override method: wpclsQueryInstanceFilter
 */
#define M_WPCommandFile_wpclsQueryInstanceFilter(somSelf) \
	M_WPFileSystem_wpclsQueryInstanceFilter(somSelf)

/*
 * Override method: wpclsQueryInstanceType
 */
#define M_WPCommandFile_wpclsQueryInstanceType(somSelf) \
	M_WPFileSystem_wpclsQueryInstanceType(somSelf)

/*
 * Override method: wpclsQueryTitle
 */
#define M_WPCommandFile_wpclsQueryTitle(somSelf) \
	M_WPObject_wpclsQueryTitle(somSelf)
#ifndef SOM_DONT_USE_INHERITED_MACROS
#define M_WPCommandFile_wpclsQueryIconData M_WPObject_wpclsQueryIconData
#define M_WPCommandFile_wpclsQueryDefaultView M_WPObject_wpclsQueryDefaultView
#define M_WPCommandFile_wpclsQuerySettingsPageSize M_WPObject_wpclsQuerySettingsPageSize
#define M_WPCommandFile_wpclsInitData M_WPObject_wpclsInitData
#define M_WPCommandFile_wpclsUnInitData M_WPObject_wpclsUnInitData
#define M_WPCommandFile_wpclsAddClipboardAssoc M_WPDataFile_wpclsAddClipboardAssoc
#define M_WPCommandFile_wpclsEnumClipboardClasses M_WPDataFile_wpclsEnumClipboardClasses
#define M_WPCommandFile_wpclsQueryDefaultHelp M_WPObject_wpclsQueryDefaultHelp
#define M_WPCommandFile_wpclsQueryAwakeObject M_WPFileSystem_wpclsQueryAwakeObject
#define M_WPCommandFile_wpclsFileSysExists M_WPFileSystem_wpclsFileSysExists
#define M_WPCommandFile_wpclsQueryObjectFromPath M_WPFileSystem_wpclsQueryObjectFromPath
#define M_WPCommandFile_wpclsQueryInstanceClass M_WPFileSystem_wpclsQueryInstanceClass
#define M_WPCommandFile_wpclsQueryDetailsInfo M_WPObject_wpclsQueryDetailsInfo
#define M_WPCommandFile_wpclsQuerySearchInfo M_WPObject_wpclsQuerySearchInfo
#define M_WPCommandFile_wpclsQueryExtendedCriteria M_WPObject_wpclsQueryExtendedCriteria
#define M_WPCommandFile_wpclsNew M_WPObject_wpclsNew
#define M_WPCommandFile_wpclsObjectFromHandle M_WPObject_wpclsObjectFromHandle
#define M_WPCommandFile_wpclsCreateDefaultTemplates M_WPObject_wpclsCreateDefaultTemplates
#define M_WPCommandFile_wpclsMakeAwake M_WPObject_wpclsMakeAwake
#define M_WPCommandFile_wpclsQueryDetails M_WPObject_wpclsQueryDetails
#define M_WPCommandFile_wpclsQueryFolder M_WPObject_wpclsQueryFolder
#define M_WPCommandFile_wpclsQueryIcon M_WPObject_wpclsQueryIcon
#define M_WPCommandFile_wpclsFindObjectFirst M_WPObject_wpclsFindObjectFirst
#define M_WPCommandFile_wpclsFindObjectNext M_WPObject_wpclsFindObjectNext
#define M_WPCommandFile_wpclsFindObjectEnd M_WPObject_wpclsFindObjectEnd
#define M_WPCommandFile_wpclsSetError M_WPObject_wpclsSetError
#define M_WPCommandFile_wpclsQueryError M_WPObject_wpclsQueryError
#define M_WPCommandFile_wpclsQueryObject M_WPObject_wpclsQueryObject
#define M_WPCommandFile_wpclsQueryButtonAppearance M_WPObject_wpclsQueryButtonAppearance
#define M_WPCommandFile_wpclsDecUsage M_WPObject_wpclsDecUsage
#define M_WPCommandFile_wpclsIncUsage M_WPObject_wpclsIncUsage
#define M_WPCommandFile_wpclsInsertMultipleObjects M_WPObject_wpclsInsertMultipleObjects
#define M_WPCommandFile_wpclsFindOneObject M_WPObject_wpclsFindOneObject
#define M_WPCommandFile_wpclsSetSettingsPageSize M_WPObject_wpclsSetSettingsPageSize
#define M_WPCommandFile_wpclsSetIconData M_WPObject_wpclsSetIconData
#define M_WPCommandFile_wpclsSetIcon M_WPObject_wpclsSetIcon
#define M_WPCommandFile_wpclsRemoveObjects M_WPObject_wpclsRemoveObjects
#define M_WPCommandFile_somUninit SOMObject_somUninit
#define M_WPCommandFile_somClassReady SOMClass_somClassReady
#define M_WPCommandFile_somNew SOMClass_somNew
#define M_WPCommandFile_somRenew SOMClass_somRenew
#define M_WPCommandFile__get_somDataAlignment SOMClass__get_somDataAlignment
#define M_WPCommandFile__get_somInstanceDataOffsets SOMClass__get_somInstanceDataOffsets
#define M_WPCommandFile__get_somDirectInitClasses SOMClass__get_somDirectInitClasses
#define M_WPCommandFile__set_somDirectInitClasses SOMClass__set_somDirectInitClasses
#define M_WPCommandFile_somNewNoInit SOMClass_somNewNoInit
#define M_WPCommandFile_somRenewNoInit SOMClass_somRenewNoInit
#define M_WPCommandFile_somRenewNoZero SOMClass_somRenewNoZero
#define M_WPCommandFile_somRenewNoInitNoZero SOMClass_somRenewNoInitNoZero
#define M_WPCommandFile_somAllocate SOMClass_somAllocate
#define M_WPCommandFile_somDeallocate SOMClass_somDeallocate
#define M_WPCommandFile__get_somClassAllocate SOMClass__get_somClassAllocate
#define M_WPCommandFile__get_somClassDeallocate SOMClass__get_somClassDeallocate
#define M_WPCommandFile_somGetInstanceInitMask SOMClass_somGetInstanceInitMask
#define M_WPCommandFile_somGetInstanceDestructionMask SOMClass_somGetInstanceDestructionMask
#define M_WPCommandFile_somGetInstanceAssignmentMask SOMClass_somGetInstanceAssignmentMask
#define M_WPCommandFile_somInitClass SOMClass_somInitClass
#define M_WPCommandFile_somInitMIClass SOMClass_somInitMIClass
#define M_WPCommandFile_somAddStaticMethod SOMClass_somAddStaticMethod
#define M_WPCommandFile_somAddDynamicMethod SOMClass_somAddDynamicMethod
#define M_WPCommandFile_somOverrideSMethod SOMClass_somOverrideSMethod
#define M_WPCommandFile_somGetApplyStub SOMClass_somGetApplyStub
#define M_WPCommandFile_somGetClassData SOMClass_somGetClassData
#define M_WPCommandFile_somSetClassData SOMClass_somSetClassData
#define M_WPCommandFile_somGetClassMtab SOMClass_somGetClassMtab
#define M_WPCommandFile_somGetInstanceOffset SOMClass_somGetInstanceOffset
#define M_WPCommandFile_somGetInstancePartSize SOMClass_somGetInstancePartSize
#define M_WPCommandFile_somGetInstanceSize SOMClass_somGetInstanceSize
#define M_WPCommandFile_somGetInstanceToken SOMClass_somGetInstanceToken
#define M_WPCommandFile_somGetMemberToken SOMClass_somGetMemberToken
#define M_WPCommandFile_somGetMethodData SOMClass_somGetMethodData
#define M_WPCommandFile_somGetRdStub SOMClass_somGetRdStub
#define M_WPCommandFile_somGetMethodDescriptor SOMClass_somGetMethodDescriptor
#define M_WPCommandFile_somGetMethodIndex SOMClass_somGetMethodIndex
#define M_WPCommandFile_somGetMethodToken SOMClass_somGetMethodToken
#define M_WPCommandFile_somGetName SOMClass_somGetName
#define M_WPCommandFile_somGetNthMethodData SOMClass_somGetNthMethodData
#define M_WPCommandFile_somGetNthMethodInfo SOMClass_somGetNthMethodInfo
#define M_WPCommandFile_somGetNumMethods SOMClass_somGetNumMethods
#define M_WPCommandFile_somGetNumStaticMethods SOMClass_somGetNumStaticMethods
#define M_WPCommandFile_somGetParent SOMClass_somGetParent
#define M_WPCommandFile_somGetParents SOMClass_somGetParents
#define M_WPCommandFile_somGetPClsMtab SOMClass_somGetPClsMtab
#define M_WPCommandFile_somGetPClsMtabs SOMClass_somGetPClsMtabs
#define M_WPCommandFile_somGetVersionNumbers SOMClass_somGetVersionNumbers
#define M_WPCommandFile_somSetMethodDescriptor SOMClass_somSetMethodDescriptor
#define M_WPCommandFile_somFindMethod SOMClass_somFindMethod
#define M_WPCommandFile_somFindMethodOk SOMClass_somFindMethodOk
#define M_WPCommandFile_somFindSMethod SOMClass_somFindSMethod
#define M_WPCommandFile_somFindSMethodOk SOMClass_somFindSMethodOk
#define M_WPCommandFile_somLookupMethod SOMClass_somLookupMethod
#define M_WPCommandFile_somCheckVersion SOMClass_somCheckVersion
#define M_WPCommandFile_somDescendedFrom SOMClass_somDescendedFrom
#define M_WPCommandFile_somSupportsMethod SOMClass_somSupportsMethod
#define M_WPCommandFile_somDefinedMethod SOMClass_somDefinedMethod
#define M_WPCommandFile_somOverrideMtab SOMClass_somOverrideMtab
#define M_WPCommandFile_somDefaultInit SOMObject_somDefaultInit
#define M_WPCommandFile_somDestruct SOMObject_somDestruct
#define M_WPCommandFile_somDefaultCopyInit SOMObject_somDefaultCopyInit
#define M_WPCommandFile_somDefaultAssign SOMObject_somDefaultAssign
#define M_WPCommandFile_somDefaultConstCopyInit SOMObject_somDefaultConstCopyInit
#define M_WPCommandFile_somDefaultVCopyInit SOMObject_somDefaultVCopyInit
#define M_WPCommandFile_somDefaultConstVCopyInit SOMObject_somDefaultConstVCopyInit
#define M_WPCommandFile_somDefaultConstAssign SOMObject_somDefaultConstAssign
#define M_WPCommandFile_somDefaultVAssign SOMObject_somDefaultVAssign
#define M_WPCommandFile_somDefaultConstVAssign SOMObject_somDefaultConstVAssign
#define M_WPCommandFile_somInit SOMObject_somInit
#define M_WPCommandFile_somFree SOMObject_somFree
#define M_WPCommandFile_somGetClass SOMObject_somGetClass
#define M_WPCommandFile_somGetClassName SOMObject_somGetClassName
#define M_WPCommandFile_somGetSize SOMObject_somGetSize
#define M_WPCommandFile_somIsA SOMObject_somIsA
#define M_WPCommandFile_somIsInstanceOf SOMObject_somIsInstanceOf
#define M_WPCommandFile_somRespondsTo SOMObject_somRespondsTo
#define M_WPCommandFile_somDispatch SOMObject_somDispatch
#define M_WPCommandFile_somClassDispatch SOMObject_somClassDispatch
#define M_WPCommandFile_somCastObj SOMObject_somCastObj
#define M_WPCommandFile_somResetObj SOMObject_somResetObj
#define M_WPCommandFile_somDispatchV SOMObject_somDispatchV
#define M_WPCommandFile_somDispatchL SOMObject_somDispatchL
#define M_WPCommandFile_somDispatchA SOMObject_somDispatchA
#define M_WPCommandFile_somDispatchD SOMObject_somDispatchD
#define M_WPCommandFile_somPrintSelf SOMObject_somPrintSelf
#define M_WPCommandFile_somDumpSelf SOMObject_somDumpSelf
#define M_WPCommandFile_somDumpSelfInt SOMObject_somDumpSelfInt
#endif /* SOM_DONT_USE_INHERITED_MACROS */

#endif       /* SOM_M_WPCommandFile_h */
