
/*
 * This file was generated by the SOM Compiler.
 * FileName: xfpgmf.h.
 * Generated using:
 *     SOM Precompiler somipc: 2.29.1.2
 *     SOM Emitter emith: 2.41
 */

/*
 * 
 * xfpgmf.idl:
 *      SOM interface description file for the following
 *      XFolder classes (in this order):
 *          XFldProgramFile
 *      and the respective metaclasses.
 * 
 *      Check the other files starting with xf* for the
 *      other XFolder classes.
 * 
 *      XFldProgram is only responsible for changing the
 *      default icons of executable files.
 * 
 *      Installation of this class is optional.
 * 
 *      Copyright (C) 1997-99 Ulrich M”ller.
 *      This file is part of the XFolder source package.
 *      XFolder is free software; you can redistribute it and/or modify
 *      it under the terms of the GNU General Public License as published
 *      by the Free Software Foundation, in version 2 as it comes in the
 *      "COPYING" file of the XFolder main distribution.
 *      This program is distributed in the hope that it will be useful,
 *      but WITHOUT ANY WARRANTY; without even the implied warranty of
 *      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *      GNU General Public License for more details.
 */


#ifndef SOM_XFldProgramFile_h
#define SOM_XFldProgramFile_h


/*
 * Passthru lines: File: "C.h", "before"
 */
// additional PROG_* flags for _ulAppType in XFldProgramFile instance data;
// these are only used by XFldProgramFile to determine the correct icons
#define PROG_XF_DLL        998 // dynamic link library
#define PROG_XF_DRIVER     999 // virtual or physical dev' drivers


#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 XFldProgramFile
#define XFldProgramFile SOMObject
#endif
#include <wppgmf.h>

/*
 * Start of user-defined 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_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_XFldProgramFile
    #define M_XFldProgramFile SOMObject
#endif /* M_XFldProgramFile */

/*
 * End of user-defined types.
 */

#define XFldProgramFile_MajorVersion 1
#define XFldProgramFile_MinorVersion 1

/*
 * External name shortening if required
 */
#ifdef SOM_USE_SHORT_EXTERNAL_NAMES
#define XFldProgramFileNewClass xfpgmfc
#pragma linkage(xfpgmfc, system)
#define XFldProgramFileClassData xfpgmfd
#define XFldProgramFileCClassData xfpgmfx
#endif /* SOM_USE_SHORT_EXTERNAL_NAMES */

/*
 * Include the meta class file
 */
#include <xfpgmf.h>
/*--------------Migration------------*/
#define XFldProgramFile_classObj XFldProgramFileClassData.classObject
#define _XFldProgramFile XFldProgramFile_classObj

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

/*
 * Declare the class data structure
 */
SOMEXTERN struct XFldProgramFileClassDataStructure {
	SOMAny *classObject;
	somMToken xfQueryProgType;
} SOMDLINK XFldProgramFileClassData;

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

/*
 * New and Renew macros for XFldProgramFile
 */
#define XFldProgramFileNew() \
   (_somNew(_XFldProgramFile ? _XFldProgramFile : XFldProgramFileNewClass(XFldProgramFile_MajorVersion, XFldProgramFile_MinorVersion)))
#define XFldProgramFileRenew(buf) \
   (_somRenew(_XFldProgramFile ? _XFldProgramFile : XFldProgramFileNewClass(XFldProgramFile_MajorVersion, XFldProgramFile_MinorVersion), buf))

/*
 * Override method: wpInitData
 */
#define XFldProgramFile_wpInitData(somSelf) \
	WPObject_wpInitData(somSelf)

/*
 * Override method: wpObjectReady
 */
#define XFldProgramFile_wpObjectReady(somSelf,ulCode,refObject) \
	WPObject_wpObjectReady(somSelf,ulCode,refObject)

/*
 * Override method: wpQueryStyle
 */
#define XFldProgramFile_wpQueryStyle(somSelf) \
	WPObject_wpQueryStyle(somSelf)

/*
 * Override method: wpSetIcon
 */
#define XFldProgramFile_wpSetIcon(somSelf,hptrNewIcon) \
	WPObject_wpSetIcon(somSelf,hptrNewIcon)

/*
 * Override method: wpSetProgIcon
 */
#define XFldProgramFile_wpSetProgIcon(somSelf,pfeal) \
	WPProgramFile_wpSetProgIcon(somSelf,pfeal)

/*
 * Override method: wpQueryDefaultView
 */
#define XFldProgramFile_wpQueryDefaultView(somSelf) \
	WPObject_wpQueryDefaultView(somSelf)

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

/*
 * New Method: xfQueryProgType
 */
