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

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


#ifndef SOM_WPDataFile_h
#define SOM_WPDataFile_h


/*
 * Passthru lines: File: "C.h", "before"
 */
#define MAX_ASSOC_ITEMS 12

#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 WPDataFile
#define WPDataFile SOMObject
#endif
#include <wpfsys.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_WPFileSystem
    #define M_WPFileSystem SOMObject
#endif /* M_WPFileSystem */
#ifndef M_WPDataFile
    #define M_WPDataFile SOMObject
#endif /* M_WPDataFile */

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

#define WPDataFile_MajorVersion 1
#define WPDataFile_MinorVersion 2

/*
 * External name shortening if required
 */
#ifdef SOM_USE_SHORT_EXTERNAL_NAMES
#define WPDataFileNewClass wpdfc
#define WPDataFileClassData wpdfd
#define WPDataFileCClassData wpdfx
#endif /* SOM_USE_SHORT_EXTERNAL_NAMES */

/*
 * Include the meta class file
 */
#include <wpdataf.h>
/*--------------Migration------------*/
#define WPDataFile_classObj WPDataFileClassData.classObject
#define _WPDataFile WPDataFile_classObj

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

/*
 * Declare the class data structure
 */
SOMEXTERN struct WPDataFileClassDataStructure {
	SOMClass *classObject;
	somMToken wpAddFileTypePage;
	somMToken wpPrintMetaFile;
	somMToken wpPrintPifFile;
	somMToken wpPrintPrinterSpecificFile;
	somMToken wpPrintUnknownFile;
	somMToken wpQueryAssociatedProgram;
	somMToken wpSetAssociatedFileIcon;
	somMToken wpQueryAssociatedFileIcon;
} SOMDLINK WPDataFileClassData;

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

/*
 * New and Renew macros for WPDataFile
 */
#define WPDataFileNew() \
   (_somNew(_WPDataFile ? _WPDataFile : WPDataFileNewClass(WPDataFile_MajorVersion, WPDataFile_MinorVersion)))
#define WPDataFileRenew(buf) \
   (_somRenew(_WPDataFile ? _WPDataFile : WPDataFileNewClass(WPDataFile_MajorVersion, WPDataFile_MinorVersion), buf))

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

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

/*
 * Override method: wpSetDefaultView
 */
#define WPDataFile_wpSetDefaultView(somSelf,ulView) \
	WPObject_wpSetDefaultView(somSelf,ulView)

/*
 * Override method: wpSetRealName
 */
#define WPDataFile_wpSetRealName(somSelf,pszName) \
	WPFileSystem_wpSetRealName(somSelf,pszName)

/*
 * Override method: wpSetType
 */
#define WPDataFile_wpSetType(somSelf,pszTypes,pfeal) \
	WPFileSystem_wpSetType(somSelf,pszTypes,pfeal)

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

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

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

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

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

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

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

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

/*
 * Override method: wpFormatDragItem
 */
#define WPDataFile_wpFormatDragItem(somSelf,pdrgItem) \
	WPObject_wpFormatDragItem(somSelf,pdrgItem)

/*
 * Override method: wpConfirmRenameFileWithExt
 */
#define WPDataFile_wpConfirmRenameFileWithExt(somSelf) \
	WPFileSystem_wpConfirmRenameFileWithExt(somSelf)

/*
 * Override method: wpQueryIcon
 */
#define WPDataFile_wpQueryIcon(somSelf) \
	WPObject_wpQueryIcon(somSelf)

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

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

/*
 * New Method: wpAddFileTypePage
 */
typedef ULONG   SOMLINK somTP_WPDataFile_wpAddFileTypePage(WPDataFile *somSelf, 
		HWND hwndNotebook);
typedef somTP_WPDataFile_wpAddFileTypePage *somTD_WPDataFile_wpAddFileTypePage;
#define somMD_WPDataFile_wpAddFileTypePage "::WPDataFile::wpAddFileTypePage"
#define WPDataFile_wpAddFileTypePage(somSelf,hwndNotebook) \
    (SOM_Resolve(somSelf, WPDataFile, wpAddFileTypePage) \
	(somSelf,hwndNotebook))
#ifndef SOMGD_wpAddFileTypePage
    #if (defined(_wpAddFileTypePage) || defined(__wpAddFileTypePage))
        #undef _wpAddFileTypePage
        #undef __wpAddFileTypePage
        #define SOMGD_wpAddFileTypePage 1
    #else
        #define _wpAddFileTypePage WPDataFile_wpAddFileTypePage
    #endif /* _wpAddFileTypePage */
#endif /* SOMGD_wpAddFileTypePage */

/*
 * New Method: wpPrintMetaFile
 */
typedef BOOL   SOMLINK somTP_WPDataFile_wpPrintMetaFile(WPDataFile *somSelf, 
		PPRINTDEST pPrintDest);
