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

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


#ifndef SOM_WPProgramFile_h
#define SOM_WPProgramFile_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 WPProgramFile
#define WPProgramFile SOMObject
#endif
#include <wpdataf.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 */

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

/*
 * Passthru lines: File: "C.h", "after"
 */
#define DebugBox(title, text) WinMessageBox(  \            
                                 HWND_DESKTOP, \            
                                 HWND_DESKTOP, \            
                                 (PSZ) text,   \            
                                 (PSZ) title,  \            
                                 0, MB_OK | MB_INFORMATION) 

#define WPProgramFile_MajorVersion 1
#define WPProgramFile_MinorVersion 2

/*
 * External name shortening if required
 */
#ifdef SOM_USE_SHORT_EXTERNAL_NAMES
#define WPProgramFileNewClass wppgmc
#pragma linkage(wppgmc, system)
#define WPProgramFileClassData wppgmd
#define WPProgramFileCClassData wppgmx
#endif /* SOM_USE_SHORT_EXTERNAL_NAMES */

/*
 * Include the meta class file
 */
#include <wppgmf.h>
/*--------------Migration------------*/
#define WPProgramFile_classObj WPProgramFileClassData.classObject
#define _WPProgramFile WPProgramFile_classObj

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

/*
 * Declare the class data structure
 */
SOMEXTERN struct WPProgramFileClassDataStructure {
	SOMClass *classObject;
	somMToken wpAddProgramAssociationPage;
	somMToken wpAddProgramPage;
	somMToken wpAddProgramSessionPage;
	somMToken wpSetProgDetails;
	somMToken wpQueryProgDetails;
	somMToken wpSetProgIcon;
	somMToken wpQueryAssociationFilter;
	somMToken wpQueryAssociationType;
	somMToken wpSetAssociationFilter;
	somMToken wpSetAssociationType;
	somMToken wpQueryProgramAssociations;
	somMToken wpSetProgramAssociations;
	somMToken wpQueryWarnBeforeStart;
	somMToken wpSetWarnBeforeStart;
	somMToken pgflRepParent_wpOpen;
	somMToken RepParent_wpDrop;
	somMToken wpSetDefaultCpSettings;
	somMToken wpSetCpValues;
	somMToken wpQueryCpValues;
	somMToken wpSaveCpState;
	somMToken wpRestoreCpState;
	somMToken wpInitCpData;
	somMToken wpUndoCpSettings;
} SOMDLINK WPProgramFileClassData;

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

/*
 * New and Renew macros for WPProgramFile
 */
#define WPProgramFileNew() \
   ( _WPProgramFile ? \
	_somNew(_WPProgramFile) \
	: ( WPProgramFileNewClass(\
		WPProgramFile_MajorVersion, \
		WPProgramFile_MinorVersion),\
	   _somNew(_WPProgramFile)))
#define WPProgramFileRenew(buf) \
   ( _WPProgramFile ? \
	_somRenew(_WPProgramFile, buf) \
	: ( WPProgramFileNewClass(\
		WPProgramFile_MajorVersion, \
		WPProgramFile_MinorVersion),\
	   _somRenew(_WPProgramFile, buf)))

/*
 * Override method: wpSetAssociatedFileIcon
 */
#define WPProgramFile_wpSetAssociatedFileIcon(somSelf) \
	WPDataFile_wpSetAssociatedFileIcon(somSelf)

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

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

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

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

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

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

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

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

/*
 * Override method: wpMoveObject
 */
#define WPProgramFile_wpMoveObject(somSelf,Folder) \
	WPObject_wpMoveObject(somSelf,Folder)

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

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

/*
 * Override method: wpCopyObject
 */
#define WPProgramFile_wpCopyObject(somSelf,Folder,fLock) \
	WPObject_wpCopyObject(somSelf,Folder,fLock)

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

/*
 * Override method: wpCreateAnother
 */
#define WPProgramFile_wpCreateAnother(somSelf,pszTitle,pszSetupEnv,Folder) \
	WPObject_wpCreateAnother(somSelf,pszTitle,pszSetupEnv,Folder)

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

/*
 * Override method: wpQueryNameClashOptions
 */
#define WPProgramFile_wpQueryNameClashOptions(somSelf,menuID) \
	WPObject_wpQueryNameClashOptions(somSelf,menuID)

/*
 * Override method: wpFilterMenu
 */
#define WPProgramFile_wpFilterMenu(somSelf,pFlags,hwndCnr,fMultiSelect,ulMenuType,ulView,ulReserved) \
	WPObject_wpFilterMenu(somSelf,pFlags,hwndCnr,fMultiSelect,ulMenuType,ulView,ulReserved)

/*
 * Override method: wpModifyMenu
 */
#define WPProgramFile_wpModifyMenu(somSelf,hwndMenu,hwndCnr,iPosition,ulMenuType,ulView,ulReserved) \
	WPObject_wpModifyMenu(somSelf,hwndMenu,hwndCnr,iPosition,ulMenuType,ulView,ulReserved)

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

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

/*
 * Override method: wpCnrInsertObject
 */
#define WPProgramFile_wpCnrInsertObject(somSelf,hwndCnr,pptlIcon,preccParent,pRecInsert) \
	WPObject_wpCnrInsertObject(somSelf,hwndCnr,pptlIcon,preccParent,pRecInsert)

/*
 * New Name Lookup Method: wpAddProgramAssociationPage
 */
typedef ULONG   SOMLINK somTP_WPProgramFile_wpAddProgramAssociationPage(WPProgramFile *somSelf, 
		HWND hwndNotebook);
#pragma linkage(somTP_WPProgramFile_wpAddProgramAssociationPage, system)
typedef somTP_WPProgramFile_wpAddProgramAssociationPage *somTD_WPProgramFile_wpAddProgramAssociationPage;
#define somMD_WPProgramFile_wpAddProgramAssociationPage "::WPProgramFile::wpAddProgramAssociationPage"
#define WPProgramFile_wpAddProgramAssociationPage(somSelf,hwndNotebook) \
    (SOM_Resolve(somSelf, WPProgramFile, wpAddProgramAssociationPage) \
	(somSelf,hwndNotebook))

#ifndef lookup_wpAddProgramAssociationPage
static char *somLMN_wpAddProgramAssociationPage = "wpAddProgramAssociationPage";
static somId somLId_wpAddProgramAssociationPage = &somLMN_wpAddProgramAssociationPage;
#define lookup_wpAddProgramAssociationPage(somSelf,hwndNotebook) \
    ((( somTD_WPProgramFile_wpAddProgramAssociationPage ) \
	_somLookupMethod(SOM_GetClass(somSelf), somLId_wpAddProgramAssociationPage)) \
	    (somSelf,hwndNotebook))
#define _wpAddProgramAssociationPage lookup_wpAddProgramAssociationPage
#endif     /* lookup_wpAddProgramAssociationPage */

/*
 * New Name Lookup Method: wpQueryProgDetails
 */
typedef BOOL   SOMLINK somTP_WPProgramFile_wpQueryProgDetails(WPProgramFile *somSelf, 
		PPROGDETAILS pProgDetails, 
		PULONG pulSize);
#pragma linkage(somTP_WPProgramFile_wpQueryProgDetails, system)
typedef somTP_WPProgramFile_wpQueryProgDetails *somTD_WPProgramFile_wpQueryProgDetails;
#define somMD_WPProgramFile_wpQueryProgDetails "::WPProgramFile::wpQueryProgDetails"
#define WPProgramFile_wpQueryProgDetails(somSelf,pProgDetails,pulSize) \
    (SOM_Resolve(somSelf, WPProgramFile, wpQueryProgDetails) \
	(somSelf,pProgDetails,pulSize))

#ifndef lookup_wpQueryProgDetails
static char *somLMN_wpQueryProgDetails = "wpQueryProgDetails";
static somId somLId_wpQueryProgDetails = &somLMN_wpQueryProgDetails;
#define lookup_wpQueryProgDetails(somSelf,pProgDetails,pulSize) \
    ((( somTD_WPProgramFile_wpQueryProgDetails ) \
	_somLookupMethod(SOM_GetClass(somSelf), somLId_wpQueryProgDetails)) \
	    (somSelf,pProgDetails,pulSize))