typedef ULONG   SOMLINK somTP_XFldProgramFile_xfQueryProgType(XFldProgramFile *somSelf);
#pragma linkage(somTP_XFldProgramFile_xfQueryProgType, system)
typedef somTP_XFldProgramFile_xfQueryProgType *somTD_XFldProgramFile_xfQueryProgType;
#define somMD_XFldProgramFile_xfQueryProgType "::XFldProgramFile::xfQueryProgType"
#define XFldProgramFile_xfQueryProgType(somSelf) \
    (SOM_Resolve(somSelf, XFldProgramFile, xfQueryProgType) \
	(somSelf))
#ifndef SOMGD_xfQueryProgType
    #if (defined(_xfQueryProgType) || defined(__xfQueryProgType))
        #undef _xfQueryProgType
        #undef __xfQueryProgType
        #define SOMGD_xfQueryProgType 1
    #else
        #define _xfQueryProgType XFldProgramFile_xfQueryProgType
    #endif /* _xfQueryProgType */
#endif /* SOMGD_xfQueryProgType */
#ifndef SOM_DONT_USE_INHERITED_MACROS
#define XFldProgramFile_wpAddProgramAssociationPage WPProgramFile_wpAddProgramAssociationPage
#define XFldProgramFile_wpQueryProgDetails WPProgramFile_wpQueryProgDetails
#define XFldProgramFile_wpSetProgDetails WPProgramFile_wpSetProgDetails
#define XFldProgramFile_wpAddProgramPage WPProgramFile_wpAddProgramPage
#define XFldProgramFile_wpAddProgramSessionPage WPProgramFile_wpAddProgramSessionPage
#define XFldProgramFile_wpQueryAssociationFilter WPProgramFile_wpQueryAssociationFilter
#define XFldProgramFile_wpQueryAssociationType WPProgramFile_wpQueryAssociationType
#define XFldProgramFile_wpSetAssociationFilter WPProgramFile_wpSetAssociationFilter
#define XFldProgramFile_wpSetAssociationType WPProgramFile_wpSetAssociationType
#define XFldProgramFile_wpQueryProgramAssociations WPProgramFile_wpQueryProgramAssociations
#define XFldProgramFile_wpSetProgramAssociations WPProgramFile_wpSetProgramAssociations
#define XFldProgramFile_wpAddFileTypePage WPDataFile_wpAddFileTypePage
#define XFldProgramFile_wpPrintMetaFile WPDataFile_wpPrintMetaFile
#define XFldProgramFile_wpPrintPifFile WPDataFile_wpPrintPifFile
#define XFldProgramFile_wpPrintPrinterSpecificFile WPDataFile_wpPrintPrinterSpecificFile
#define XFldProgramFile_wpPrintUnknownFile WPDataFile_wpPrintUnknownFile
#define XFldProgramFile_wpQueryAssociatedProgram WPDataFile_wpQueryAssociatedProgram
#define XFldProgramFile_wpSetAssociatedFileIcon WPDataFile_wpSetAssociatedFileIcon
#define XFldProgramFile_wpQueryAssociatedFileIcon WPDataFile_wpQueryAssociatedFileIcon
#define XFldProgramFile_wpSetRealName WPFileSystem_wpSetRealName
#define XFldProgramFile_wpSetType WPFileSystem_wpSetType
#define XFldProgramFile_wpQueryType WPFileSystem_wpQueryType
#define XFldProgramFile_wpSetAttr WPFileSystem_wpSetAttr
#define XFldProgramFile_wpQueryAttr WPFileSystem_wpQueryAttr
#define XFldProgramFile_wpAddFile1Page WPFileSystem_wpAddFile1Page
#define XFldProgramFile_wpAddFile2Page WPFileSystem_wpAddFile2Page
#define XFldProgramFile_wpAddFile3Page WPFileSystem_wpAddFile3Page
#define XFldProgramFile_wpAddFileMenuPage WPFileSystem_wpAddFileMenuPage
#define XFldProgramFile_wpQueryCreation WPFileSystem_wpQueryCreation
#define XFldProgramFile_wpQueryLastAccess WPFileSystem_wpQueryLastAccess
#define XFldProgramFile_wpQueryLastWrite WPFileSystem_wpQueryLastWrite
#define XFldProgramFile_wpQueryFileSize WPFileSystem_wpQueryFileSize
#define XFldProgramFile_wpQueryEASize WPFileSystem_wpQueryEASize
#define XFldProgramFile_wpSetDateInfo WPFileSystem_wpSetDateInfo
#define XFldProgramFile_wpSetFileSizeInfo WPFileSystem_wpSetFileSizeInfo
#define XFldProgramFile_wpRefresh WPFileSystem_wpRefresh
#define XFldProgramFile_wpQueryRefreshFlags WPFileSystem_wpQueryRefreshFlags
#define XFldProgramFile_wpSetRefreshFlags WPFileSystem_wpSetRefreshFlags
#define XFldProgramFile_wpPrintPlainTextFile WPFileSystem_wpPrintPlainTextFile
#define XFldProgramFile_wpSetTitleAndRenameFile WPFileSystem_wpSetTitleAndRenameFile
#define XFldProgramFile_wpConfirmRenameFileWithExt WPFileSystem_wpConfirmRenameFileWithExt
#define XFldProgramFile_wpVerifyUpdateAccess WPFileSystem_wpVerifyUpdateAccess
#define XFldProgramFile_wpAddUserItemsToPopupMenu WPFileSystem_wpAddUserItemsToPopupMenu
#define XFldProgramFile_wpIsDiskSwapped WPFileSystem_wpIsDiskSwapped
#define XFldProgramFile_wpQueryRealName WPFileSystem_wpQueryRealName
#define XFldProgramFile_wpQueryFilename WPFileSystem_wpQueryFilename
#define XFldProgramFile_wpQueryDisk WPFileSystem_wpQueryDisk
#define XFldProgramFile_wpQueryDateInfo WPFileSystem_wpQueryDateInfo
#define XFldProgramFile_wpConfirmKeepAssoc WPFileSystem_wpConfirmKeepAssoc
#define XFldProgramFile_wpAddObjectGeneralPage WPObject_wpAddObjectGeneralPage
#define XFldProgramFile_wpAddObjectGeneralPage2 WPObject_wpAddObjectGeneralPage2
#define XFldProgramFile_wpAddObjectWindowPage WPObject_wpAddObjectWindowPage
#define XFldProgramFile_wpAddSettingsPages WPObject_wpAddSettingsPages
#define XFldProgramFile_wpAddToObjUseList WPObject_wpAddToObjUseList
#define XFldProgramFile_wpAllocMem WPObject_wpAllocMem
#define XFldProgramFile_wpAppendObject WPObject_wpAppendObject
#define XFldProgramFile_wpAssertObjectMutexSem WPObject_wpAssertObjectMutexSem
#define XFldProgramFile_wpClose WPObject_wpClose
#define XFldProgramFile_wpCnrInsertObject WPObject_wpCnrInsertObject
#define XFldProgramFile_wpCnrRemoveObject WPObject_wpCnrRemoveObject
#define XFldProgramFile_wpCnrSetEmphasis WPObject_wpCnrSetEmphasis
#define XFldProgramFile_wpConfirmDelete WPObject_wpConfirmDelete
#define XFldProgramFile_wpConfirmObjectTitle WPObject_wpConfirmObjectTitle
#define XFldProgramFile_wpCopiedFromTemplate WPObject_wpCopiedFromTemplate
#define XFldProgramFile_wpCopyObject WPObject_wpCopyObject
#define XFldProgramFile_wpCreateAnother WPObject_wpCreateAnother
#define XFldProgramFile_wpCreateFromTemplate WPObject_wpCreateFromTemplate
#define XFldProgramFile_wpCreateShadowObject WPObject_wpCreateShadowObject
#define XFldProgramFile_wpDelete WPObject_wpDelete
#define XFldProgramFile_wpDeleteFromObjUseList WPObject_wpDeleteFromObjUseList
#define XFldProgramFile_wpDisplayHelp WPObject_wpDisplayHelp
#define XFldProgramFile_wpDisplayMenu WPObject_wpDisplayMenu
#define XFldProgramFile_wpDoesObjectMatch WPObject_wpDoesObjectMatch
#define XFldProgramFile_wpDraggedOverObject WPObject_wpDraggedOverObject
#define XFldProgramFile_wpDragOver WPObject_wpDragOver
#define XFldProgramFile_wpDrop WPObject_wpDrop
#define XFldProgramFile_wpDroppedOnObject WPObject_wpDroppedOnObject
#define XFldProgramFile_wpEndConversation WPObject_wpEndConversation
#define XFldProgramFile_wpFindUseItem WPObject_wpFindUseItem
#define XFldProgramFile_wpFormatDragItem WPObject_wpFormatDragItem
#define XFldProgramFile_wpFree WPObject_wpFree
#define XFldProgramFile_wpFreeMem WPObject_wpFreeMem
#define XFldProgramFile_wpHide WPObject_wpHide
#define XFldProgramFile_wpInsertPopupMenuItems WPObject_wpInsertPopupMenuItems
#define XFldProgramFile_wpInsertSettingsPage WPObject_wpInsertSettingsPage
#define XFldProgramFile_wpMenuItemHelpSelected WPObject_wpMenuItemHelpSelected
#define XFldProgramFile_wpMenuItemSelected WPObject_wpMenuItemSelected
#define XFldProgramFile_wpModifyPopupMenu WPObject_wpModifyPopupMenu
#define XFldProgramFile_wpMoveObject WPObject_wpMoveObject
#define XFldProgramFile_wpOpen WPObject_wpOpen
#define XFldProgramFile_wpPrintObject WPObject_wpPrintObject
#define XFldProgramFile_wpQueryConcurrentView WPObject_wpQueryConcurrentView
#define XFldProgramFile_wpQueryButtonAppearance WPObject_wpQueryButtonAppearance
#define XFldProgramFile_wpQueryConfirmations WPObject_wpQueryConfirmations
#define XFldProgramFile_wpQueryDefaultHelp WPObject_wpQueryDefaultHelp
#define XFldProgramFile_wpQueryDetailsData WPObject_wpQueryDetailsData
#define XFldProgramFile_wpQueryError WPObject_wpQueryError
#define XFldProgramFile_wpSetFolder WPObject_wpSetFolder
#define XFldProgramFile_wpQueryFolder WPObject_wpQueryFolder
#define XFldProgramFile_wpQueryIcon WPObject_wpQueryIcon
#define XFldProgramFile_wpQueryIconData WPObject_wpQueryIconData
#define XFldProgramFile_wpQueryMinWindow WPObject_wpQueryMinWindow
#define XFldProgramFile_wpQueryNameClashOptions WPObject_wpQueryNameClashOptions
#define XFldProgramFile_wpSetTaskRec WPObject_wpSetTaskRec
#define XFldProgramFile_wpFindTaskRec WPObject_wpFindTaskRec
#define XFldProgramFile_wpQueryTitle WPObject_wpQueryTitle
#define XFldProgramFile_wpRegisterView WPObject_wpRegisterView
#define XFldProgramFile_wpReleaseObjectMutexSem WPObject_wpReleaseObjectMutexSem
#define XFldProgramFile_wpRender WPObject_wpRender
#define XFldProgramFile_wpRenderComplete WPObject_wpRenderComplete
#define XFldProgramFile_wpReplaceObject WPObject_wpReplaceObject
#define XFldProgramFile_wpRequestObjectMutexSem WPObject_wpRequestObjectMutexSem
#define XFldProgramFile_wpRestore WPObject_wpRestore
#define XFldProgramFile_wpRestoreData WPObject_wpRestoreData
#define XFldProgramFile_wpRestoreLong WPObject_wpRestoreLong
#define XFldProgramFile_wpRestoreState WPObject_wpRestoreState
#define XFldProgramFile_wpRestoreString WPObject_wpRestoreString
#define XFldProgramFile_wpSaveData WPObject_wpSaveData
#define XFldProgramFile_wpSaveImmediate WPObject_wpSaveImmediate
#define XFldProgramFile_wpSaveDeferred WPObject_wpSaveDeferred
#define XFldProgramFile_wpSaveLong WPObject_wpSaveLong
#define XFldProgramFile_wpSaveState WPObject_wpSaveState
#define XFldProgramFile_wpSaveString WPObject_wpSaveString
#define XFldProgramFile_wpScanSetupString WPObject_wpScanSetupString
#define XFldProgramFile_wpSetConcurrentView WPObject_wpSetConcurrentView
#define XFldProgramFile_wpSetButtonAppearance WPObject_wpSetButtonAppearance
#define XFldProgramFile_wpSetDefaultHelp WPObject_wpSetDefaultHelp
#define XFldProgramFile_wpSetDefaultView WPObject_wpSetDefaultView
#define XFldProgramFile_wpSetError WPObject_wpSetError
#define XFldProgramFile_wpSetIconHandle WPObject_wpSetIconHandle
#define XFldProgramFile_wpQueryScreenGroupID WPObject_wpQueryScreenGroupID
#define XFldProgramFile_wpSetupOnce WPObject_wpSetupOnce
#define XFldProgramFile_wpSetIconData WPObject_wpSetIconData
#define XFldProgramFile_wpSetMinWindow WPObject_wpSetMinWindow
#define XFldProgramFile_wpSetStyle WPObject_wpSetStyle
#define XFldProgramFile_wpModifyStyle WPObject_wpModifyStyle
#define XFldProgramFile_wpSetTitle WPObject_wpSetTitle
#define XFldProgramFile_wpSetup WPObject_wpSetup
#define XFldProgramFile_wpSwitchTo WPObject_wpSwitchTo
#define XFldProgramFile_wpUnInitData WPObject_wpUnInitData
#define XFldProgramFile_wpViewObject WPObject_wpViewObject
#define XFldProgramFile_wpQueryTrueStyle WPObject_wpQueryTrueStyle
#define XFldProgramFile_wpQueryHandle WPObject_wpQueryHandle
#define XFldProgramFile_wpUnlockObject WPObject_wpUnlockObject
#define XFldProgramFile_wpIsObjectInitialized WPObject_wpIsObjectInitialized
#define XFldProgramFile_wpCreateShadowObjectExt WPObject_wpCreateShadowObjectExt
#define XFldProgramFile_wpCnrDeleteUseItem WPObject_wpCnrDeleteUseItem
#define XFldProgramFile_wpIsDeleteable WPObject_wpIsDeleteable
#define XFldProgramFile_wpQueryCoreRecord WPObject_wpQueryCoreRecord
#define XFldProgramFile_wpSetObjectID WPObject_wpSetObjectID
#define XFldProgramFile_wpQueryObjectID WPObject_wpQueryObjectID
#define XFldProgramFile_wpSetDefaultIconPos WPObject_wpSetDefaultIconPos
#define XFldProgramFile_wpQueryDefaultIconPos WPObject_wpQueryDefaultIconPos
#define XFldProgramFile_wpCnrRefreshDetails WPObject_wpCnrRefreshDetails
#define XFldProgramFile_wpFindViewItem WPObject_wpFindViewItem
#define XFldProgramFile_wpLockObject WPObject_wpLockObject
#define XFldProgramFile_wpIsLocked WPObject_wpIsLocked
#define XFldProgramFile_wpQueryContainerFlagPtr WPObject_wpQueryContainerFlagPtr
#define XFldProgramFile_wpWaitForClose WPObject_wpWaitForClose
#define XFldProgramFile_somDefaultInit SOMObject_somDefaultInit
#define XFldProgramFile_somDestruct SOMObject_somDestruct
#define XFldProgramFile_somDefaultCopyInit SOMObject_somDefaultCopyInit
#define XFldProgramFile_somDefaultAssign SOMObject_somDefaultAssign
#define XFldProgramFile_somDefaultConstCopyInit SOMObject_somDefaultConstCopyInit
#define XFldProgramFile_somDefaultVCopyInit SOMObject_somDefaultVCopyInit
#define XFldProgramFile_somDefaultConstVCopyInit SOMObject_somDefaultConstVCopyInit
#define XFldProgramFile_somDefaultConstAssign SOMObject_somDefaultConstAssign
#define XFldProgramFile_somDefaultVAssign SOMObject_somDefaultVAssign
#define XFldProgramFile_somDefaultConstVAssign SOMObject_somDefaultConstVAssign
#define XFldProgramFile_somInit SOMObject_somInit
#define XFldProgramFile_somFree SOMObject_somFree
#define XFldProgramFile_somUninit SOMObject_somUninit
#define XFldProgramFile_somGetClass SOMObject_somGetClass
#define XFldProgramFile_somGetClassName SOMObject_somGetClassName
#define XFldProgramFile_somGetSize SOMObject_somGetSize
#define XFldProgramFile_somIsA SOMObject_somIsA
#define XFldProgramFile_somIsInstanceOf SOMObject_somIsInstanceOf
#define XFldProgramFile_somRespondsTo SOMObject_somRespondsTo
#define XFldProgramFile_somDispatch SOMObject_somDispatch
#define XFldProgramFile_somClassDispatch SOMObject_somClassDispatch
#define XFldProgramFile_somCastObj SOMObject_somCastObj
#define XFldProgramFile_somResetObj SOMObject_somResetObj
#define XFldProgramFile_somDispatchV SOMObject_somDispatchV
#define XFldProgramFile_somDispatchL SOMObject_somDispatchL
#define XFldProgramFile_somDispatchA SOMObject_somDispatchA
#define XFldProgramFile_somDispatchD SOMObject_somDispatchD
#define XFldProgramFile_somPrintSelf SOMObject_somPrintSelf
#define XFldProgramFile_somDumpSelf SOMObject_somDumpSelf
#define XFldProgramFile_somDumpSelfInt SOMObject_somDumpSelfInt
#endif /* SOM_DONT_USE_INHERITED_MACROS */