typedef somTP_WPDataFile_wpPrintMetaFile *somTD_WPDataFile_wpPrintMetaFile;
#define somMD_WPDataFile_wpPrintMetaFile "::WPDataFile::wpPrintMetaFile"
#define WPDataFile_wpPrintMetaFile(somSelf,pPrintDest) \
    (SOM_Resolve(somSelf, WPDataFile, wpPrintMetaFile) \
	(somSelf,pPrintDest))
#ifndef SOMGD_wpPrintMetaFile
    #if (defined(_wpPrintMetaFile) || defined(__wpPrintMetaFile))
        #undef _wpPrintMetaFile
        #undef __wpPrintMetaFile
        #define SOMGD_wpPrintMetaFile 1
    #else
        #define _wpPrintMetaFile WPDataFile_wpPrintMetaFile
    #endif /* _wpPrintMetaFile */
#endif /* SOMGD_wpPrintMetaFile */

/*
 * New Method: wpPrintPifFile
 */
typedef BOOL   SOMLINK somTP_WPDataFile_wpPrintPifFile(WPDataFile *somSelf, 
		PPRINTDEST pPrintDest);
typedef somTP_WPDataFile_wpPrintPifFile *somTD_WPDataFile_wpPrintPifFile;
#define somMD_WPDataFile_wpPrintPifFile "::WPDataFile::wpPrintPifFile"
#define WPDataFile_wpPrintPifFile(somSelf,pPrintDest) \
    (SOM_Resolve(somSelf, WPDataFile, wpPrintPifFile) \
	(somSelf,pPrintDest))
#ifndef SOMGD_wpPrintPifFile
    #if (defined(_wpPrintPifFile) || defined(__wpPrintPifFile))
        #undef _wpPrintPifFile
        #undef __wpPrintPifFile
        #define SOMGD_wpPrintPifFile 1
    #else
        #define _wpPrintPifFile WPDataFile_wpPrintPifFile
    #endif /* _wpPrintPifFile */
#endif /* SOMGD_wpPrintPifFile */

/*
 * New Method: wpPrintPrinterSpecificFile
 */
typedef BOOL   SOMLINK somTP_WPDataFile_wpPrintPrinterSpecificFile(WPDataFile *somSelf, 
		PPRINTDEST pPrintDest);
typedef somTP_WPDataFile_wpPrintPrinterSpecificFile *somTD_WPDataFile_wpPrintPrinterSpecificFile;
#define somMD_WPDataFile_wpPrintPrinterSpecificFile "::WPDataFile::wpPrintPrinterSpecificFile"
#define WPDataFile_wpPrintPrinterSpecificFile(somSelf,pPrintDest) \
    (SOM_Resolve(somSelf, WPDataFile, wpPrintPrinterSpecificFile) \
	(somSelf,pPrintDest))
#ifndef SOMGD_wpPrintPrinterSpecificFile
    #if (defined(_wpPrintPrinterSpecificFile) || defined(__wpPrintPrinterSpecificFile))
        #undef _wpPrintPrinterSpecificFile
        #undef __wpPrintPrinterSpecificFile
        #define SOMGD_wpPrintPrinterSpecificFile 1
    #else
        #define _wpPrintPrinterSpecificFile WPDataFile_wpPrintPrinterSpecificFile
    #endif /* _wpPrintPrinterSpecificFile */
#endif /* SOMGD_wpPrintPrinterSpecificFile */

/*
 * New Method: wpPrintUnknownFile
 */
typedef BOOL   SOMLINK somTP_WPDataFile_wpPrintUnknownFile(WPDataFile *somSelf, 
		PPRINTDEST pPrintDest);
typedef somTP_WPDataFile_wpPrintUnknownFile *somTD_WPDataFile_wpPrintUnknownFile;
#define somMD_WPDataFile_wpPrintUnknownFile "::WPDataFile::wpPrintUnknownFile"
#define WPDataFile_wpPrintUnknownFile(somSelf,pPrintDest) \
    (SOM_Resolve(somSelf, WPDataFile, wpPrintUnknownFile) \
	(somSelf,pPrintDest))
#ifndef SOMGD_wpPrintUnknownFile
    #if (defined(_wpPrintUnknownFile) || defined(__wpPrintUnknownFile))
        #undef _wpPrintUnknownFile
        #undef __wpPrintUnknownFile
        #define SOMGD_wpPrintUnknownFile 1
    #else
        #define _wpPrintUnknownFile WPDataFile_wpPrintUnknownFile
    #endif /* _wpPrintUnknownFile */
#endif /* SOMGD_wpPrintUnknownFile */

/*
 * New Method: wpQueryAssociatedProgram
 */
typedef WPObject*   SOMLINK somTP_WPDataFile_wpQueryAssociatedProgram(WPDataFile *somSelf, 
		ULONG ulView, 
		PULONG pulHowMatched, 
		PSZ pszMatchString, 
		ULONG cbMatchString, 
		PSZ pszDefaultType);