#define _wpQueryProgDetails lookup_wpQueryProgDetails
#endif     /* lookup_wpQueryProgDetails */

/*
 * New Name Lookup Method: wpSetProgDetails
 */
typedef BOOL   SOMLINK somTP_WPProgramFile_wpSetProgDetails(WPProgramFile *somSelf, 
		PPROGDETAILS pProgDetails);
#pragma linkage(somTP_WPProgramFile_wpSetProgDetails, system)
typedef somTP_WPProgramFile_wpSetProgDetails *somTD_WPProgramFile_wpSetProgDetails;
#define somMD_WPProgramFile_wpSetProgDetails "::WPProgramFile::wpSetProgDetails"
#define WPProgramFile_wpSetProgDetails(somSelf,pProgDetails) \
    (SOM_Resolve(somSelf, WPProgramFile, wpSetProgDetails) \
	(somSelf,pProgDetails))

#ifndef lookup_wpSetProgDetails
static char *somLMN_wpSetProgDetails = "wpSetProgDetails";
static somId somLId_wpSetProgDetails = &somLMN_wpSetProgDetails;
#define lookup_wpSetProgDetails(somSelf,pProgDetails) \
    ((( somTD_WPProgramFile_wpSetProgDetails ) \
	_somLookupMethod(SOM_GetClass(somSelf), somLId_wpSetProgDetails)) \
	    (somSelf,pProgDetails))
#define _wpSetProgDetails lookup_wpSetProgDetails
#endif     /* lookup_wpSetProgDetails */

/*
 * New Name Lookup Method: wpAddProgramPage
 */
typedef ULONG   SOMLINK somTP_WPProgramFile_wpAddProgramPage(WPProgramFile *somSelf, 
		HWND hwndNotebook);
#pragma linkage(somTP_WPProgramFile_wpAddProgramPage, system)
typedef somTP_WPProgramFile_wpAddProgramPage *somTD_WPProgramFile_wpAddProgramPage;
#define somMD_WPProgramFile_wpAddProgramPage "::WPProgramFile::wpAddProgramPage"
#define WPProgramFile_wpAddProgramPage(somSelf,hwndNotebook) \
    (SOM_Resolve(somSelf, WPProgramFile, wpAddProgramPage) \
	(somSelf,hwndNotebook))

#ifndef lookup_wpAddProgramPage
static char *somLMN_wpAddProgramPage = "wpAddProgramPage";
static somId somLId_wpAddProgramPage = &somLMN_wpAddProgramPage;
#define lookup_wpAddProgramPage(somSelf,hwndNotebook) \
    ((( somTD_WPProgramFile_wpAddProgramPage ) \
	_somLookupMethod(SOM_GetClass(somSelf), somLId_wpAddProgramPage)) \
	    (somSelf,hwndNotebook))
#define _wpAddProgramPage lookup_wpAddProgramPage
#endif     /* lookup_wpAddProgramPage */

/*
 * New Name Lookup Method: wpAddProgramSessionPage
 */
typedef ULONG   SOMLINK somTP_WPProgramFile_wpAddProgramSessionPage(WPProgramFile *somSelf, 
		HWND hwndNotebook);
#pragma linkage(somTP_WPProgramFile_wpAddProgramSessionPage, system)
typedef somTP_WPProgramFile_wpAddProgramSessionPage *somTD_WPProgramFile_wpAddProgramSessionPage;
#define somMD_WPProgramFile_wpAddProgramSessionPage "::WPProgramFile::wpAddProgramSessionPage"
#define WPProgramFile_wpAddProgramSessionPage(somSelf,hwndNotebook) \
    (SOM_Resolve(somSelf, WPProgramFile, wpAddProgramSessionPage) \
	(somSelf,hwndNotebook))

#ifndef lookup_wpAddProgramSessionPage
static char *somLMN_wpAddProgramSessionPage = "wpAddProgramSessionPage";
static somId somLId_wpAddProgramSessionPage = &somLMN_wpAddProgramSessionPage;
#define lookup_wpAddProgramSessionPage(somSelf,hwndNotebook) \
    ((( somTD_WPProgramFile_wpAddProgramSessionPage ) \
	_somLookupMethod(SOM_GetClass(somSelf), somLId_wpAddProgramSessionPage)) \
	    (somSelf,hwndNotebook))
#define _wpAddProgramSessionPage lookup_wpAddProgramSessionPage
#endif     /* lookup_wpAddProgramSessionPage */

/*
 * New Name Lookup Method: wpQueryAssociationFilter
 */
typedef PSZ   SOMLINK somTP_WPProgramFile_wpQueryAssociationFilter(WPProgramFile *somSelf);
#pragma linkage(somTP_WPProgramFile_wpQueryAssociationFilter, system)
typedef somTP_WPProgramFile_wpQueryAssociationFilter *somTD_WPProgramFile_wpQueryAssociationFilter;
#define somMD_WPProgramFile_wpQueryAssociationFilter "::WPProgramFile::wpQueryAssociationFilter"
#define WPProgramFile_wpQueryAssociationFilter(somSelf) \
    (SOM_Resolve(somSelf, WPProgramFile, wpQueryAssociationFilter) \
	(somSelf))

#ifndef lookup_wpQueryAssociationFilter
static char *somLMN_wpQueryAssociationFilter = "wpQueryAssociationFilter";
static somId somLId_wpQueryAssociationFilter = &somLMN_wpQueryAssociationFilter;
#define lookup_wpQueryAssociationFilter(somSelf) \
    ((( somTD_WPProgramFile_wpQueryAssociationFilter ) \
	_somLookupMethod(SOM_GetClass(somSelf), somLId_wpQueryAssociationFilter)) \
	    (somSelf))
#define _wpQueryAssociationFilter lookup_wpQueryAssociationFilter
#endif     /* lookup_wpQueryAssociationFilter */

/*
 * New Name Lookup Method: wpQueryAssociationType
 */
typedef PSZ   SOMLINK somTP_WPProgramFile_wpQueryAssociationType(WPProgramFile *somSelf);
#pragma linkage(somTP_WPProgramFile_wpQueryAssociationType, system)
typedef somTP_WPProgramFile_wpQueryAssociationType *somTD_WPProgramFile_wpQueryAssociationType;
#define somMD_WPProgramFile_wpQueryAssociationType "::WPProgramFile::wpQueryAssociationType"
#define WPProgramFile_wpQueryAssociationType(somSelf) \
    (SOM_Resolve(somSelf, WPProgramFile, wpQueryAssociationType) \
	(somSelf))

#ifndef lookup_wpQueryAssociationType
static char *somLMN_wpQueryAssociationType = "wpQueryAssociationType";
static somId somLId_wpQueryAssociationType = &somLMN_wpQueryAssociationType;
#define lookup_wpQueryAssociationType(somSelf) \
    ((( somTD_WPProgramFile_wpQueryAssociationType ) \
	_somLookupMethod(SOM_GetClass(somSelf), somLId_wpQueryAssociationType)) \
	    (somSelf))
#define _wpQueryAssociationType lookup_wpQueryAssociationType
#endif     /* lookup_wpQueryAssociationType */

/*
 * New Name Lookup Method: wpSetAssociationFilter
 */
typedef BOOL   SOMLINK somTP_WPProgramFile_wpSetAssociationFilter(WPProgramFile *somSelf, 
		PSZ pszFilter);
#pragma linkage(somTP_WPProgramFile_wpSetAssociationFilter, system)
typedef somTP_WPProgramFile_wpSetAssociationFilter *somTD_WPProgramFile_wpSetAssociationFilter;
#define somMD_WPProgramFile_wpSetAssociationFilter "::WPProgramFile::wpSetAssociationFilter"
#define WPProgramFile_wpSetAssociationFilter(somSelf,pszFilter) \
    (SOM_Resolve(somSelf, WPProgramFile, wpSetAssociationFilter) \
	(somSelf,pszFilter))