#endif       /* SOM_XFldProgramFile_h */

#ifndef SOM_M_XFldProgramFile_h
#define SOM_M_XFldProgramFile_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_XFldProgramFile
#define M_XFldProgramFile SOMObject
#endif
#include <wppgmf.h>

/*
 * Start of user-defined types:
 */

/*
 * End of user-defined types.
 */

#define M_XFldProgramFile_MajorVersion 1
#define M_XFldProgramFile_MinorVersion 1

/*
 * External name shortening if required
 */
#ifdef SOM_USE_SHORT_EXTERNAL_NAMES
#define M_XFldProgramFileNewClass xfpgmfMc
#pragma linkage(xfpgmfMc, system)
#define M_XFldProgramFileClassData xfpgmfMd
#define M_XFldProgramFileCClassData xfpgmfMx
#endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
/*--------------Migration------------*/
#define M_XFldProgramFile_classObj M_XFldProgramFileClassData.classObject
#define _M_XFldProgramFile M_XFldProgramFile_classObj

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

/*
 * Declare the class data structure
 */
SOMEXTERN struct M_XFldProgramFileClassDataStructure {
	SOMAny *classObject;
} SOMDLINK M_XFldProgramFileClassData;

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

/*
 * New and Renew macros for M_XFldProgramFile
 */