typedef somTP_WPDataFile_wpQueryAssociatedProgram *somTD_WPDataFile_wpQueryAssociatedProgram;
#define somMD_WPDataFile_wpQueryAssociatedProgram "::WPDataFile::wpQueryAssociatedProgram"
#define WPDataFile_wpQueryAssociatedProgram(somSelf,ulView,pulHowMatched,pszMatchString,cbMatchString,pszDefaultType) \
    (SOM_Resolve(somSelf, WPDataFile, wpQueryAssociatedProgram) \
	(somSelf,ulView,pulHowMatched,pszMatchString,cbMatchString,pszDefaultType))
#ifndef SOMGD_wpQueryAssociatedProgram
    #if (defined(_wpQueryAssociatedProgram) || defined(__wpQueryAssociatedProgram))
        #undef _wpQueryAssociatedProgram
        #undef __wpQueryAssociatedProgram
        #define SOMGD_wpQueryAssociatedProgram 1
    #else
        #define _wpQueryAssociatedProgram WPDataFile_wpQueryAssociatedProgram
    #endif /* _wpQueryAssociatedProgram */
#endif /* SOMGD_wpQueryAssociatedProgram */

/*
 * New Method: wpSetAssociatedFileIcon
 */
typedef void   SOMLINK somTP_WPDataFile_wpSetAssociatedFileIcon(WPDataFile *somSelf);
typedef somTP_WPDataFile_wpSetAssociatedFileIcon *somTD_WPDataFile_wpSetAssociatedFileIcon;
#define somMD_WPDataFile_wpSetAssociatedFileIcon "::WPDataFile::wpSetAssociatedFileIcon"
#define WPDataFile_wpSetAssociatedFileIcon(somSelf) \
    (SOM_Resolve(somSelf, WPDataFile, wpSetAssociatedFileIcon) \
	(somSelf))
#ifndef SOMGD_wpSetAssociatedFileIcon
    #if (defined(_wpSetAssociatedFileIcon) || defined(__wpSetAssociatedFileIcon))
        #undef _wpSetAssociatedFileIcon
        #undef __wpSetAssociatedFileIcon
        #define SOMGD_wpSetAssociatedFileIcon 1
    #else
        #define _wpSetAssociatedFileIcon WPDataFile_wpSetAssociatedFileIcon
    #endif /* _wpSetAssociatedFileIcon */
#endif /* SOMGD_wpSetAssociatedFileIcon */

/*
 * New Method: wpQueryAssociatedFileIcon
 */
typedef HPOINTER   SOMLINK somTP_WPDataFile_wpQueryAssociatedFileIcon(WPDataFile *somSelf);
typedef somTP_WPDataFile_wpQueryAssociatedFileIcon *somTD_WPDataFile_wpQueryAssociatedFileIcon;
#define somMD_WPDataFile_wpQueryAssociatedFileIcon "::WPDataFile::wpQueryAssociatedFileIcon"
#define WPDataFile_wpQueryAssociatedFileIcon(somSelf) \
    (SOM_Resolve(somSelf, WPDataFile, wpQueryAssociatedFileIcon) \
	(somSelf))
#ifndef SOMGD_wpQueryAssociatedFileIcon
    #if (defined(_wpQueryAssociatedFileIcon) || defined(__wpQueryAssociatedFileIcon))
        #undef _wpQueryAssociatedFileIcon
        #undef __wpQueryAssociatedFileIcon
        #define SOMGD_wpQueryAssociatedFileIcon 1
    #else
        #define _wpQueryAssociatedFileIcon WPDataFile_wpQueryAssociatedFileIcon
    #endif /* _wpQueryAssociatedFileIcon */