#ifndef lookup_wpSetAssociationFilter
static char *somLMN_wpSetAssociationFilter = "wpSetAssociationFilter";
static somId somLId_wpSetAssociationFilter = &somLMN_wpSetAssociationFilter;
#define lookup_wpSetAssociationFilter(somSelf,pszFilter) \
    ((( somTD_WPProgramFile_wpSetAssociationFilter ) \
	_somLookupMethod(SOM_GetClass(somSelf), somLId_wpSetAssociationFilter)) \
	    (somSelf,pszFilter))
#define _wpSetAssociationFilter lookup_wpSetAssociationFilter
#endif     /* lookup_wpSetAssociationFilter */

/*
 * New Name Lookup Method: wpSetAssociationType
 */
typedef BOOL   SOMLINK somTP_WPProgramFile_wpSetAssociationType(WPProgramFile *somSelf, 
		PSZ pszType);
#pragma linkage(somTP_WPProgramFile_wpSetAssociationType, system)
typedef somTP_WPProgramFile_wpSetAssociationType *somTD_WPProgramFile_wpSetAssociationType;
#define somMD_WPProgramFile_wpSetAssociationType "::WPProgramFile::wpSetAssociationType"
#define WPProgramFile_wpSetAssociationType(somSelf,pszType) \
    (SOM_Resolve(somSelf, WPProgramFile, wpSetAssociationType) \
	(somSelf,pszType))

#ifndef lookup_wpSetAssociationType
static char *somLMN_wpSetAssociationType = "wpSetAssociationType";
static somId somLId_wpSetAssociationType = &somLMN_wpSetAssociationType;
#define lookup_wpSetAssociationType(somSelf,pszType) \
    ((( somTD_WPProgramFile_wpSetAssociationType ) \
	_somLookupMethod(SOM_GetClass(somSelf), somLId_wpSetAssociationType)) \
	    (somSelf,pszType))
#define _wpSetAssociationType lookup_wpSetAssociationType
#endif     /* lookup_wpSetAssociationType */

/*
 * New Name Lookup Method: wpQueryProgramAssociations
 */
typedef PSZ   SOMLINK somTP_WPProgramFile_wpQueryProgramAssociations(WPProgramFile *somSelf, 
		PBYTE ptr, 
		PSZ pszAssoc, 
		BOOL fFilter);
#pragma linkage(somTP_WPProgramFile_wpQueryProgramAssociations, system)
typedef somTP_WPProgramFile_wpQueryProgramAssociations *somTD_WPProgramFile_wpQueryProgramAssociations;
#define somMD_WPProgramFile_wpQueryProgramAssociations "::WPProgramFile::wpQueryProgramAssociations"
#define WPProgramFile_wpQueryProgramAssociations(somSelf,ptr,pszAssoc,fFilter) \
    (SOM_Resolve(somSelf, WPProgramFile, wpQueryProgramAssociations) \
	(somSelf,ptr,pszAssoc,fFilter))

#ifndef lookup_wpQueryProgramAssociations
static char *somLMN_wpQueryProgramAssociations = "wpQueryProgramAssociations";
static somId somLId_wpQueryProgramAssociations = &somLMN_wpQueryProgramAssociations;
#define lookup_wpQueryProgramAssociations(somSelf,ptr,pszAssoc,fFilter) \
    ((( somTD_WPProgramFile_wpQueryProgramAssociations ) \
	_somLookupMethod(SOM_GetClass(somSelf), somLId_wpQueryProgramAssociations)) \
	    (somSelf,ptr,pszAssoc,fFilter))
#define _wpQueryProgramAssociations lookup_wpQueryProgramAssociations
#endif     /* lookup_wpQueryProgramAssociations */

/*
 * New Name Lookup Method: wpSetProgramAssociations
 */
typedef BOOL   SOMLINK somTP_WPProgramFile_wpSetProgramAssociations(WPProgramFile *somSelf, 
		PSZ pszAssoc, 
		BOOL fFilter);
#pragma linkage(somTP_WPProgramFile_wpSetProgramAssociations, system)
typedef somTP_WPProgramFile_wpSetProgramAssociations *somTD_WPProgramFile_wpSetProgramAssociations;
#define somMD_WPProgramFile_wpSetProgramAssociations "::WPProgramFile::wpSetProgramAssociations"
#define WPProgramFile_wpSetProgramAssociations(somSelf,pszAssoc,fFilter) \
    (SOM_Resolve(somSelf, WPProgramFile, wpSetProgramAssociations) \
	(somSelf,pszAssoc,fFilter))

#ifndef lookup_wpSetProgramAssociations
static char *somLMN_wpSetProgramAssociations = "wpSetProgramAssociations";
static somId somLId_wpSetProgramAssociations = &somLMN_wpSetProgramAssociations;
#define lookup_wpSetProgramAssociations(somSelf,pszAssoc,fFilter) \
    ((( somTD_WPProgramFile_wpSetProgramAssociations ) \
	_somLookupMethod(SOM_GetClass(somSelf), somLId_wpSetProgramAssociations)) \
	    (somSelf,pszAssoc,fFilter))
#define _wpSetProgramAssociations lookup_wpSetProgramAssociations
#endif     /* lookup_wpSetProgramAssociations */

/*
 * New Name Lookup Method: wpQueryWarnBeforeStart
 */
typedef BOOL   SOMLINK somTP_WPProgramFile_wpQueryWarnBeforeStart(WPProgramFile *somSelf);
#pragma linkage(somTP_WPProgramFile_wpQueryWarnBeforeStart, system)
typedef somTP_WPProgramFile_wpQueryWarnBeforeStart *somTD_WPProgramFile_wpQueryWarnBeforeStart;
#define somMD_WPProgramFile_wpQueryWarnBeforeStart "::WPProgramFile::wpQueryWarnBeforeStart"
#define WPProgramFile_wpQueryWarnBeforeStart(somSelf) \
    (SOM_Resolve(somSelf, WPProgramFile, wpQueryWarnBeforeStart) \
	(somSelf))

#ifndef lookup_wpQueryWarnBeforeStart
static char *somLMN_wpQueryWarnBeforeStart = "wpQueryWarnBeforeStart";
static somId somLId_wpQueryWarnBeforeStart = &somLMN_wpQueryWarnBeforeStart;
#define lookup_wpQueryWarnBeforeStart(somSelf) \
    ((( somTD_WPProgramFile_wpQueryWarnBeforeStart ) \
	_somLookupMethod(SOM_GetClass(somSelf), somLId_wpQueryWarnBeforeStart)) \
	    (somSelf))
#define _wpQueryWarnBeforeStart lookup_wpQueryWarnBeforeStart
#endif     /* lookup_wpQueryWarnBeforeStart */

/*
 * New Name Lookup Method: wpSetWarnBeforeStart
 */
typedef BOOL   SOMLINK somTP_WPProgramFile_wpSetWarnBeforeStart(WPProgramFile *somSelf, 
		BOOL fWarnBeforeStart);
#pragma linkage(somTP_WPProgramFile_wpSetWarnBeforeStart, system)
typedef somTP_WPProgramFile_wpSetWarnBeforeStart *somTD_WPProgramFile_wpSetWarnBeforeStart;
#define somMD_WPProgramFile_wpSetWarnBeforeStart "::WPProgramFile::wpSetWarnBeforeStart"
#define WPProgramFile_wpSetWarnBeforeStart(somSelf,fWarnBeforeStart) \
    (SOM_Resolve(somSelf, WPProgramFile, wpSetWarnBeforeStart) \
	(somSelf,fWarnBeforeStart))

#ifndef lookup_wpSetWarnBeforeStart
static char *somLMN_wpSetWarnBeforeStart = "wpSetWarnBeforeStart";
static somId somLId_wpSetWarnBeforeStart = &somLMN_wpSetWarnBeforeStart;
#define lookup_wpSetWarnBeforeStart(somSelf,fWarnBeforeStart) \
    ((( somTD_WPProgramFile_wpSetWarnBeforeStart ) \
	_somLookupMethod(SOM_GetClass(somSelf), somLId_wpSetWarnBeforeStart)) \
	    (somSelf,fWarnBeforeStart))