#define M_XFldProgramFileNew() \
   (_somNew(_M_XFldProgramFile ? _M_XFldProgramFile : M_XFldProgramFileNewClass(M_XFldProgramFile_MajorVersion, M_XFldProgramFile_MinorVersion)))
#define M_XFldProgramFileRenew(buf) \
   (_somRenew(_M_XFldProgramFile ? _M_XFldProgramFile : M_XFldProgramFileNewClass(M_XFldProgramFile_MajorVersion, M_XFldProgramFile_MinorVersion), buf))

/*
 * Override method: wpclsInitData
 */
#define M_XFldProgramFile_wpclsInitData(somSelf) \
	M_WPObject_wpclsInitData(somSelf)

/*
 * Override method: wpclsQueryInstanceFilter
 */
#define M_XFldProgramFile_wpclsQueryInstanceFilter(somSelf) \
	M_WPFileSystem_wpclsQueryInstanceFilter(somSelf)
#ifndef SOM_DONT_USE_INHERITED_MACROS
#define M_XFldProgramFile_wpclsQueryAwakeObject M_WPFileSystem_wpclsQueryAwakeObject
#define M_XFldProgramFile_wpclsFileSysExists M_WPFileSystem_wpclsFileSysExists
#define M_XFldProgramFile_wpclsQueryObjectFromPath M_WPFileSystem_wpclsQueryObjectFromPath
#define M_XFldProgramFile_wpclsQueryInstanceType M_WPFileSystem_wpclsQueryInstanceType
#define M_XFldProgramFile_wpclsCreateDefaultTemplates M_WPObject_wpclsCreateDefaultTemplates
#define M_XFldProgramFile_wpclsMakeAwake M_WPObject_wpclsMakeAwake
#define M_XFldProgramFile_wpclsNew M_WPObject_wpclsNew
#define M_XFldProgramFile_wpclsQueryDefaultHelp M_WPObject_wpclsQueryDefaultHelp
#define M_XFldProgramFile_wpclsQueryDefaultView M_WPObject_wpclsQueryDefaultView
#define M_XFldProgramFile_wpclsQueryDetails M_WPObject_wpclsQueryDetails
#define M_XFldProgramFile_wpclsQueryDetailsInfo M_WPObject_wpclsQueryDetailsInfo
#define M_XFldProgramFile_wpclsQueryExtendedCriteria M_WPObject_wpclsQueryExtendedCriteria
#define M_XFldProgramFile_wpclsQueryFolder M_WPObject_wpclsQueryFolder
#define M_XFldProgramFile_wpclsQueryIcon M_WPObject_wpclsQueryIcon
#define M_XFldProgramFile_wpclsQuerySearchInfo M_WPObject_wpclsQuerySearchInfo
#define M_XFldProgramFile_wpclsQueryStyle M_WPObject_wpclsQueryStyle
#define M_XFldProgramFile_wpclsQueryTitle M_WPObject_wpclsQueryTitle
#define M_XFldProgramFile_wpclsUnInitData M_WPObject_wpclsUnInitData
#define M_XFldProgramFile_wpclsFindObjectFirst M_WPObject_wpclsFindObjectFirst
#define M_XFldProgramFile_wpclsFindObjectNext M_WPObject_wpclsFindObjectNext
#define M_XFldProgramFile_wpclsFindObjectEnd M_WPObject_wpclsFindObjectEnd
#define M_XFldProgramFile_wpclsSetError M_WPObject_wpclsSetError
#define M_XFldProgramFile_wpclsQueryError M_WPObject_wpclsQueryError
#define M_XFldProgramFile_wpclsQuerySettingsPageSize M_WPObject_wpclsQuerySettingsPageSize
#define M_XFldProgramFile_wpclsQueryIconData M_WPObject_wpclsQueryIconData
#define M_XFldProgramFile_wpclsQueryObject M_WPObject_wpclsQueryObject
#define M_XFldProgramFile_wpclsQueryButtonAppearance M_WPObject_wpclsQueryButtonAppearance
#define M_XFldProgramFile_wpclsDecUsage M_WPObject_wpclsDecUsage
#define M_XFldProgramFile_wpclsIncUsage M_WPObject_wpclsIncUsage
#define M_XFldProgramFile_wpclsInsertMultipleObjects M_WPObject_wpclsInsertMultipleObjects
#define M_XFldProgramFile_wpclsFindOneObject M_WPObject_wpclsFindOneObject
#define M_XFldProgramFile_wpclsSetSettingsPageSize M_WPObject_wpclsSetSettingsPageSize
#define M_XFldProgramFile_wpclsSetIconData M_WPObject_wpclsSetIconData
#define M_XFldProgramFile_wpclsSetIcon M_WPObject_wpclsSetIcon
#define M_XFldProgramFile_wpclsObjectFromHandle M_WPObject_wpclsObjectFromHandle
#define M_XFldProgramFile_wpclsRemoveObjects M_WPObject_wpclsRemoveObjects
#define M_XFldProgramFile__get_somDataAlignment SOMClass__get_somDataAlignment
#define M_XFldProgramFile__get_somInstanceDataOffsets SOMClass__get_somInstanceDataOffsets
#define M_XFldProgramFile__get_somDirectInitClasses SOMClass__get_somDirectInitClasses
#define M_XFldProgramFile__set_somDirectInitClasses SOMClass__set_somDirectInitClasses
#define M_XFldProgramFile_somNew SOMClass_somNew
#define M_XFldProgramFile_somNewNoInit SOMClass_somNewNoInit
#define M_XFldProgramFile_somRenew SOMClass_somRenew
#define M_XFldProgramFile_somRenewNoInit SOMClass_somRenewNoInit
#define M_XFldProgramFile_somRenewNoZero SOMClass_somRenewNoZero
#define M_XFldProgramFile_somRenewNoInitNoZero SOMClass_somRenewNoInitNoZero
#define M_XFldProgramFile_somAllocate SOMClass_somAllocate
#define M_XFldProgramFile_somDeallocate SOMClass_somDeallocate
#define M_XFldProgramFile__get_somClassAllocate SOMClass__get_somClassAllocate
#define M_XFldProgramFile__get_somClassDeallocate SOMClass__get_somClassDeallocate
#define M_XFldProgramFile_somGetInstanceInitMask SOMClass_somGetInstanceInitMask
#define M_XFldProgramFile_somGetInstanceDestructionMask SOMClass_somGetInstanceDestructionMask
#define M_XFldProgramFile_somGetInstanceAssignmentMask SOMClass_somGetInstanceAssignmentMask
#define M_XFldProgramFile_somInitClass SOMClass_somInitClass
#define M_XFldProgramFile_somInitMIClass SOMClass_somInitMIClass
#define M_XFldProgramFile_somAddStaticMethod SOMClass_somAddStaticMethod
#define M_XFldProgramFile_somAddDynamicMethod SOMClass_somAddDynamicMethod
#define M_XFldProgramFile_somOverrideSMethod SOMClass_somOverrideSMethod
#define M_XFldProgramFile_somClassReady SOMClass_somClassReady
#define M_XFldProgramFile_somGetApplyStub SOMClass_somGetApplyStub
#define M_XFldProgramFile_somGetClassData SOMClass_somGetClassData
#define M_XFldProgramFile_somSetClassData SOMClass_somSetClassData
#define M_XFldProgramFile_somGetClassMtab SOMClass_somGetClassMtab
#define M_XFldProgramFile_somGetInstanceOffset SOMClass_somGetInstanceOffset
#define M_XFldProgramFile_somGetInstancePartSize SOMClass_somGetInstancePartSize
#define M_XFldProgramFile_somGetInstanceSize SOMClass_somGetInstanceSize
#define M_XFldProgramFile_somGetInstanceToken SOMClass_somGetInstanceToken
#define M_XFldProgramFile_somGetMemberToken SOMClass_somGetMemberToken
#define M_XFldProgramFile_somGetMethodData SOMClass_somGetMethodData
#define M_XFldProgramFile_somGetRdStub SOMClass_somGetRdStub
#define M_XFldProgramFile_somGetMethodDescriptor SOMClass_somGetMethodDescriptor
#define M_XFldProgramFile_somGetMethodIndex SOMClass_somGetMethodIndex
#define M_XFldProgramFile_somGetMethodToken SOMClass_somGetMethodToken
#define M_XFldProgramFile_somGetName SOMClass_somGetName
#define M_XFldProgramFile_somGetNthMethodData SOMClass_somGetNthMethodData
#define M_XFldProgramFile_somGetNthMethodInfo SOMClass_somGetNthMethodInfo
#define M_XFldProgramFile_somGetNumMethods SOMClass_somGetNumMethods
#define M_XFldProgramFile_somGetNumStaticMethods SOMClass_somGetNumStaticMethods
#define M_XFldProgramFile_somGetParent SOMClass_somGetParent
#define M_XFldProgramFile_somGetParents SOMClass_somGetParents
#define M_XFldProgramFile_somGetPClsMtab SOMClass_somGetPClsMtab
#define M_XFldProgramFile_somGetPClsMtabs SOMClass_somGetPClsMtabs
#define M_XFldProgramFile_somGetVersionNumbers SOMClass_somGetVersionNumbers
#define M_XFldProgramFile_somSetMethodDescriptor SOMClass_somSetMethodDescriptor
#define M_XFldProgramFile_somFindMethod SOMClass_somFindMethod
#define M_XFldProgramFile_somFindMethodOk SOMClass_somFindMethodOk
#define M_XFldProgramFile_somFindSMethod SOMClass_somFindSMethod
#define M_XFldProgramFile_somFindSMethodOk SOMClass_somFindSMethodOk
#define M_XFldProgramFile_somLookupMethod SOMClass_somLookupMethod
#define M_XFldProgramFile_somCheckVersion SOMClass_somCheckVersion
#define M_XFldProgramFile_somDescendedFrom SOMClass_somDescendedFrom
#define M_XFldProgramFile_somSupportsMethod SOMClass_somSupportsMethod
#define M_XFldProgramFile_somDefinedMethod SOMClass_somDefinedMethod
#define M_XFldProgramFile_somOverrideMtab SOMClass_somOverrideMtab
#define M_XFldProgramFile_somDefaultInit SOMObject_somDefaultInit
#define M_XFldProgramFile_somDestruct SOMObject_somDestruct
#define M_XFldProgramFile_somDefaultCopyInit SOMObject_somDefaultCopyInit
#define M_XFldProgramFile_somDefaultAssign SOMObject_somDefaultAssign
#define M_XFldProgramFile_somDefaultConstCopyInit SOMObject_somDefaultConstCopyInit
#define M_XFldProgramFile_somDefaultVCopyInit SOMObject_somDefaultVCopyInit
#define M_XFldProgramFile_somDefaultConstVCopyInit SOMObject_somDefaultConstVCopyInit
#define M_XFldProgramFile_somDefaultConstAssign SOMObject_somDefaultConstAssign
#define M_XFldProgramFile_somDefaultVAssign SOMObject_somDefaultVAssign
#define M_XFldProgramFile_somDefaultConstVAssign SOMObject_somDefaultConstVAssign
#define M_XFldProgramFile_somInit SOMObject_somInit
#define M_XFldProgramFile_somFree SOMObject_somFree
#define M_XFldProgramFile_somUninit SOMObject_somUninit
#define M_XFldProgramFile_somGetClass SOMObject_somGetClass
#define M_XFldProgramFile_somGetClassName SOMObject_somGetClassName
#define M_XFldProgramFile_somGetSize SOMObject_somGetSize
#define M_XFldProgramFile_somIsA SOMObject_somIsA
#define M_XFldProgramFile_somIsInstanceOf SOMObject_somIsInstanceOf
#define M_XFldProgramFile_somRespondsTo SOMObject_somRespondsTo
#define M_XFldProgramFile_somDispatch SOMObject_somDispatch
#define M_XFldProgramFile_somClassDispatch SOMObject_somClassDispatch
#define M_XFldProgramFile_somCastObj SOMObject_somCastObj
#define M_XFldProgramFile_somResetObj SOMObject_somResetObj
#define M_XFldProgramFile_somDispatchV SOMObject_somDispatchV
#define M_XFldProgramFile_somDispatchL SOMObject_somDispatchL
#define M_XFldProgramFile_somDispatchA SOMObject_somDispatchA
#define M_XFldProgramFile_somDispatchD SOMObject_somDispatchD
#define M_XFldProgramFile_somPrintSelf SOMObject_somPrintSelf
#define M_XFldProgramFile_somDumpSelf SOMObject_somDumpSelf
#define M_XFldProgramFile_somDumpSelfInt SOMObject_somDumpSelfInt
#endif /* SOM_DONT_USE_INHERITED_MACROS */

#endif       /* SOM_M_XFldProgramFile_h */