#endif /* SOMGD_wpQueryAssociatedFileIcon */
#ifndef SOM_DONT_USE_INHERITED_MACROS
#define WPDataFile_wpQueryType WPFileSystem_wpQueryType
#define WPDataFile_wpSetAttr WPFileSystem_wpSetAttr
#define WPDataFile_wpQueryAttr WPFileSystem_wpQueryAttr
#define WPDataFile_wpAddFile1Page WPFileSystem_wpAddFile1Page
#define WPDataFile_wpAddFile2Page WPFileSystem_wpAddFile2Page
#define WPDataFile_wpAddFile3Page WPFileSystem_wpAddFile3Page
#define WPDataFile_wpAddFileMenuPage WPFileSystem_wpAddFileMenuPage
#define WPDataFile_wpQueryCreation WPFileSystem_wpQueryCreation
#define WPDataFile_wpQueryLastAccess WPFileSystem_wpQueryLastAccess
#define WPDataFile_wpQueryLastWrite WPFileSystem_wpQueryLastWrite
#define WPDataFile_wpQueryFileSize WPFileSystem_wpQueryFileSize
#define WPDataFile_wpQueryEASize WPFileSystem_wpQueryEASize
#define WPDataFile_wpSetDateInfo WPFileSystem_wpSetDateInfo
#define WPDataFile_wpSetFileSizeInfo WPFileSystem_wpSetFileSizeInfo
#define WPDataFile_wpRefresh WPFileSystem_wpRefresh
#define WPDataFile_wpQueryRefreshFlags WPFileSystem_wpQueryRefreshFlags
#define WPDataFile_wpSetRefreshFlags WPFileSystem_wpSetRefreshFlags
#define WPDataFile_wpPrintPlainTextFile WPFileSystem_wpPrintPlainTextFile
#define WPDataFile_wpSetTitleAndRenameFile WPFileSystem_wpSetTitleAndRenameFile
#define WPDataFile_wpVerifyUpdateAccess WPFileSystem_wpVerifyUpdateAccess
#define WPDataFile_wpAddUserItemsToPopupMenu WPFileSystem_wpAddUserItemsToPopupMenu
#define WPDataFile_wpIsDiskSwapped WPFileSystem_wpIsDiskSwapped
#define WPDataFile_wpQueryRealName WPFileSystem_wpQueryRealName
#define WPDataFile_wpQueryFilename WPFileSystem_wpQueryFilename
#define WPDataFile_wpQueryDisk WPFileSystem_wpQueryDisk
#define WPDataFile_wpQueryDateInfo WPFileSystem_wpQueryDateInfo
#define WPDataFile_wpConfirmKeepAssoc WPFileSystem_wpConfirmKeepAssoc
#define WPDataFile_wpAddObjectGeneralPage WPObject_wpAddObjectGeneralPage
#define WPDataFile_wpAddObjectGeneralPage2 WPObject_wpAddObjectGeneralPage2
#define WPDataFile_wpAddToObjUseList WPObject_wpAddToObjUseList
#define WPDataFile_wpAllocMem WPObject_wpAllocMem
#define WPDataFile_wpAppendObject WPObject_wpAppendObject
#define WPDataFile_wpAssertObjectMutexSem WPObject_wpAssertObjectMutexSem
#define WPDataFile_wpClose WPObject_wpClose
#define WPDataFile_wpCnrInsertObject WPObject_wpCnrInsertObject
#define WPDataFile_wpCnrRemoveObject WPObject_wpCnrRemoveObject
#define WPDataFile_wpCnrSetEmphasis WPObject_wpCnrSetEmphasis
#define WPDataFile_wpConfirmDelete WPObject_wpConfirmDelete
#define WPDataFile_wpConfirmObjectTitle WPObject_wpConfirmObjectTitle
#define WPDataFile_wpCopiedFromTemplate WPObject_wpCopiedFromTemplate
#define WPDataFile_wpCopyObject WPObject_wpCopyObject
#define WPDataFile_wpCreateAnother WPObject_wpCreateAnother
#define WPDataFile_wpCreateFromTemplate WPObject_wpCreateFromTemplate
#define WPDataFile_wpCreateShadowObject WPObject_wpCreateShadowObject
#define WPDataFile_wpDelete WPObject_wpDelete
#define WPDataFile_wpDeleteFromObjUseList WPObject_wpDeleteFromObjUseList
#define WPDataFile_wpDisplayHelp WPObject_wpDisplayHelp
#define WPDataFile_wpDisplayMenu WPObject_wpDisplayMenu
#define WPDataFile_wpDoesObjectMatch WPObject_wpDoesObjectMatch
#define WPDataFile_wpDraggedOverObject WPObject_wpDraggedOverObject
#define WPDataFile_wpDrop WPObject_wpDrop
#define WPDataFile_wpDroppedOnObject WPObject_wpDroppedOnObject
#define WPDataFile_wpEndConversation WPObject_wpEndConversation
#define WPDataFile_wpFilterPopupMenu WPObject_wpFilterPopupMenu
#define WPDataFile_wpFindUseItem WPObject_wpFindUseItem
#define WPDataFile_wpFree WPObject_wpFree
#define WPDataFile_wpFreeMem WPObject_wpFreeMem
#define WPDataFile_wpHide WPObject_wpHide
#define WPDataFile_wpInitData WPObject_wpInitData
#define WPDataFile_wpInsertPopupMenuItems WPObject_wpInsertPopupMenuItems
#define WPDataFile_wpInsertSettingsPage WPObject_wpInsertSettingsPage
#define WPDataFile_wpMoveObject WPObject_wpMoveObject
#define WPDataFile_wpQueryConcurrentView WPObject_wpQueryConcurrentView
#define WPDataFile_wpQueryButtonAppearance WPObject_wpQueryButtonAppearance
#define WPDataFile_wpQueryConfirmations WPObject_wpQueryConfirmations
#define WPDataFile_wpQueryDefaultView WPObject_wpQueryDefaultView
#define WPDataFile_wpQueryDetailsData WPObject_wpQueryDetailsData
#define WPDataFile_wpQueryError WPObject_wpQueryError
#define WPDataFile_wpSetFolder WPObject_wpSetFolder
#define WPDataFile_wpQueryFolder WPObject_wpQueryFolder
#define WPDataFile_wpQueryIconData WPObject_wpQueryIconData
#define WPDataFile_wpQueryMinWindow WPObject_wpQueryMinWindow
#define WPDataFile_wpQueryNameClashOptions WPObject_wpQueryNameClashOptions
#define WPDataFile_wpQueryStyle WPObject_wpQueryStyle
#define WPDataFile_wpSetTaskRec WPObject_wpSetTaskRec
#define WPDataFile_wpFindTaskRec WPObject_wpFindTaskRec
#define WPDataFile_wpQueryTitle WPObject_wpQueryTitle
#define WPDataFile_wpRegisterView WPObject_wpRegisterView
#define WPDataFile_wpReleaseObjectMutexSem WPObject_wpReleaseObjectMutexSem
#define WPDataFile_wpRender WPObject_wpRender
#define WPDataFile_wpRenderComplete WPObject_wpRenderComplete
#define WPDataFile_wpReplaceObject WPObject_wpReplaceObject
#define WPDataFile_wpRequestObjectMutexSem WPObject_wpRequestObjectMutexSem
#define WPDataFile_wpRestore WPObject_wpRestore
#define WPDataFile_wpRestoreData WPObject_wpRestoreData
#define WPDataFile_wpRestoreLong WPObject_wpRestoreLong
#define WPDataFile_wpRestoreString WPObject_wpRestoreString
#define WPDataFile_wpSaveData WPObject_wpSaveData
#define WPDataFile_wpSaveImmediate WPObject_wpSaveImmediate
#define WPDataFile_wpSaveDeferred WPObject_wpSaveDeferred
#define WPDataFile_wpSaveLong WPObject_wpSaveLong
#define WPDataFile_wpSaveState WPObject_wpSaveState
#define WPDataFile_wpSaveString WPObject_wpSaveString
#define WPDataFile_wpScanSetupString WPObject_wpScanSetupString
#define WPDataFile_wpSetConcurrentView WPObject_wpSetConcurrentView
#define WPDataFile_wpSetButtonAppearance WPObject_wpSetButtonAppearance
#define WPDataFile_wpSetDefaultHelp WPObject_wpSetDefaultHelp
#define WPDataFile_wpSetError WPObject_wpSetError
#define WPDataFile_wpSetIconHandle WPObject_wpSetIconHandle
#define WPDataFile_wpQueryScreenGroupID WPObject_wpQueryScreenGroupID
#define WPDataFile_wpSetupOnce WPObject_wpSetupOnce
#define WPDataFile_wpSetIcon WPObject_wpSetIcon
#define WPDataFile_wpSetIconData WPObject_wpSetIconData
#define WPDataFile_wpSetMinWindow WPObject_wpSetMinWindow
#define WPDataFile_wpSetStyle WPObject_wpSetStyle
#define WPDataFile_wpModifyStyle WPObject_wpModifyStyle
#define WPDataFile_wpSetTitle WPObject_wpSetTitle
#define WPDataFile_wpSetup WPObject_wpSetup
#define WPDataFile_wpSwitchTo WPObject_wpSwitchTo
#define WPDataFile_wpUnInitData WPObject_wpUnInitData
#define WPDataFile_wpViewObject WPObject_wpViewObject
#define WPDataFile_wpQueryTrueStyle WPObject_wpQueryTrueStyle
#define WPDataFile_wpQueryHandle WPObject_wpQueryHandle
#define WPDataFile_wpUnlockObject WPObject_wpUnlockObject
#define WPDataFile_wpObjectReady WPObject_wpObjectReady
#define WPDataFile_wpIsObjectInitialized WPObject_wpIsObjectInitialized
#define WPDataFile_wpCreateShadowObjectExt WPObject_wpCreateShadowObjectExt
#define WPDataFile_wpCnrDeleteUseItem WPObject_wpCnrDeleteUseItem
#define WPDataFile_wpIsDeleteable WPObject_wpIsDeleteable
#define WPDataFile_wpQueryCoreRecord WPObject_wpQueryCoreRecord
#define WPDataFile_wpSetObjectID WPObject_wpSetObjectID
#define WPDataFile_wpQueryObjectID WPObject_wpQueryObjectID
#define WPDataFile_wpSetDefaultIconPos WPObject_wpSetDefaultIconPos
#define WPDataFile_wpQueryDefaultIconPos WPObject_wpQueryDefaultIconPos
#define WPDataFile_wpCnrRefreshDetails WPObject_wpCnrRefreshDetails
#define WPDataFile_wpFindViewItem WPObject_wpFindViewItem
#define WPDataFile_wpLockObject WPObject_wpLockObject
#define WPDataFile_wpIsLocked WPObject_wpIsLocked
#define WPDataFile_wpQueryContainerFlagPtr WPObject_wpQueryContainerFlagPtr
#define WPDataFile_wpWaitForClose WPObject_wpWaitForClose
#define WPDataFile_somDefaultCopyInit SOMObject_somDefaultCopyInit
#define WPDataFile_somDefaultAssign SOMObject_somDefaultAssign
#define WPDataFile_somDefaultConstCopyInit SOMObject_somDefaultConstCopyInit
#define WPDataFile_somDefaultVCopyInit SOMObject_somDefaultVCopyInit
#define WPDataFile_somDefaultConstVCopyInit SOMObject_somDefaultConstVCopyInit
#define WPDataFile_somDefaultConstAssign SOMObject_somDefaultConstAssign
#define WPDataFile_somDefaultVAssign SOMObject_somDefaultVAssign
#define WPDataFile_somDefaultConstVAssign SOMObject_somDefaultConstVAssign
#define WPDataFile_somInit SOMObject_somInit
#define WPDataFile_somFree SOMObject_somFree
#define WPDataFile_somUninit SOMObject_somUninit
#define WPDataFile_somGetClass SOMObject_somGetClass
#define WPDataFile_somGetClassName SOMObject_somGetClassName
#define WPDataFile_somGetSize SOMObject_somGetSize
#define WPDataFile_somIsA SOMObject_somIsA
#define WPDataFile_somIsInstanceOf SOMObject_somIsInstanceOf
#define WPDataFile_somRespondsTo SOMObject_somRespondsTo
#define WPDataFile_somDispatch SOMObject_somDispatch
#define WPDataFile_somClassDispatch SOMObject_somClassDispatch
#define WPDataFile_somCastObj SOMObject_somCastObj
#define WPDataFile_somResetObj SOMObject_somResetObj
#define WPDataFile_somPrintSelf SOMObject_somPrintSelf
#define WPDataFile_somDumpSelf SOMObject_somDumpSelf
#define WPDataFile_somDumpSelfInt SOMObject_somDumpSelfInt
#endif /* SOM_DONT_USE_INHERITED_MACROS */