#define _wpSetWarnBeforeStart lookup_wpSetWarnBeforeStart
#endif     /* lookup_wpSetWarnBeforeStart */

/*
 * New Name Lookup Method: wpSetProgIcon
 */
typedef BOOL   SOMLINK somTP_WPProgramFile_wpSetProgIcon(WPProgramFile *somSelf, 
		PFEA2LIST pfeal);
#pragma linkage(somTP_WPProgramFile_wpSetProgIcon, system)
typedef somTP_WPProgramFile_wpSetProgIcon *somTD_WPProgramFile_wpSetProgIcon;
#define somMD_WPProgramFile_wpSetProgIcon "::WPProgramFile::wpSetProgIcon"
#define WPProgramFile_wpSetProgIcon(somSelf,pfeal) \
    (SOM_Resolve(somSelf, WPProgramFile, wpSetProgIcon) \
	(somSelf,pfeal))

#ifndef lookup_wpSetProgIcon
static char *somLMN_wpSetProgIcon = "wpSetProgIcon";
static somId somLId_wpSetProgIcon = &somLMN_wpSetProgIcon;
#define lookup_wpSetProgIcon(somSelf,pfeal) \
    ((( somTD_WPProgramFile_wpSetProgIcon ) \
	_somLookupMethod(SOM_GetClass(somSelf), somLId_wpSetProgIcon)) \
	    (somSelf,pfeal))
#define _wpSetProgIcon lookup_wpSetProgIcon
#endif     /* lookup_wpSetProgIcon */

/*
 * New Method: wpSetDefaultCpSettings
 */
typedef void   SOMLINK somTP_WPProgramFile_wpSetDefaultCpSettings(WPProgramFile *somSelf);
#pragma linkage(somTP_WPProgramFile_wpSetDefaultCpSettings, system)
typedef somTP_WPProgramFile_wpSetDefaultCpSettings *somTD_WPProgramFile_wpSetDefaultCpSettings;
#define somMD_WPProgramFile_wpSetDefaultCpSettings "::WPProgramFile::wpSetDefaultCpSettings"
#define WPProgramFile_wpSetDefaultCpSettings(somSelf) \
    (SOM_Resolve(somSelf, WPProgramFile, wpSetDefaultCpSettings) \
	(somSelf))
#ifndef SOMGD_wpSetDefaultCpSettings
    #if (defined(_wpSetDefaultCpSettings) || defined(__wpSetDefaultCpSettings))
        #undef _wpSetDefaultCpSettings
        #undef __wpSetDefaultCpSettings
        #define SOMGD_wpSetDefaultCpSettings 1
    #else
        #define _wpSetDefaultCpSettings WPProgramFile_wpSetDefaultCpSettings
    #endif /* _wpSetDefaultCpSettings */
#endif /* SOMGD_wpSetDefaultCpSettings */

/*
 * New Method: wpSetCpValues
 */
typedef void   SOMLINK somTP_WPProgramFile_wpSetCpValues(WPProgramFile *somSelf, 
		ULONG ulSetting, 
		void* ulValue);
#pragma linkage(somTP_WPProgramFile_wpSetCpValues, system)
typedef somTP_WPProgramFile_wpSetCpValues *somTD_WPProgramFile_wpSetCpValues;
#define somMD_WPProgramFile_wpSetCpValues "::WPProgramFile::wpSetCpValues"
#define WPProgramFile_wpSetCpValues(somSelf,ulSetting,ulValue) \
    (SOM_Resolve(somSelf, WPProgramFile, wpSetCpValues) \
	(somSelf,ulSetting,ulValue))
#ifndef SOMGD_wpSetCpValues
    #if (defined(_wpSetCpValues) || defined(__wpSetCpValues))
        #undef _wpSetCpValues
        #undef __wpSetCpValues
        #define SOMGD_wpSetCpValues 1
    #else
        #define _wpSetCpValues WPProgramFile_wpSetCpValues
    #endif /* _wpSetCpValues */
#endif /* SOMGD_wpSetCpValues */

/*
 * New Method: wpQueryCpValues
 */
typedef void   SOMLINK somTP_WPProgramFile_wpQueryCpValues(WPProgramFile *somSelf, 
		ULONG ulSetting, 
		void* ulValue);
#pragma linkage(somTP_WPProgramFile_wpQueryCpValues, system)
typedef somTP_WPProgramFile_wpQueryCpValues *somTD_WPProgramFile_wpQueryCpValues;
#define somMD_WPProgramFile_wpQueryCpValues "::WPProgramFile::wpQueryCpValues"
#define WPProgramFile_wpQueryCpValues(somSelf,ulSetting,ulValue) \
    (SOM_Resolve(somSelf, WPProgramFile, wpQueryCpValues) \
	(somSelf,ulSetting,ulValue))
#ifndef SOMGD_wpQueryCpValues
    #if (defined(_wpQueryCpValues) || defined(__wpQueryCpValues))
        #undef _wpQueryCpValues
        #undef __wpQueryCpValues
        #define SOMGD_wpQueryCpValues 1
    #else
        #define _wpQueryCpValues WPProgramFile_wpQueryCpValues
    #endif /* _wpQueryCpValues */
#endif /* SOMGD_wpQueryCpValues */

/*
 * New Method: wpSaveCpState
 */
typedef BOOL   SOMLINK somTP_WPProgramFile_wpSaveCpState(WPProgramFile *somSelf);
#pragma linkage(somTP_WPProgramFile_wpSaveCpState, system)
typedef somTP_WPProgramFile_wpSaveCpState *somTD_WPProgramFile_wpSaveCpState;
#define somMD_WPProgramFile_wpSaveCpState "::WPProgramFile::wpSaveCpState"
#define WPProgramFile_wpSaveCpState(somSelf) \
    (SOM_Resolve(somSelf, WPProgramFile, wpSaveCpState) \
	(somSelf))
#ifndef SOMGD_wpSaveCpState
    #if (defined(_wpSaveCpState) || defined(__wpSaveCpState))
        #undef _wpSaveCpState
        #undef __wpSaveCpState
        #define SOMGD_wpSaveCpState 1
    #else
        #define _wpSaveCpState WPProgramFile_wpSaveCpState
    #endif /* _wpSaveCpState */
#endif /* SOMGD_wpSaveCpState */

/*
 * New Method: wpRestoreCpState
 */
typedef BOOL   SOMLINK somTP_WPProgramFile_wpRestoreCpState(WPProgramFile *somSelf);
#pragma linkage(somTP_WPProgramFile_wpRestoreCpState, system)
typedef somTP_WPProgramFile_wpRestoreCpState *somTD_WPProgramFile_wpRestoreCpState;
#define somMD_WPProgramFile_wpRestoreCpState "::WPProgramFile::wpRestoreCpState"
#define WPProgramFile_wpRestoreCpState(somSelf) \
    (SOM_Resolve(somSelf, WPProgramFile, wpRestoreCpState) \
	(somSelf))
#ifndef SOMGD_wpRestoreCpState
    #if (defined(_wpRestoreCpState) || defined(__wpRestoreCpState))
        #undef _wpRestoreCpState
        #undef __wpRestoreCpState
        #define SOMGD_wpRestoreCpState 1
    #else
        #define _wpRestoreCpState WPProgramFile_wpRestoreCpState
    #endif /* _wpRestoreCpState */
#endif /* SOMGD_wpRestoreCpState */

/*
 * New Method: wpUndoCpSettings
 */
typedef void   SOMLINK somTP_WPProgramFile_wpUndoCpSettings(WPProgramFile *somSelf);
#pragma linkage(somTP_WPProgramFile_wpUndoCpSettings, system)
typedef somTP_WPProgramFile_wpUndoCpSettings *somTD_WPProgramFile_wpUndoCpSettings;
#define somMD_WPProgramFile_wpUndoCpSettings "::WPProgramFile::wpUndoCpSettings"
#define WPProgramFile_wpUndoCpSettings(somSelf) \
    (SOM_Resolve(somSelf, WPProgramFile, wpUndoCpSettings) \
	(somSelf))
