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

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


#ifndef SOM_WPProgram_h
#define SOM_WPProgram_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 WPProgram
#define WPProgram SOMObject
#endif
#include <wpabs.h>

/*
 * Start of bindings for IDL types
 */

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

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

#define WPProgram_MajorVersion 1
#define WPProgram_MinorVersion 2

/*
 * External name shortening if required
 */
#ifdef SOM_USE_SHORT_EXTERNAL_NAMES
#define WPProgramNewClass wppgmrefc
#define WPProgramClassData wppgmrefd
#define WPProgramCClassData wppgmrefx
#endif /* SOM_USE_SHORT_EXTERNAL_NAMES */

/*
 * Include the meta class file
 */
#include <wppgm.h>
/*--------------Migration------------*/
#define WPProgram_classObj WPProgramClassData.classObject
#define _WPProgram WPProgram_classObj

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

/*
 * Declare the class data structure
 */
SOMEXTERN struct WPProgramClassDataStructure {
	SOMClass *classObject;
	somMToken wpAddProgramPage;
	somMToken wpAddProgramSessionPage;
	somMToken wpQueryProgDetails;
	somMToken wpSetProgDetails;
	somMToken wpSetHPROGRAM;
	somMToken wpQueryHPROGRAM;
	somMToken wpAddProgramAssociationPage;
	somMToken wpSetProgIcon;
	somMToken wpQueryAssociationFilter;
	somMToken wpQueryAssociationType;
	somMToken wpSetAssociationFilter;
	somMToken wpSetAssociationType;
	somMToken wpQueryProgramAssociations;
	somMToken wpSetProgramAssociations;
} SOMDLINK WPProgramClassData;

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

/*
 * New and Renew macros for WPProgram
 */
#define WPProgramNew() \
   (_somNew(_WPProgram ? _WPProgram : WPProgramNewClass(WPProgram_MajorVersion, WPProgram_MinorVersion)))
#define WPProgramRenew(buf) \
   (_somRenew(_WPProgram ? _WPProgram : WPProgramNewClass(WPProgram_MajorVersion, WPProgram_MinorVersion), buf))

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

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

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

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

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

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

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

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

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

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

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

/*
 * Override method: wpCreateFromTemplate
 */
#define WPProgram_wpCreateFromTemplate(somSelf,folder,fLock) \
	WPObject_wpCreateFromTemplate(somSelf,folder,fLock)

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

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

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

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

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

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

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

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

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

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

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

/*
 * New Name Lookup Method: wpAddProgramAssociationPage
 */
typedef ULONG   SOMLINK somTP_WPProgram_wpAddProgramAssociationPage(WPProgram *somSelf, 
		HWND hwndNotebook);
typedef somTP_WPProgram_wpAddProgramAssociationPage *somTD_WPProgram_wpAddProgramAssociationPage;
#define somMD_WPProgram_wpAddProgramAssociationPage "::WPProgram::wpAddProgramAssociationPage"
#define WPProgram_wpAddProgramAssociationPage(somSelf,hwndNotebook) \
    (SOM_Resolve(somSelf, WPProgram, wpAddProgramAssociationPage) \
	(somSelf,hwndNotebook))