#endif       /* SOM_WPDataFile_h */

#ifndef SOM_M_WPDataFile_h
#define SOM_M_WPDataFile_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_WPDataFile
#define M_WPDataFile SOMObject
#endif
#include <wpfsys.h>

/*
 * Start of bindings for IDL types
 */


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

#define M_WPDataFile_MajorVersion 1
#define M_WPDataFile_MinorVersion 2

/*
 * External name shortening if required
 */
#ifdef SOM_USE_SHORT_EXTERNAL_NAMES
#define M_WPDataFileNewClass wpdfc
#define M_WPDataFileClassData wpdfd
#define M_WPDataFileCClassData wpdfx
#endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
/*--------------Migration------------*/
#define M_WPDataFile_classObj M_WPDataFileClassData.classObject
#define _M_WPDataFile M_WPDataFile_classObj

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

/*
 * Declare the class data structure
 */
SOMEXTERN struct M_WPDataFileClassDataStructure {
	SOMClass *classObject;
} SOMDLINK M_WPDataFileClassData;

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

/*
 * New and Renew macros for M_WPDataFile
 */
#define M_WPDataFileNew() \
   (_somNew(_M_WPDataFile ? _M_WPDataFile : M_WPDataFileNewClass(M_WPDataFile_MajorVersion, M_WPDataFile_MinorVersion)))