#ifndef SOMGD_wpUndoCpSettings
    #if (defined(_wpUndoCpSettings) || defined(__wpUndoCpSettings))
        #undef _wpUndoCpSettings
        #undef __wpUndoCpSettings
        #define SOMGD_wpUndoCpSettings 1
    #else
        #define _wpUndoCpSettings WPProgramFile_wpUndoCpSettings
    #endif /* _wpUndoCpSettings */
#endif /* SOMGD_wpUndoCpSettings */

/*
 * New Method: wpInitCpData
 */
typedef void   SOMLINK somTP_WPProgramFile_wpInitCpData(WPProgramFile *somSelf);
#pragma linkage(somTP_WPProgramFile_wpInitCpData, system)
typedef somTP_WPProgramFile_wpInitCpData *somTD_WPProgramFile_wpInitCpData;
#define somMD_WPProgramFile_wpInitCpData "::WPProgramFile::wpInitCpData"
#define WPProgramFile_wpInitCpData(somSelf) \
    (SOM_Resolve(somSelf, WPProgramFile, wpInitCpData) \
	(somSelf))
#ifndef SOMGD_wpInitCpData
    #if (defined(_wpInitCpData) || defined(__wpInitCpData))
        #undef _wpInitCpData
        #undef __wpInitCpData
        #define SOMGD_wpInitCpData 1
    #else
        #define _wpInitCpData WPProgramFile_wpInitCpData
    #endif /* _wpInitCpData */