#ifndef lookup_wpAddProgramAssociationPage
static char *somLMN_wpAddProgramAssociationPage = "wpAddProgramAssociationPage";
static somId somLId_wpAddProgramAssociationPage = &somLMN_wpAddProgramAssociationPage;
#define lookup_wpAddProgramAssociationPage(somSelf,hwndNotebook) \
    ((( somTD_WPProgram_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_WPProgram_wpQueryProgDetails(WPProgram *somSelf, 
		PPROGDETAILS pProgDetails, 
		PULONG pulSize);
typedef somTP_WPProgram_wpQueryProgDetails *somTD_WPProgram_wpQueryProgDetails;
#define somMD_WPProgram_wpQueryProgDetails "::WPProgram::wpQueryProgDetails"
#define WPProgram_wpQueryProgDetails(somSelf,pProgDetails,pulSize) \
    (SOM_Resolve(somSelf, WPProgram, 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_WPProgram_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_WPProgram_wpSetProgDetails(WPProgram *somSelf, 
		PPROGDETAILS pProgDetails);
typedef somTP_WPProgram_wpSetProgDetails *somTD_WPProgram_wpSetProgDetails;
#define somMD_WPProgram_wpSetProgDetails "::WPProgram::wpSetProgDetails"
#define WPProgram_wpSetProgDetails(somSelf,pProgDetails) \
    (SOM_Resolve(somSelf, WPProgram, wpSetProgDetails) \
	(somSelf,pProgDetails))

#ifndef lookup_wpSetProgDetails
static char *somLMN_wpSetProgDetails = "wpSetProgDetails";
static somId somLId_wpSetProgDetails = &somLMN_wpSetProgDetails;
#define lookup_wpSetProgDetails(somSelf,pProgDetails) \
    ((( somTD_WPProgram_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_WPProgram_wpAddProgramPage(WPProgram *somSelf, 
		HWND hwndNotebook);
typedef somTP_WPProgram_wpAddProgramPage *somTD_WPProgram_wpAddProgramPage;
#define somMD_WPProgram_wpAddProgramPage "::WPProgram::wpAddProgramPage"
#define WPProgram_wpAddProgramPage(somSelf,hwndNotebook) \
    (SOM_Resolve(somSelf, WPProgram, wpAddProgramPage) \
	(somSelf,hwndNotebook))

#ifndef lookup_wpAddProgramPage
static char *somLMN_wpAddProgramPage = "wpAddProgramPage";
static somId somLId_wpAddProgramPage = &somLMN_wpAddProgramPage;
#define lookup_wpAddProgramPage(somSelf,hwndNotebook) \
    ((( somTD_WPProgram_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_WPProgram_wpAddProgramSessionPage(WPProgram *somSelf, 
		HWND hwndNotebook);
typedef somTP_WPProgram_wpAddProgramSessionPage *somTD_WPProgram_wpAddProgramSessionPage;
#define somMD_WPProgram_wpAddProgramSessionPage "::WPProgram::wpAddProgramSessionPage"
#define WPProgram_wpAddProgramSessionPage(somSelf,hwndNotebook) \
    (SOM_Resolve(somSelf, WPProgram, wpAddProgramSessionPage) \
	(somSelf,hwndNotebook))

#ifndef lookup_wpAddProgramSessionPage
static char *somLMN_wpAddProgramSessionPage = "wpAddProgramSessionPage";
static somId somLId_wpAddProgramSessionPage = &somLMN_wpAddProgramSessionPage;
#define lookup_wpAddProgramSessionPage(somSelf,hwndNotebook) \
    ((( somTD_WPProgram_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_WPProgram_wpQueryAssociationFilter(WPProgram *somSelf);
typedef somTP_WPProgram_wpQueryAssociationFilter *somTD_WPProgram_wpQueryAssociationFilter;
#define somMD_WPProgram_wpQueryAssociationFilter "::WPProgram::wpQueryAssociationFilter"
#define WPProgram_wpQueryAssociationFilter(somSelf) \
    (SOM_Resolve(somSelf, WPProgram, wpQueryAssociationFilter) \
	(somSelf))

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

/*
 * New Name Lookup Method: wpQueryAssociationType
 */
typedef PSZ   SOMLINK somTP_WPProgram_wpQueryAssociationType(WPProgram *somSelf);
typedef somTP_WPProgram_wpQueryAssociationType *somTD_WPProgram_wpQueryAssociationType;
#define somMD_WPProgram_wpQueryAssociationType "::WPProgram::wpQueryAssociationType"
#define WPProgram_wpQueryAssociationType(somSelf) \
    (SOM_Resolve(somSelf, WPProgram, wpQueryAssociationType) \
	(somSelf))

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

/*
 * New Name Lookup Method: wpSetAssociationFilter
 */
typedef BOOL   SOMLINK somTP_WPProgram_wpSetAssociationFilter(WPProgram *somSelf, 
		PSZ pszFilter);
typedef somTP_WPProgram_wpSetAssociationFilter *somTD_WPProgram_wpSetAssociationFilter;
#define somMD_WPProgram_wpSetAssociationFilter "::WPProgram::wpSetAssociationFilter"
#define WPProgram_wpSetAssociationFilter(somSelf,pszFilter) \
    (SOM_Resolve(somSelf, WPProgram, wpSetAssociationFilter) \
	(somSelf,pszFilter))

#ifndef lookup_wpSetAssociationFilter
static char *somLMN_wpSetAssociationFilter = "wpSetAssociationFilter";
static somId somLId_wpSetAssociationFilter = &somLMN_wpSetAssociationFilter;
#define lookup_wpSetAssociationFilter(somSelf,pszFilter) \
    ((( somTD_WPProgram_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_WPProgram_wpSetAssociationType(WPProgram *somSelf, 
		PSZ pszType);
typedef somTP_WPProgram_wpSetAssociationType *somTD_WPProgram_wpSetAssociationType;
#define somMD_WPProgram_wpSetAssociationType "::WPProgram::wpSetAssociationType"
#define WPProgram_wpSetAssociationType(somSelf,pszType) \
    (SOM_Resolve(somSelf, WPProgram, wpSetAssociationType) \
	(somSelf,pszType))

#ifndef lookup_wpSetAssociationType
static char *somLMN_wpSetAssociationType = "wpSetAssociationType";
static somId somLId_wpSetAssociationType = &somLMN_wpSetAssociationType;
#define lookup_wpSetAssociationType(somSelf,pszType) \
    ((( somTD_WPProgram_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_WPProgram_wpQueryProgramAssociations(WPProgram *somSelf, 
		PBYTE ptr, 
		PSZ pszAssoc, 
		BOOL fFilter);
typedef somTP_WPProgram_wpQueryProgramAssociations *somTD_WPProgram_wpQueryProgramAssociations;
#define somMD_WPProgram_wpQueryProgramAssociations "::WPProgram::wpQueryProgramAssociations"
#define WPProgram_wpQueryProgramAssociations(somSelf,ptr,pszAssoc,fFilter) \
    (SOM_Resolve(somSelf, WPProgram, 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_WPProgram_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_WPProgram_wpSetProgramAssociations(WPProgram *somSelf, 
		PSZ pszAssoc, 
		BOOL fFilter);
typedef somTP_WPProgram_wpSetProgramAssociations *somTD_WPProgram_wpSetProgramAssociations;
#define somMD_WPProgram_wpSetProgramAssociations "::WPProgram::wpSetProgramAssociations"
#define WPProgram_wpSetProgramAssociations(somSelf,pszAssoc,fFilter) \
    (SOM_Resolve(somSelf, WPProgram, 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_WPProgram_wpSetProgramAssociations ) \
	_somLookupMethod(SOM_GetClass(somSelf), somLId_wpSetProgramAssociations)) \
	    (somSelf,pszAssoc,fFilter))
#define _wpSetProgramAssociations lookup_wpSetProgramAssociations
#endif     /* lookup_wpSetProgramAssociations */

/*
 * New Method: wpSetProgIcon
 */
typedef BOOL   SOMLINK somTP_WPProgram_wpSetProgIcon(WPProgram *somSelf, 
		PFEA2LIST pfeal);
typedef somTP_WPProgram_wpSetProgIcon *somTD_WPProgram_wpSetProgIcon;
#define somMD_WPProgram_wpSetProgIcon "::WPProgram::wpSetProgIcon"
#define WPProgram_wpSetProgIcon(somSelf,pfeal) \
    (SOM_Resolve(somSelf, WPProgram, wpSetProgIcon) \
	(somSelf,pfeal))
#ifndef SOMGD_wpSetProgIcon
    #if (defined(_wpSetProgIcon) || defined(__wpSetProgIcon))
        #undef _wpSetProgIcon
        #undef __wpSetProgIcon
        #define SOMGD_wpSetProgIcon 1
    #else
        #define _wpSetProgIcon WPProgram_wpSetProgIcon
    #endif /* _wpSetProgIcon */
#endif /* SOMGD_wpSetProgIcon */
#ifndef SOM_DONT_USE_INHERITED_MACROS
#define WPProgram_wpAddObjectGeneralPage WPObject_wpAddObjectGeneralPage
#define WPProgram_wpAddObjectGeneralPage2 WPObject_wpAddObjectGeneralPage2
#define WPProgram_wpAddObjectWindowPage WPObject_wpAddObjectWindowPage
#define WPProgram_wpAddToObjUseList WPObject_wpAddToObjUseList
#define WPProgram_wpAllocMem WPObject_wpAllocMem
#define WPProgram_wpAppendObject WPObject_wpAppendObject
#define WPProgram_wpAssertObjectMutexSem WPObject_wpAssertObjectMutexSem
#define WPProgram_wpClose WPObject_wpClose
#define WPProgram_wpCnrInsertObject WPObject_wpCnrInsertObject
#define WPProgram_wpCnrRemoveObject WPObject_wpCnrRemoveObject
#define WPProgram_wpCnrSetEmphasis WPObject_wpCnrSetEmphasis
#define WPProgram_wpConfirmDelete WPObject_wpConfirmDelete
#define WPProgram_wpConfirmObjectTitle WPObject_wpConfirmObjectTitle
#define WPProgram_wpCopiedFromTemplate WPObject_wpCopiedFromTemplate
#define WPProgram_wpCreateShadowObject WPObject_wpCreateShadowObject
#define WPProgram_wpDelete WPObject_wpDelete
#define WPProgram_wpDeleteFromObjUseList WPObject_wpDeleteFromObjUseList
#define WPProgram_wpDisplayHelp WPObject_wpDisplayHelp
#define WPProgram_wpDisplayMenu WPObject_wpDisplayMenu
#define WPProgram_wpDoesObjectMatch WPObject_wpDoesObjectMatch
#define WPProgram_wpDraggedOverObject WPObject_wpDraggedOverObject
#define WPProgram_wpDroppedOnObject WPObject_wpDroppedOnObject
#define WPProgram_wpEndConversation WPObject_wpEndConversation
#define WPProgram_wpFilterPopupMenu WPObject_wpFilterPopupMenu
#define WPProgram_wpFindUseItem WPObject_wpFindUseItem
#define WPProgram_wpFormatDragItem WPObject_wpFormatDragItem
#define WPProgram_wpFree WPObject_wpFree
#define WPProgram_wpFreeMem WPObject_wpFreeMem
#define WPProgram_wpHide WPObject_wpHide
#define WPProgram_wpInsertPopupMenuItems WPObject_wpInsertPopupMenuItems
#define WPProgram_wpInsertSettingsPage WPObject_wpInsertSettingsPage
#define WPProgram_wpPrintObject WPObject_wpPrintObject
#define WPProgram_wpQueryConcurrentView WPObject_wpQueryConcurrentView
#define WPProgram_wpQueryButtonAppearance WPObject_wpQueryButtonAppearance
#define WPProgram_wpQueryConfirmations WPObject_wpQueryConfirmations
#define WPProgram_wpQueryDefaultView WPObject_wpQueryDefaultView
#define WPProgram_wpQueryDetailsData WPObject_wpQueryDetailsData
#define WPProgram_wpQueryError WPObject_wpQueryError
#define WPProgram_wpSetFolder WPObject_wpSetFolder
#define WPProgram_wpQueryFolder WPObject_wpQueryFolder
#define WPProgram_wpQueryMinWindow WPObject_wpQueryMinWindow
#define WPProgram_wpQueryNameClashOptions WPObject_wpQueryNameClashOptions
#define WPProgram_wpQueryStyle WPObject_wpQueryStyle
#define WPProgram_wpSetTaskRec WPObject_wpSetTaskRec
#define WPProgram_wpFindTaskRec WPObject_wpFindTaskRec
#define WPProgram_wpQueryTitle WPObject_wpQueryTitle
#define WPProgram_wpRegisterView WPObject_wpRegisterView
#define WPProgram_wpReleaseObjectMutexSem WPObject_wpReleaseObjectMutexSem
#define WPProgram_wpRender WPObject_wpRender
#define WPProgram_wpRenderComplete WPObject_wpRenderComplete
#define WPProgram_wpReplaceObject WPObject_wpReplaceObject
#define WPProgram_wpRequestObjectMutexSem WPObject_wpRequestObjectMutexSem
#define WPProgram_wpRestore WPObject_wpRestore
#define WPProgram_wpRestoreData WPObject_wpRestoreData
#define WPProgram_wpRestoreLong WPObject_wpRestoreLong
#define WPProgram_wpRestoreString WPObject_wpRestoreString
#define WPProgram_wpSaveData WPObject_wpSaveData
#define WPProgram_wpSaveImmediate WPObject_wpSaveImmediate
#define WPProgram_wpSaveDeferred WPObject_wpSaveDeferred
#define WPProgram_wpSaveLong WPObject_wpSaveLong
#define WPProgram_wpSaveString WPObject_wpSaveString
#define WPProgram_wpScanSetupString WPObject_wpScanSetupString
#define WPProgram_wpSetConcurrentView WPObject_wpSetConcurrentView
#define WPProgram_wpSetButtonAppearance WPObject_wpSetButtonAppearance
#define WPProgram_wpSetDefaultHelp WPObject_wpSetDefaultHelp
#define WPProgram_wpSetDefaultView WPObject_wpSetDefaultView
#define WPProgram_wpSetError WPObject_wpSetError
#define WPProgram_wpSetIconHandle WPObject_wpSetIconHandle
#define WPProgram_wpQueryScreenGroupID WPObject_wpQueryScreenGroupID
#define WPProgram_wpSetupOnce WPObject_wpSetupOnce
#define WPProgram_wpSetIcon WPObject_wpSetIcon
#define WPProgram_wpSetMinWindow WPObject_wpSetMinWindow
#define WPProgram_wpSetStyle WPObject_wpSetStyle
#define WPProgram_wpModifyStyle WPObject_wpModifyStyle
#define WPProgram_wpSwitchTo WPObject_wpSwitchTo
#define WPProgram_wpViewObject WPObject_wpViewObject
#define WPProgram_wpQueryTrueStyle WPObject_wpQueryTrueStyle
#define WPProgram_wpQueryHandle WPObject_wpQueryHandle
#define WPProgram_wpUnlockObject WPObject_wpUnlockObject
#define WPProgram_wpObjectReady WPObject_wpObjectReady
#define WPProgram_wpIsObjectInitialized WPObject_wpIsObjectInitialized
#define WPProgram_wpCreateShadowObjectExt WPObject_wpCreateShadowObjectExt
#define WPProgram_wpCnrDeleteUseItem WPObject_wpCnrDeleteUseItem
#define WPProgram_wpIsDeleteable WPObject_wpIsDeleteable
#define WPProgram_wpQueryCoreRecord WPObject_wpQueryCoreRecord
#define WPProgram_wpSetObjectID WPObject_wpSetObjectID
#define WPProgram_wpQueryObjectID WPObject_wpQueryObjectID
#define WPProgram_wpSetDefaultIconPos WPObject_wpSetDefaultIconPos
#define WPProgram_wpQueryDefaultIconPos WPObject_wpQueryDefaultIconPos
#define WPProgram_wpCnrRefreshDetails WPObject_wpCnrRefreshDetails
#define WPProgram_wpFindViewItem WPObject_wpFindViewItem
#define WPProgram_wpLockObject WPObject_wpLockObject
#define WPProgram_wpIsLocked WPObject_wpIsLocked
#define WPProgram_wpQueryContainerFlagPtr WPObject_wpQueryContainerFlagPtr
#define WPProgram_wpWaitForClose WPObject_wpWaitForClose
#define WPProgram_somDefaultCopyInit SOMObject_somDefaultCopyInit
#define WPProgram_somDefaultAssign SOMObject_somDefaultAssign
#define WPProgram_somDefaultConstCopyInit SOMObject_somDefaultConstCopyInit
#define WPProgram_somDefaultVCopyInit SOMObject_somDefaultVCopyInit
#define WPProgram_somDefaultConstVCopyInit SOMObject_somDefaultConstVCopyInit
#define WPProgram_somDefaultConstAssign SOMObject_somDefaultConstAssign
#define WPProgram_somDefaultVAssign SOMObject_somDefaultVAssign
#define WPProgram_somDefaultConstVAssign SOMObject_somDefaultConstVAssign
#define WPProgram_somInit SOMObject_somInit
#define WPProgram_somFree SOMObject_somFree
#define WPProgram_somUninit SOMObject_somUninit
#define WPProgram_somGetClass SOMObject_somGetClass
#define WPProgram_somGetClassName SOMObject_somGetClassName
#define WPProgram_somGetSize SOMObject_somGetSize
#define WPProgram_somIsA SOMObject_somIsA
#define WPProgram_somIsInstanceOf SOMObject_somIsInstanceOf
#define WPProgram_somRespondsTo SOMObject_somRespondsTo
#define WPProgram_somDispatch SOMObject_somDispatch
#define WPProgram_somClassDispatch SOMObject_somClassDispatch
#define WPProgram_somCastObj SOMObject_somCastObj
#define WPProgram_somResetObj SOMObject_somResetObj
#define WPProgram_somPrintSelf SOMObject_somPrintSelf
#define WPProgram_somDumpSelf SOMObject_somDumpSelf
#define WPProgram_somDumpSelfInt SOMObject_somDumpSelfInt
#endif /* SOM_DONT_USE_INHERITED_MACROS */

#endif       /* SOM_WPProgram_h */

#ifndef SOM_M_WPProgram_h
#define SOM_M_WPProgram_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_WPProgram
#define M_WPProgram SOMObject
#endif
#include <wpabs.h>

/*
 * Start of bindings for IDL types
 */


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

#define M_WPProgram_MajorVersion 1
#define M_WPProgram_MinorVersion 2

/*
 * External name shortening if required
 */
#ifdef SOM_USE_SHORT_EXTERNAL_NAMES
#define M_WPProgramNewClass wppgmrefc
#define M_WPProgramClassData wppgmrefd
#define M_WPProgramCClassData wppgmrefx
#endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
/*--------------Migration------------*/
#define M_WPProgram_classObj M_WPProgramClassData.classObject
#define _M_WPProgram M_WPProgram_classObj

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

/*
 * Declare the class data structure
 */
SOMEXTERN struct M_WPProgramClassDataStructure {
	SOMClass *classObject;
} SOMDLINK M_WPProgramClassData;

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

/*
 * New and Renew macros for M_WPProgram
 */
#define M_WPProgramNew() \
   (_somNew(_M_WPProgram ? _M_WPProgram : M_WPProgramNewClass(M_WPProgram_MajorVersion, M_WPProgram_MinorVersion)))
#define M_WPProgramRenew(buf) \
   (_somRenew(_M_WPProgram ? _M_WPProgram : M_WPProgramNewClass(M_WPProgram_MajorVersion, M_WPProgram_MinorVersion), buf))

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

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

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

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

/*
 * Override method: wpclsQueryDefaultView
 */
#define M_WPProgram_wpclsQueryDefaultView(somSelf) \
	M_WPObject_wpclsQueryDefaultView(somSelf)
#ifndef SOM_DONT_USE_INHERITED_MACROS
#define M_WPProgram_wpclsQuerySetting M_WPAbstract_wpclsQuerySetting
#define M_WPProgram_wpclsSetSetting M_WPAbstract_wpclsSetSetting
#define M_WPProgram_wpclsCreateDefaultTemplates M_WPObject_wpclsCreateDefaultTemplates
#define M_WPProgram_wpclsInitData M_WPObject_wpclsInitData
#define M_WPProgram_wpclsMakeAwake M_WPObject_wpclsMakeAwake
#define M_WPProgram_wpclsNew M_WPObject_wpclsNew
#define M_WPProgram_wpclsQueryDetails M_WPObject_wpclsQueryDetails
#define M_WPProgram_wpclsQueryDetailsInfo M_WPObject_wpclsQueryDetailsInfo
#define M_WPProgram_wpclsQueryExtendedCriteria M_WPObject_wpclsQueryExtendedCriteria
#define M_WPProgram_wpclsQueryFolder M_WPObject_wpclsQueryFolder
#define M_WPProgram_wpclsQueryIcon M_WPObject_wpclsQueryIcon
#define M_WPProgram_wpclsQuerySearchInfo M_WPObject_wpclsQuerySearchInfo
#define M_WPProgram_wpclsUnInitData M_WPObject_wpclsUnInitData
#define M_WPProgram_wpclsFindObjectFirst M_WPObject_wpclsFindObjectFirst
#define M_WPProgram_wpclsFindObjectNext M_WPObject_wpclsFindObjectNext
#define M_WPProgram_wpclsFindObjectEnd M_WPObject_wpclsFindObjectEnd
#define M_WPProgram_wpclsSetError M_WPObject_wpclsSetError
#define M_WPProgram_wpclsQueryError M_WPObject_wpclsQueryError
#define M_WPProgram_wpclsQuerySettingsPageSize M_WPObject_wpclsQuerySettingsPageSize
#define M_WPProgram_wpclsQueryObject M_WPObject_wpclsQueryObject
#define M_WPProgram_wpclsQueryButtonAppearance M_WPObject_wpclsQueryButtonAppearance
#define M_WPProgram_wpclsDecUsage M_WPObject_wpclsDecUsage
#define M_WPProgram_wpclsIncUsage M_WPObject_wpclsIncUsage
#define M_WPProgram_wpclsInsertMultipleObjects M_WPObject_wpclsInsertMultipleObjects
#define M_WPProgram_wpclsFindOneObject M_WPObject_wpclsFindOneObject
#define M_WPProgram_wpclsSetSettingsPageSize M_WPObject_wpclsSetSettingsPageSize
#define M_WPProgram_wpclsSetIconData M_WPObject_wpclsSetIconData
#define M_WPProgram_wpclsSetIcon M_WPObject_wpclsSetIcon
#define M_WPProgram_wpclsObjectFromHandle M_WPObject_wpclsObjectFromHandle
#define M_WPProgram_wpclsRemoveObjects M_WPObject_wpclsRemoveObjects
#define M_WPProgram__get_somDataAlignment SOMClass__get_somDataAlignment
#define M_WPProgram__get_somInstanceDataOffsets SOMClass__get_somInstanceDataOffsets
#define M_WPProgram__get_somDirectInitClasses SOMClass__get_somDirectInitClasses
#define M_WPProgram__set_somDirectInitClasses SOMClass__set_somDirectInitClasses
#define M_WPProgram_somNew SOMClass_somNew
#define M_WPProgram_somNewNoInit SOMClass_somNewNoInit
#define M_WPProgram_somRenew SOMClass_somRenew
#define M_WPProgram_somRenewNoInit SOMClass_somRenewNoInit
#define M_WPProgram_somRenewNoZero SOMClass_somRenewNoZero
#define M_WPProgram_somRenewNoInitNoZero SOMClass_somRenewNoInitNoZero
#define M_WPProgram_somAllocate SOMClass_somAllocate
#define M_WPProgram_somDeallocate SOMClass_somDeallocate
#define M_WPProgram_somGetInstanceInitMask SOMClass_somGetInstanceInitMask
#define M_WPProgram_somGetInstanceDestructionMask SOMClass_somGetInstanceDestructionMask
#define M_WPProgram_somGetInstanceAssignmentMask SOMClass_somGetInstanceAssignmentMask
#define M_WPProgram_somInitClass SOMClass_somInitClass
#define M_WPProgram_somInitMIClass SOMClass_somInitMIClass
#define M_WPProgram_somAddStaticMethod SOMClass_somAddStaticMethod
#define M_WPProgram_somAddDynamicMethod SOMClass_somAddDynamicMethod
#define M_WPProgram_somOverrideSMethod SOMClass_somOverrideSMethod
#define M_WPProgram_somClassReady SOMClass_somClassReady
#define M_WPProgram_somGetApplyStub SOMClass_somGetApplyStub
#define M_WPProgram_somGetClassData SOMClass_somGetClassData
#define M_WPProgram_somSetClassData SOMClass_somSetClassData
#define M_WPProgram_somGetClassMtab SOMClass_somGetClassMtab
#define M_WPProgram_somGetInstanceOffset SOMClass_somGetInstanceOffset
#define M_WPProgram_somGetInstancePartSize SOMClass_somGetInstancePartSize
#define M_WPProgram_somGetInstanceSize SOMClass_somGetInstanceSize
#define M_WPProgram_somGetInstanceToken SOMClass_somGetInstanceToken
#define M_WPProgram_somGetMemberToken SOMClass_somGetMemberToken
#define M_WPProgram_somGetMethodData SOMClass_somGetMethodData
#define M_WPProgram_somGetRdStub SOMClass_somGetRdStub
#define M_WPProgram_somGetMethodDescriptor SOMClass_somGetMethodDescriptor
#define M_WPProgram_somGetMethodIndex SOMClass_somGetMethodIndex
#define M_WPProgram_somGetMethodToken SOMClass_somGetMethodToken
#define M_WPProgram_somGetName SOMClass_somGetName
#define M_WPProgram_somGetNthMethodData SOMClass_somGetNthMethodData
#define M_WPProgram_somGetNthMethodInfo SOMClass_somGetNthMethodInfo
#define M_WPProgram_somGetNumMethods SOMClass_somGetNumMethods
#define M_WPProgram_somGetNumStaticMethods SOMClass_somGetNumStaticMethods
#define M_WPProgram_somGetParent SOMClass_somGetParent
#define M_WPProgram_somGetParents SOMClass_somGetParents
#define M_WPProgram_somGetPClsMtab SOMClass_somGetPClsMtab
#define M_WPProgram_somGetPClsMtabs SOMClass_somGetPClsMtabs
#define M_WPProgram_somGetVersionNumbers SOMClass_somGetVersionNumbers
#define M_WPProgram_somSetMethodDescriptor SOMClass_somSetMethodDescriptor
#define M_WPProgram_somFindMethod SOMClass_somFindMethod
#define M_WPProgram_somFindMethodOk SOMClass_somFindMethodOk
#define M_WPProgram_somFindSMethod SOMClass_somFindSMethod
#define M_WPProgram_somFindSMethodOk SOMClass_somFindSMethodOk
#define M_WPProgram_somLookupMethod SOMClass_somLookupMethod
#define M_WPProgram_somCheckVersion SOMClass_somCheckVersion
#define M_WPProgram_somDescendedFrom SOMClass_somDescendedFrom
#define M_WPProgram_somSupportsMethod SOMClass_somSupportsMethod
#define M_WPProgram_somDefinedMethod SOMClass_somDefinedMethod
#define M_WPProgram_somOverrideMtab SOMClass_somOverrideMtab
#define M_WPProgram_somDefaultInit SOMObject_somDefaultInit
#define M_WPProgram_somDestruct SOMObject_somDestruct
#define M_WPProgram_somDefaultCopyInit SOMObject_somDefaultCopyInit
#define M_WPProgram_somDefaultAssign SOMObject_somDefaultAssign
#define M_WPProgram_somDefaultConstCopyInit SOMObject_somDefaultConstCopyInit
#define M_WPProgram_somDefaultVCopyInit SOMObject_somDefaultVCopyInit
#define M_WPProgram_somDefaultConstVCopyInit SOMObject_somDefaultConstVCopyInit
#define M_WPProgram_somDefaultConstAssign SOMObject_somDefaultConstAssign
#define M_WPProgram_somDefaultVAssign SOMObject_somDefaultVAssign
#define M_WPProgram_somDefaultConstVAssign SOMObject_somDefaultConstVAssign
#define M_WPProgram_somInit SOMObject_somInit
#define M_WPProgram_somFree SOMObject_somFree
#define M_WPProgram_somUninit SOMObject_somUninit
#define M_WPProgram_somGetClass SOMObject_somGetClass
#define M_WPProgram_somGetClassName SOMObject_somGetClassName
#define M_WPProgram_somGetSize SOMObject_somGetSize
#define M_WPProgram_somIsA SOMObject_somIsA
#define M_WPProgram_somIsInstanceOf SOMObject_somIsInstanceOf
#define M_WPProgram_somRespondsTo SOMObject_somRespondsTo
#define M_WPProgram_somDispatch SOMObject_somDispatch
#define M_WPProgram_somClassDispatch SOMObject_somClassDispatch
#define M_WPProgram_somCastObj SOMObject_somCastObj
#define M_WPProgram_somResetObj SOMObject_somResetObj
#define M_WPProgram_somPrintSelf SOMObject_somPrintSelf
#define M_WPProgram_somDumpSelf SOMObject_somDumpSelf
#define M_WPProgram_somDumpSelfInt SOMObject_somDumpSelfInt
#endif /* SOM_DONT_USE_INHERITED_MACROS */

#endif       /* SOM_M_WPProgram_h */