#define M_WPDataFileRenew(buf) \
   (_somRenew(_M_WPDataFile ? _M_WPDataFile : M_WPDataFileNewClass(M_WPDataFile_MajorVersion, M_WPDataFile_MinorVersion), buf))

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

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

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

/*
 * Override method: wpclsQueryDefaultView
 */
#define M_WPDataFile_wpclsQueryDefaultView(somSelf) \
	M_WPObject_wpclsQueryDefaultView(somSelf)

/*
 * Override method: wpclsQueryDefaultHelp
 */
#define M_WPDataFile_wpclsQueryDefaultHelp(somSelf,pHelpPanelId,pszHelpLibrary) \
	M_WPObject_wpclsQueryDefaultHelp(somSelf,pHelpPanelId,pszHelpLibrary)
#ifndef SOM_DONT_USE_INHERITED_MACROS
#define M_WPDataFile_wpclsQueryAwakeObject M_WPFileSystem_wpclsQueryAwakeObject
#define M_WPDataFile_wpclsFileSysExists M_WPFileSystem_wpclsFileSysExists
#define M_WPDataFile_wpclsQueryObjectFromPath M_WPFileSystem_wpclsQueryObjectFromPath
#define M_WPDataFile_wpclsQueryInstanceType M_WPFileSystem_wpclsQueryInstanceType
#define M_WPDataFile_wpclsQueryInstanceFilter M_WPFileSystem_wpclsQueryInstanceFilter
#define M_WPDataFile_wpclsCreateDefaultTemplates M_WPObject_wpclsCreateDefaultTemplates
#define M_WPDataFile_wpclsInitData M_WPObject_wpclsInitData
#define M_WPDataFile_wpclsMakeAwake M_WPObject_wpclsMakeAwake
#define M_WPDataFile_wpclsNew M_WPObject_wpclsNew
#define M_WPDataFile_wpclsQueryDetails M_WPObject_wpclsQueryDetails
#define M_WPDataFile_wpclsQueryDetailsInfo M_WPObject_wpclsQueryDetailsInfo
#define M_WPDataFile_wpclsQueryExtendedCriteria M_WPObject_wpclsQueryExtendedCriteria
#define M_WPDataFile_wpclsQueryFolder M_WPObject_wpclsQueryFolder
#define M_WPDataFile_wpclsQueryIcon M_WPObject_wpclsQueryIcon
#define M_WPDataFile_wpclsQuerySearchInfo M_WPObject_wpclsQuerySearchInfo
#define M_WPDataFile_wpclsUnInitData M_WPObject_wpclsUnInitData
#define M_WPDataFile_wpclsFindObjectFirst M_WPObject_wpclsFindObjectFirst
#define M_WPDataFile_wpclsFindObjectNext M_WPObject_wpclsFindObjectNext
#define M_WPDataFile_wpclsFindObjectEnd M_WPObject_wpclsFindObjectEnd
#define M_WPDataFile_wpclsSetError M_WPObject_wpclsSetError
#define M_WPDataFile_wpclsQueryError M_WPObject_wpclsQueryError
#define M_WPDataFile_wpclsQuerySettingsPageSize M_WPObject_wpclsQuerySettingsPageSize
#define M_WPDataFile_wpclsQueryObject M_WPObject_wpclsQueryObject
#define M_WPDataFile_wpclsQueryButtonAppearance M_WPObject_wpclsQueryButtonAppearance
#define M_WPDataFile_wpclsDecUsage M_WPObject_wpclsDecUsage
#define M_WPDataFile_wpclsIncUsage M_WPObject_wpclsIncUsage
#define M_WPDataFile_wpclsInsertMultipleObjects M_WPObject_wpclsInsertMultipleObjects
#define M_WPDataFile_wpclsFindOneObject M_WPObject_wpclsFindOneObject
#define M_WPDataFile_wpclsSetSettingsPageSize M_WPObject_wpclsSetSettingsPageSize
#define M_WPDataFile_wpclsSetIconData M_WPObject_wpclsSetIconData
#define M_WPDataFile_wpclsSetIcon M_WPObject_wpclsSetIcon
#define M_WPDataFile_wpclsObjectFromHandle M_WPObject_wpclsObjectFromHandle
#define M_WPDataFile_wpclsRemoveObjects M_WPObject_wpclsRemoveObjects
#define M_WPDataFile__get_somDataAlignment SOMClass__get_somDataAlignment
#define M_WPDataFile__get_somInstanceDataOffsets SOMClass__get_somInstanceDataOffsets
#define M_WPDataFile__get_somDirectInitClasses SOMClass__get_somDirectInitClasses
#define M_WPDataFile__set_somDirectInitClasses SOMClass__set_somDirectInitClasses
#define M_WPDataFile_somNew SOMClass_somNew
#define M_WPDataFile_somNewNoInit SOMClass_somNewNoInit
#define M_WPDataFile_somRenew SOMClass_somRenew
#define M_WPDataFile_somRenewNoInit SOMClass_somRenewNoInit
#define M_WPDataFile_somRenewNoZero SOMClass_somRenewNoZero
#define M_WPDataFile_somRenewNoInitNoZero SOMClass_somRenewNoInitNoZero
#define M_WPDataFile_somAllocate SOMClass_somAllocate
#define M_WPDataFile_somDeallocate SOMClass_somDeallocate
#define M_WPDataFile_somGetInstanceInitMask SOMClass_somGetInstanceInitMask
#define M_WPDataFile_somGetInstanceDestructionMask SOMClass_somGetInstanceDestructionMask
#define M_WPDataFile_somGetInstanceAssignmentMask SOMClass_somGetInstanceAssignmentMask
#define M_WPDataFile_somInitClass SOMClass_somInitClass
#define M_WPDataFile_somInitMIClass SOMClass_somInitMIClass
#define M_WPDataFile_somAddStaticMethod SOMClass_somAddStaticMethod
#define M_WPDataFile_somAddDynamicMethod SOMClass_somAddDynamicMethod
#define M_WPDataFile_somOverrideSMethod SOMClass_somOverrideSMethod
#define M_WPDataFile_somClassReady SOMClass_somClassReady
#define M_WPDataFile_somGetApplyStub SOMClass_somGetApplyStub
#define M_WPDataFile_somGetClassData SOMClass_somGetClassData
#define M_WPDataFile_somSetClassData SOMClass_somSetClassData
#define M_WPDataFile_somGetClassMtab SOMClass_somGetClassMtab
#define M_WPDataFile_somGetInstanceOffset SOMClass_somGetInstanceOffset
#define M_WPDataFile_somGetInstancePartSize SOMClass_somGetInstancePartSize
#define M_WPDataFile_somGetInstanceSize SOMClass_somGetInstanceSize
#define M_WPDataFile_somGetInstanceToken SOMClass_somGetInstanceToken
#define M_WPDataFile_somGetMemberToken SOMClass_somGetMemberToken
#define M_WPDataFile_somGetMethodData SOMClass_somGetMethodData
#define M_WPDataFile_somGetRdStub SOMClass_somGetRdStub
#define M_WPDataFile_somGetMethodDescriptor SOMClass_somGetMethodDescriptor
#define M_WPDataFile_somGetMethodIndex SOMClass_somGetMethodIndex
#define M_WPDataFile_somGetMethodToken SOMClass_somGetMethodToken
#define M_WPDataFile_somGetName SOMClass_somGetName
#define M_WPDataFile_somGetNthMethodData SOMClass_somGetNthMethodData
#define M_WPDataFile_somGetNthMethodInfo SOMClass_somGetNthMethodInfo
#define M_WPDataFile_somGetNumMethods SOMClass_somGetNumMethods
#define M_WPDataFile_somGetNumStaticMethods SOMClass_somGetNumStaticMethods
#define M_WPDataFile_somGetParent SOMClass_somGetParent
#define M_WPDataFile_somGetParents SOMClass_somGetParents
#define M_WPDataFile_somGetPClsMtab SOMClass_somGetPClsMtab
#define M_WPDataFile_somGetPClsMtabs SOMClass_somGetPClsMtabs
#define M_WPDataFile_somGetVersionNumbers SOMClass_somGetVersionNumbers
#define M_WPDataFile_somSetMethodDescriptor SOMClass_somSetMethodDescriptor
#define M_WPDataFile_somFindMethod SOMClass_somFindMethod
#define M_WPDataFile_somFindMethodOk SOMClass_somFindMethodOk
#define M_WPDataFile_somFindSMethod SOMClass_somFindSMethod
#define M_WPDataFile_somFindSMethodOk SOMClass_somFindSMethodOk
#define M_WPDataFile_somLookupMethod SOMClass_somLookupMethod
#define M_WPDataFile_somCheckVersion SOMClass_somCheckVersion
#define M_WPDataFile_somDescendedFrom SOMClass_somDescendedFrom
#define M_WPDataFile_somSupportsMethod SOMClass_somSupportsMethod
#define M_WPDataFile_somDefinedMethod SOMClass_somDefinedMethod
#define M_WPDataFile_somOverrideMtab SOMClass_somOverrideMtab
#define M_WPDataFile_somDefaultInit SOMObject_somDefaultInit
#define M_WPDataFile_somDestruct SOMObject_somDestruct
#define M_WPDataFile_somDefaultCopyInit SOMObject_somDefaultCopyInit
#define M_WPDataFile_somDefaultAssign SOMObject_somDefaultAssign
#define M_WPDataFile_somDefaultConstCopyInit SOMObject_somDefaultConstCopyInit
#define M_WPDataFile_somDefaultVCopyInit SOMObject_somDefaultVCopyInit
#define M_WPDataFile_somDefaultConstVCopyInit SOMObject_somDefaultConstVCopyInit
#define M_WPDataFile_somDefaultConstAssign SOMObject_somDefaultConstAssign
#define M_WPDataFile_somDefaultVAssign SOMObject_somDefaultVAssign
#define M_WPDataFile_somDefaultConstVAssign SOMObject_somDefaultConstVAssign
#define M_WPDataFile_somInit SOMObject_somInit
#define M_WPDataFile_somFree SOMObject_somFree
#define M_WPDataFile_somUninit SOMObject_somUninit
#define M_WPDataFile_somGetClass SOMObject_somGetClass
#define M_WPDataFile_somGetClassName SOMObject_somGetClassName
#define M_WPDataFile_somGetSize SOMObject_somGetSize
#define M_WPDataFile_somIsA SOMObject_somIsA
#define M_WPDataFile_somIsInstanceOf SOMObject_somIsInstanceOf
#define M_WPDataFile_somRespondsTo SOMObject_somRespondsTo
#define M_WPDataFile_somDispatch SOMObject_somDispatch
#define M_WPDataFile_somClassDispatch SOMObject_somClassDispatch
#define M_WPDataFile_somCastObj SOMObject_somCastObj
#define M_WPDataFile_somResetObj SOMObject_somResetObj
#define M_WPDataFile_somPrintSelf SOMObject_somPrintSelf
#define M_WPDataFile_somDumpSelf SOMObject_somDumpSelf
#define M_WPDataFile_somDumpSelfInt SOMObject_somDumpSelfInt
#endif /* SOM_DONT_USE_INHERITED_MACROS */

#endif       /* SOM_M_WPDataFile_h */