#endif /* SOMGD_wpInitCpData */
#ifndef SOM_DONT_USE_INHERITED_MACROS
#define WPProgramFile_wpAddBecomePage WPDataFile_wpAddBecomePage
#define WPProgramFile_wpAddFileTypePage WPDataFile_wpAddFileTypePage
#define WPProgramFile_wpPrintMetaFile WPDataFile_wpPrintMetaFile
#define WPProgramFile_wpPrintPifFile WPDataFile_wpPrintPifFile
#define WPProgramFile_wpPrintPrinterSpecificFile WPDataFile_wpPrintPrinterSpecificFile
#define WPProgramFile_wpPrintUnknownFile WPDataFile_wpPrintUnknownFile
#define WPProgramFile_wpQueryAssociatedProgram WPDataFile_wpQueryAssociatedProgram
#define WPProgramFile_wpQueryAssociatedFileIcon WPDataFile_wpQueryAssociatedFileIcon
#define WPProgramFile_wpSetContentsFromPointer WPDataFile_wpSetContentsFromPointer
#define WPProgramFile_wpQueryPointerFromContents WPDataFile_wpQueryPointerFromContents
#define WPProgramFile_wpSetContentsFromHandle WPDataFile_wpSetContentsFromHandle
#define WPProgramFile_wpQueryHandleFromContents WPDataFile_wpQueryHandleFromContents
#define WPProgramFile_wpRenderFromClipboard WPDataFile_wpRenderFromClipboard
#define WPProgramFile_SetUpdateIndicator WPDataFile_SetUpdateIndicator
#define WPProgramFile_QueryUpdateIndicator WPDataFile_QueryUpdateIndicator
#define WPProgramFile_SetNeedSave WPDataFile_SetNeedSave
#define WPProgramFile_QueryNeedSave WPDataFile_QueryNeedSave
#define WPProgramFile_wpSetDefaultBidiSettings WPDataFile_wpSetDefaultBidiSettings
#define WPProgramFile_wpQueryDefaultBidiSettings WPDataFile_wpQueryDefaultBidiSettings
#define WPProgramFile_wpSetBidiValues WPDataFile_wpSetBidiValues
#define WPProgramFile_wpQueryBidiValues WPDataFile_wpQueryBidiValues
#define WPProgramFile_wpInsertBidiPage WPDataFile_wpInsertBidiPage
#define WPProgramFile_wpSaveBidiState WPDataFile_wpSaveBidiState
#define WPProgramFile_wpRestoreBidiState WPDataFile_wpRestoreBidiState
#define WPProgramFile_wpInitBidiData WPDataFile_wpInitBidiData
#define WPProgramFile_wpBidiSetup WPDataFile_wpBidiSetup
#define WPProgramFile_wpSettingsNotebook WPDataFile_wpSettingsNotebook
#define WPProgramFile_wpSetDefaultView WPObject_wpSetDefaultView
#define WPProgramFile_wpSetRealName WPFileSystem_wpSetRealName
#define WPProgramFile_wpSetType WPFileSystem_wpSetType
#define WPProgramFile_wpAddObjectWindowPage WPObject_wpAddObjectWindowPage
#define WPProgramFile_wpPrintObject WPObject_wpPrintObject
#define WPProgramFile_wpQueryDefaultHelp WPObject_wpQueryDefaultHelp
#define WPProgramFile_wpFormatDragItem WPObject_wpFormatDragItem
#define WPProgramFile_wpRender WPObject_wpRender
#define WPProgramFile_wpConfirmKeepAssoc WPFileSystem_wpConfirmKeepAssoc
#define WPProgramFile_wpQueryType WPFileSystem_wpQueryType
#define WPProgramFile_wpSetAttr WPFileSystem_wpSetAttr
#define WPProgramFile_wpQueryAttr WPFileSystem_wpQueryAttr
#define WPProgramFile_wpAddFile1Page WPFileSystem_wpAddFile1Page
#define WPProgramFile_wpAddFile2Page WPFileSystem_wpAddFile2Page
#define WPProgramFile_wpAddFile3Page WPFileSystem_wpAddFile3Page
#define WPProgramFile_wpAddFileMenuPage WPFileSystem_wpAddFileMenuPage
#define WPProgramFile_wpQueryCreation WPFileSystem_wpQueryCreation
#define WPProgramFile_wpQueryLastAccess WPFileSystem_wpQueryLastAccess
#define WPProgramFile_wpQueryLastWrite WPFileSystem_wpQueryLastWrite
#define WPProgramFile_wpQueryFileSize WPFileSystem_wpQueryFileSize
#define WPProgramFile_wpQueryEASize WPFileSystem_wpQueryEASize
#define WPProgramFile_wpSetDateInfo WPFileSystem_wpSetDateInfo
#define WPProgramFile_wpSetFileSizeInfo WPFileSystem_wpSetFileSizeInfo
#define WPProgramFile_wpRefresh WPFileSystem_wpRefresh
#define WPProgramFile_wpQueryRefreshFlags WPFileSystem_wpQueryRefreshFlags
#define WPProgramFile_wpSetRefreshFlags WPFileSystem_wpSetRefreshFlags
#define WPProgramFile_wpPrintPlainTextFile WPFileSystem_wpPrintPlainTextFile
#define WPProgramFile_wpSetTitleAndRenameFile WPFileSystem_wpSetTitleAndRenameFile
#define WPProgramFile_wpVerifyUpdateAccess WPFileSystem_wpVerifyUpdateAccess
#define WPProgramFile_wpQueryEASupport WPFileSystem_wpQueryEASupport
#define WPProgramFile_wpAddUserItemsToPopupMenu WPFileSystem_wpAddUserItemsToPopupMenu
#define WPProgramFile_wpIsDiskSwapped WPFileSystem_wpIsDiskSwapped
#define WPProgramFile_wpQueryRealName WPFileSystem_wpQueryRealName
#define WPProgramFile_wpQueryFilename WPFileSystem_wpQueryFilename
#define WPProgramFile_wpQueryDisk WPFileSystem_wpQueryDisk
#define WPProgramFile_wpQueryDateInfo WPFileSystem_wpQueryDateInfo
#define WPProgramFile_wpQueryFileSizeL WPFileSystem_wpQueryFileSizeL
#define WPProgramFile_wpSetFileSizeL WPFileSystem_wpSetFileSizeL
#define WPProgramFile_wpUnInitData WPObject_wpUnInitData
#define WPProgramFile_wpQueryHandle WPObject_wpQueryHandle
#define WPProgramFile_wpSaveImmediate WPObject_wpSaveImmediate
#define WPProgramFile_wpSetTitle WPObject_wpSetTitle
#define WPProgramFile_wpViewObject WPObject_wpViewObject
#define WPProgramFile_wpSwitchTo WPObject_wpSwitchTo
#define WPProgramFile_wpCreateFromTemplate WPObject_wpCreateFromTemplate
#define WPProgramFile_wpQueryIconData WPObject_wpQueryIconData
#define WPProgramFile_wpSetIconData WPObject_wpSetIconData
#define WPProgramFile_wpQueryDetailsData WPObject_wpQueryDetailsData
#define WPProgramFile_wpDraggedOverObject WPObject_wpDraggedOverObject
#define WPProgramFile_wpDroppedOnObject WPObject_wpDroppedOnObject
#define WPProgramFile_wpAppendObject WPObject_wpAppendObject
#define WPProgramFile_wpReplaceObject WPObject_wpReplaceObject
#define WPProgramFile_wpQueryStyle WPObject_wpQueryStyle
#define WPProgramFile_wpDoesObjectMatch WPObject_wpDoesObjectMatch
#define WPProgramFile_wpIdentify WPObject_wpIdentify
#define WPProgramFile_wpIsDeleteable WPObject_wpIsDeleteable
#define WPProgramFile_wpAddObjectGeneralPage WPObject_wpAddObjectGeneralPage
#define WPProgramFile_wpAddObjectGeneralPage2 WPObject_wpAddObjectGeneralPage2
#define WPProgramFile_wpAddToObjUseList WPObject_wpAddToObjUseList
#define WPProgramFile_wpAllocMem WPObject_wpAllocMem
#define WPProgramFile_wpAssertObjectMutexSem WPObject_wpAssertObjectMutexSem
#define WPProgramFile_wpClose WPObject_wpClose
#define WPProgramFile_wpCnrRemoveObject WPObject_wpCnrRemoveObject
#define WPProgramFile_wpCnrSetEmphasis WPObject_wpCnrSetEmphasis
#define WPProgramFile_wpConfirmDelete WPObject_wpConfirmDelete
#define WPProgramFile_wpConfirmObjectTitle WPObject_wpConfirmObjectTitle
#define WPProgramFile_wpCopiedFromTemplate WPObject_wpCopiedFromTemplate
#define WPProgramFile_wpCreateShadowObject WPObject_wpCreateShadowObject
#define WPProgramFile_wpDelete WPObject_wpDelete
#define WPProgramFile_wpDeleteFromObjUseList WPObject_wpDeleteFromObjUseList
#define WPProgramFile_wpDisplayHelp WPObject_wpDisplayHelp
#define WPProgramFile_wpDisplayMenu WPObject_wpDisplayMenu
#define WPProgramFile_wpEndConversation WPObject_wpEndConversation
#define WPProgramFile_wpFilterPopupMenu WPObject_wpFilterPopupMenu
#define WPProgramFile_wpFindUseItem WPObject_wpFindUseItem
#define WPProgramFile_wpFree WPObject_wpFree
#define WPProgramFile_wpFreeMem WPObject_wpFreeMem
#define WPProgramFile_wpHide WPObject_wpHide
#define WPProgramFile_wpInsertPopupMenuItems WPObject_wpInsertPopupMenuItems
#define WPProgramFile_wpInsertMenuItems WPObject_wpInsertMenuItems
#define WPProgramFile_wpInsertSettingsPage WPObject_wpInsertSettingsPage
#define WPProgramFile_wpModifyPopupMenu WPObject_wpModifyPopupMenu
#define WPProgramFile_wpQueryConcurrentView WPObject_wpQueryConcurrentView
#define WPProgramFile_wpQueryButtonAppearance WPObject_wpQueryButtonAppearance
#define WPProgramFile_wpQueryConfirmations WPObject_wpQueryConfirmations
#define WPProgramFile_wpQueryDefaultView WPObject_wpQueryDefaultView
#define WPProgramFile_wpQueryError WPObject_wpQueryError
#define WPProgramFile_wpSetFolder WPObject_wpSetFolder
#define WPProgramFile_wpQueryFolder WPObject_wpQueryFolder
#define WPProgramFile_wpQueryMinWindow WPObject_wpQueryMinWindow
#define WPProgramFile_wpSetTaskRec WPObject_wpSetTaskRec
#define WPProgramFile_wpFindTaskRec WPObject_wpFindTaskRec
#define WPProgramFile_wpQueryTitle WPObject_wpQueryTitle
#define WPProgramFile_wpRegisterView WPObject_wpRegisterView
#define WPProgramFile_wpReleaseObjectMutexSem WPObject_wpReleaseObjectMutexSem
#define WPProgramFile_wpRenderComplete WPObject_wpRenderComplete
#define WPProgramFile_wpRequestObjectMutexSem WPObject_wpRequestObjectMutexSem
#define WPProgramFile_wpRestore WPObject_wpRestore
#define WPProgramFile_wpRestoreData WPObject_wpRestoreData
#define WPProgramFile_wpRestoreLong WPObject_wpRestoreLong
#define WPProgramFile_wpRestoreString WPObject_wpRestoreString
#define WPProgramFile_wpSaveData WPObject_wpSaveData
#define WPProgramFile_wpSaveDeferred WPObject_wpSaveDeferred
#define WPProgramFile_wpSaveLong WPObject_wpSaveLong
#define WPProgramFile_wpSaveString WPObject_wpSaveString
#define WPProgramFile_wpScanSetupString WPObject_wpScanSetupString
#define WPProgramFile_wpSetConcurrentView WPObject_wpSetConcurrentView
#define WPProgramFile_wpSetButtonAppearance WPObject_wpSetButtonAppearance
#define WPProgramFile_wpSetDefaultHelp WPObject_wpSetDefaultHelp
#define WPProgramFile_wpSetError WPObject_wpSetError
#define WPProgramFile_wpQueryScreenGroupID WPObject_wpQueryScreenGroupID
#define WPProgramFile_wpSetupOnce WPObject_wpSetupOnce
#define WPProgramFile_wpSetIcon WPObject_wpSetIcon
#define WPProgramFile_wpSetMinWindow WPObject_wpSetMinWindow
#define WPProgramFile_wpModifyStyle WPObject_wpModifyStyle
#define WPProgramFile_wpQueryTrueStyle WPObject_wpQueryTrueStyle
#define WPProgramFile_wpUnlockObject WPObject_wpUnlockObject
#define WPProgramFile_wpObjectReady WPObject_wpObjectReady
#define WPProgramFile_wpIsObjectInitialized WPObject_wpIsObjectInitialized
#define WPProgramFile_wpCreateShadowObjectExt WPObject_wpCreateShadowObjectExt
#define WPProgramFile_wpCnrDeleteUseItem WPObject_wpCnrDeleteUseItem
#define WPProgramFile_wpQueryCoreRecord WPObject_wpQueryCoreRecord
#define WPProgramFile_wpSetObjectID WPObject_wpSetObjectID
#define WPProgramFile_wpQueryObjectID WPObject_wpQueryObjectID
#define WPProgramFile_wpSetDefaultIconPos WPObject_wpSetDefaultIconPos
#define WPProgramFile_wpQueryDefaultIconPos WPObject_wpQueryDefaultIconPos
#define WPProgramFile_wpCnrRefreshDetails WPObject_wpCnrRefreshDetails
#define WPProgramFile_wpFindViewItem WPObject_wpFindViewItem
#define WPProgramFile_wpLockObject WPObject_wpLockObject
#define WPProgramFile_wpIsLocked WPObject_wpIsLocked
#define WPProgramFile_wpQueryContainerFlagPtr WPObject_wpQueryContainerFlagPtr
#define WPProgramFile_wpWaitForClose WPObject_wpWaitForClose
#define WPProgramFile_wpSetMenuStyle WPObject_wpSetMenuStyle
#define WPProgramFile_wpQueryMenuStyle WPObject_wpQueryMenuStyle
#define WPProgramFile_wpSetStyle WPObject_wpSetStyle
#define WPProgramFile_somInit SOMObject_somInit
#define WPProgramFile_somUninit SOMObject_somUninit
#define WPProgramFile_somDefaultCopyInit SOMObject_somDefaultCopyInit
#define WPProgramFile_somDefaultAssign SOMObject_somDefaultAssign
#define WPProgramFile_somDefaultConstCopyInit SOMObject_somDefaultConstCopyInit
#define WPProgramFile_somDefaultVCopyInit SOMObject_somDefaultVCopyInit
#define WPProgramFile_somDefaultConstVCopyInit SOMObject_somDefaultConstVCopyInit
#define WPProgramFile_somDefaultConstAssign SOMObject_somDefaultConstAssign
#define WPProgramFile_somDefaultVAssign SOMObject_somDefaultVAssign
#define WPProgramFile_somDefaultConstVAssign SOMObject_somDefaultConstVAssign
#define WPProgramFile_somFree SOMObject_somFree
#define WPProgramFile_somGetClass SOMObject_somGetClass
#define WPProgramFile_somGetClassName SOMObject_somGetClassName
#define WPProgramFile_somGetSize SOMObject_somGetSize
#define WPProgramFile_somIsA SOMObject_somIsA
#define WPProgramFile_somIsInstanceOf SOMObject_somIsInstanceOf
#define WPProgramFile_somRespondsTo SOMObject_somRespondsTo
#define WPProgramFile_somDispatch SOMObject_somDispatch
#define WPProgramFile_somClassDispatch SOMObject_somClassDispatch
#define WPProgramFile_somCastObj SOMObject_somCastObj
#define WPProgramFile_somResetObj SOMObject_somResetObj
#define WPProgramFile_somDispatchV SOMObject_somDispatchV
#define WPProgramFile_somDispatchL SOMObject_somDispatchL
#define WPProgramFile_somDispatchA SOMObject_somDispatchA
#define WPProgramFile_somDispatchD SOMObject_somDispatchD
#define WPProgramFile_somPrintSelf SOMObject_somPrintSelf
#define WPProgramFile_somDumpSelf SOMObject_somDumpSelf
#define WPProgramFile_somDumpSelfInt SOMObject_somDumpSelfInt
#endif /* SOM_DONT_USE_INHERITED_MACROS */

#endif       /* SOM_WPProgramFile_h */

#ifndef SOM_M_WPProgramFile_h
#define SOM_M_WPProgramFile_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_WPProgramFile
#define M_WPProgramFile SOMObject
#endif
#include <wpdataf.h>

/*
 * Start of bindings for IDL types
 */


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

#define M_WPProgramFile_MajorVersion 1
#define M_WPProgramFile_MinorVersion 2

/*
 * External name shortening if required
 */
#ifdef SOM_USE_SHORT_EXTERNAL_NAMES
#define M_WPProgramFileNewClass wppgmc
#pragma linkage(wppgmc, system)
#define M_WPProgramFileClassData wppgmd
#define M_WPProgramFileCClassData wppgmx
#endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
/*--------------Migration------------*/
#define M_WPProgramFile_classObj M_WPProgramFileClassData.classObject
#define _M_WPProgramFile M_WPProgramFile_classObj

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

/*
 * Declare the class data structure
 */
SOMEXTERN struct M_WPProgramFileClassDataStructure {
	SOMClass *classObject;
} SOMDLINK M_WPProgramFileClassData;

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

/*
 * New and Renew macros for M_WPProgramFile
 */
#define M_WPProgramFileNew() \
   ( _M_WPProgramFile ? \
	_somNew(_M_WPProgramFile) \
	: ( M_WPProgramFileNewClass(\
		M_WPProgramFile_MajorVersion, \
		M_WPProgramFile_MinorVersion),\
	   _somNew(_M_WPProgramFile)))
#define M_WPProgramFileRenew(buf) \
   ( _M_WPProgramFile ? \
	_somRenew(_M_WPProgramFile, buf) \
	: ( M_WPProgramFileNewClass(\
		M_WPProgramFile_MajorVersion, \
		M_WPProgramFile_MinorVersion),\
	   _somRenew(_M_WPProgramFile, buf)))

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

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

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

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

/*
 * Override method: wpclsQuerySettingsPageSize
 */
#define M_WPProgramFile_wpclsQuerySettingsPageSize(somSelf,pSizl) \
	M_WPObject_wpclsQuerySettingsPageSize(somSelf,pSizl)

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

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

/*
 * Override method: wpclsUnInitData
 */
#define M_WPProgramFile_wpclsUnInitData(somSelf) \
	M_WPObject_wpclsUnInitData(somSelf)
#ifndef SOM_DONT_USE_INHERITED_MACROS
#define M_WPProgramFile_wpclsAddClipboardAssoc M_WPDataFile_wpclsAddClipboardAssoc
#define M_WPProgramFile_wpclsEnumClipboardClasses M_WPDataFile_wpclsEnumClipboardClasses
#define M_WPProgramFile_wpclsQueryDefaultHelp M_WPObject_wpclsQueryDefaultHelp
#define M_WPProgramFile_wpclsQueryAwakeObject M_WPFileSystem_wpclsQueryAwakeObject
#define M_WPProgramFile_wpclsFileSysExists M_WPFileSystem_wpclsFileSysExists
#define M_WPProgramFile_wpclsQueryObjectFromPath M_WPFileSystem_wpclsQueryObjectFromPath
#define M_WPProgramFile_wpclsQueryInstanceFilter M_WPFileSystem_wpclsQueryInstanceFilter
#define M_WPProgramFile_wpclsQueryInstanceClass M_WPFileSystem_wpclsQueryInstanceClass
#define M_WPProgramFile_wpclsQueryDetailsInfo M_WPObject_wpclsQueryDetailsInfo
#define M_WPProgramFile_wpclsQuerySearchInfo M_WPObject_wpclsQuerySearchInfo
#define M_WPProgramFile_wpclsQueryExtendedCriteria M_WPObject_wpclsQueryExtendedCriteria
#define M_WPProgramFile_wpclsNew M_WPObject_wpclsNew
#define M_WPProgramFile_wpclsObjectFromHandle M_WPObject_wpclsObjectFromHandle
#define M_WPProgramFile_wpclsCreateDefaultTemplates M_WPObject_wpclsCreateDefaultTemplates
#define M_WPProgramFile_wpclsMakeAwake M_WPObject_wpclsMakeAwake
#define M_WPProgramFile_wpclsQueryDetails M_WPObject_wpclsQueryDetails
#define M_WPProgramFile_wpclsQueryFolder M_WPObject_wpclsQueryFolder
#define M_WPProgramFile_wpclsQueryIcon M_WPObject_wpclsQueryIcon
#define M_WPProgramFile_wpclsFindObjectFirst M_WPObject_wpclsFindObjectFirst
#define M_WPProgramFile_wpclsFindObjectNext M_WPObject_wpclsFindObjectNext
#define M_WPProgramFile_wpclsFindObjectEnd M_WPObject_wpclsFindObjectEnd
#define M_WPProgramFile_wpclsSetError M_WPObject_wpclsSetError
#define M_WPProgramFile_wpclsQueryError M_WPObject_wpclsQueryError
#define M_WPProgramFile_wpclsQueryObject M_WPObject_wpclsQueryObject
#define M_WPProgramFile_wpclsQueryButtonAppearance M_WPObject_wpclsQueryButtonAppearance
#define M_WPProgramFile_wpclsDecUsage M_WPObject_wpclsDecUsage
#define M_WPProgramFile_wpclsIncUsage M_WPObject_wpclsIncUsage
#define M_WPProgramFile_wpclsInsertMultipleObjects M_WPObject_wpclsInsertMultipleObjects
#define M_WPProgramFile_wpclsFindOneObject M_WPObject_wpclsFindOneObject
#define M_WPProgramFile_wpclsSetSettingsPageSize M_WPObject_wpclsSetSettingsPageSize
#define M_WPProgramFile_wpclsSetIconData M_WPObject_wpclsSetIconData
#define M_WPProgramFile_wpclsSetIcon M_WPObject_wpclsSetIcon
#define M_WPProgramFile_wpclsRemoveObjects M_WPObject_wpclsRemoveObjects
#define M_WPProgramFile_somUninit SOMObject_somUninit
#define M_WPProgramFile_somClassReady SOMClass_somClassReady
#define M_WPProgramFile_somNew SOMClass_somNew
#define M_WPProgramFile_somRenew SOMClass_somRenew
#define M_WPProgramFile__get_somDataAlignment SOMClass__get_somDataAlignment
#define M_WPProgramFile__get_somInstanceDataOffsets SOMClass__get_somInstanceDataOffsets
#define M_WPProgramFile__get_somDirectInitClasses SOMClass__get_somDirectInitClasses
#define M_WPProgramFile__set_somDirectInitClasses SOMClass__set_somDirectInitClasses
#define M_WPProgramFile_somNewNoInit SOMClass_somNewNoInit
#define M_WPProgramFile_somRenewNoInit SOMClass_somRenewNoInit
#define M_WPProgramFile_somRenewNoZero SOMClass_somRenewNoZero
#define M_WPProgramFile_somRenewNoInitNoZero SOMClass_somRenewNoInitNoZero
#define M_WPProgramFile_somAllocate SOMClass_somAllocate
#define M_WPProgramFile_somDeallocate SOMClass_somDeallocate
#define M_WPProgramFile__get_somClassAllocate SOMClass__get_somClassAllocate
#define M_WPProgramFile__get_somClassDeallocate SOMClass__get_somClassDeallocate
#define M_WPProgramFile_somGetInstanceInitMask SOMClass_somGetInstanceInitMask
#define M_WPProgramFile_somGetInstanceDestructionMask SOMClass_somGetInstanceDestructionMask
#define M_WPProgramFile_somGetInstanceAssignmentMask SOMClass_somGetInstanceAssignmentMask
#define M_WPProgramFile_somInitClass SOMClass_somInitClass
#define M_WPProgramFile_somInitMIClass SOMClass_somInitMIClass
#define M_WPProgramFile_somAddStaticMethod SOMClass_somAddStaticMethod
#define M_WPProgramFile_somAddDynamicMethod SOMClass_somAddDynamicMethod
#define M_WPProgramFile_somOverrideSMethod SOMClass_somOverrideSMethod
#define M_WPProgramFile_somGetApplyStub SOMClass_somGetApplyStub
#define M_WPProgramFile_somGetClassData SOMClass_somGetClassData
#define M_WPProgramFile_somSetClassData SOMClass_somSetClassData
#define M_WPProgramFile_somGetClassMtab SOMClass_somGetClassMtab
#define M_WPProgramFile_somGetInstanceOffset SOMClass_somGetInstanceOffset
#define M_WPProgramFile_somGetInstancePartSize SOMClass_somGetInstancePartSize
#define M_WPProgramFile_somGetInstanceSize SOMClass_somGetInstanceSize
#define M_WPProgramFile_somGetInstanceToken SOMClass_somGetInstanceToken
#define M_WPProgramFile_somGetMemberToken SOMClass_somGetMemberToken
#define M_WPProgramFile_somGetMethodData SOMClass_somGetMethodData
#define M_WPProgramFile_somGetRdStub SOMClass_somGetRdStub
#define M_WPProgramFile_somGetMethodDescriptor SOMClass_somGetMethodDescriptor
#define M_WPProgramFile_somGetMethodIndex SOMClass_somGetMethodIndex
#define M_WPProgramFile_somGetMethodToken SOMClass_somGetMethodToken
#define M_WPProgramFile_somGetName SOMClass_somGetName
#define M_WPProgramFile_somGetNthMethodData SOMClass_somGetNthMethodData
#define M_WPProgramFile_somGetNthMethodInfo SOMClass_somGetNthMethodInfo
#define M_WPProgramFile_somGetNumMethods SOMClass_somGetNumMethods
#define M_WPProgramFile_somGetNumStaticMethods SOMClass_somGetNumStaticMethods
#define M_WPProgramFile_somGetParent SOMClass_somGetParent
#define M_WPProgramFile_somGetParents SOMClass_somGetParents
#define M_WPProgramFile_somGetPClsMtab SOMClass_somGetPClsMtab
#define M_WPProgramFile_somGetPClsMtabs SOMClass_somGetPClsMtabs
#define M_WPProgramFile_somGetVersionNumbers SOMClass_somGetVersionNumbers
#define M_WPProgramFile_somSetMethodDescriptor SOMClass_somSetMethodDescriptor
#define M_WPProgramFile_somFindMethod SOMClass_somFindMethod
#define M_WPProgramFile_somFindMethodOk SOMClass_somFindMethodOk
#define M_WPProgramFile_somFindSMethod SOMClass_somFindSMethod
#define M_WPProgramFile_somFindSMethodOk SOMClass_somFindSMethodOk
#define M_WPProgramFile_somLookupMethod SOMClass_somLookupMethod
#define M_WPProgramFile_somCheckVersion SOMClass_somCheckVersion
#define M_WPProgramFile_somDescendedFrom SOMClass_somDescendedFrom
#define M_WPProgramFile_somSupportsMethod SOMClass_somSupportsMethod
#define M_WPProgramFile_somDefinedMethod SOMClass_somDefinedMethod
#define M_WPProgramFile_somOverrideMtab SOMClass_somOverrideMtab
#define M_WPProgramFile_somDefaultInit SOMObject_somDefaultInit
#define M_WPProgramFile_somDestruct SOMObject_somDestruct
#define M_WPProgramFile_somDefaultCopyInit SOMObject_somDefaultCopyInit
#define M_WPProgramFile_somDefaultAssign SOMObject_somDefaultAssign
#define M_WPProgramFile_somDefaultConstCopyInit SOMObject_somDefaultConstCopyInit
#define M_WPProgramFile_somDefaultVCopyInit SOMObject_somDefaultVCopyInit
#define M_WPProgramFile_somDefaultConstVCopyInit SOMObject_somDefaultConstVCopyInit
#define M_WPProgramFile_somDefaultConstAssign SOMObject_somDefaultConstAssign
#define M_WPProgramFile_somDefaultVAssign SOMObject_somDefaultVAssign
#define M_WPProgramFile_somDefaultConstVAssign SOMObject_somDefaultConstVAssign
#define M_WPProgramFile_somInit SOMObject_somInit
#define M_WPProgramFile_somFree SOMObject_somFree
#define M_WPProgramFile_somGetClass SOMObject_somGetClass
#define M_WPProgramFile_somGetClassName SOMObject_somGetClassName
#define M_WPProgramFile_somGetSize SOMObject_somGetSize
#define M_WPProgramFile_somIsA SOMObject_somIsA
#define M_WPProgramFile_somIsInstanceOf SOMObject_somIsInstanceOf
#define M_WPProgramFile_somRespondsTo SOMObject_somRespondsTo
#define M_WPProgramFile_somDispatch SOMObject_somDispatch
#define M_WPProgramFile_somClassDispatch SOMObject_somClassDispatch
#define M_WPProgramFile_somCastObj SOMObject_somCastObj
#define M_WPProgramFile_somResetObj SOMObject_somResetObj
#define M_WPProgramFile_somDispatchV SOMObject_somDispatchV
#define M_WPProgramFile_somDispatchL SOMObject_somDispatchL
#define M_WPProgramFile_somDispatchA SOMObject_somDispatchA
#define M_WPProgramFile_somDispatchD SOMObject_somDispatchD
#define M_WPProgramFile_somPrintSelf SOMObject_somPrintSelf
#define M_WPProgramFile_somDumpSelf SOMObject_somDumpSelf
#define M_WPProgramFile_somDumpSelfInt SOMObject_somDumpSelfInt
#endif /* SOM_DONT_USE_INHERITED_MACROS */

#endif       /* SOM_M_WPProgramFile_h */
