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

/*
 *    Module Name: WPHOST
 * 
 *    OS/2 Work Place Shell - Remote FTP Host object
 * 
 *    Copyright (C) 1996 IBM Corporation
 * 
 */


#ifndef SOM_WPHost_h
#define SOM_WPHost_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 WPHost
#define WPHost SOMObject
#endif
#include <wpfolder.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_WPFolder
    #define M_WPFolder SOMObject
#endif /* M_WPFolder */
#ifndef M_WPTransient
    #define M_WPTransient SOMObject
#endif /* M_WPTransient */
#ifndef M_WPFtpObj
    #define M_WPFtpObj SOMObject
#endif /* M_WPFtpObj */
#ifndef M_WPHost
    #define M_WPHost SOMObject
#endif /* M_WPHost */

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

#define WPHost_MajorVersion 1
#define WPHost_MinorVersion 2

/*
 * External name shortening if required
 */
#ifdef SOM_USE_SHORT_EXTERNAL_NAMES
#define WPHostNewClass wphostc
#pragma linkage(wphostc, system)
#define WPHostClassData wphostd
#define WPHostCClassData wphostx
#endif /* SOM_USE_SHORT_EXTERNAL_NAMES */

/*
 * Include the meta class file
 */
#include <wphost.h>
/*--------------Migration------------*/
#define WPHost_classObj WPHostClassData.classObject
#define _WPHost WPHost_classObj

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

/*
 * Declare the class data structure
 */
SOMEXTERN struct WPHostClassDataStructure {
	SOMClass *classObject;
	somMToken WPHostPrivate1;
	somMToken WPHostPrivate2;
	somMToken WPHostPrivate3;
	somMToken WPHostPrivate4;
	somMToken WPHostPrivate5;
	somMToken WPHostPrivate6;
	somMToken WPHostPrivate7;
	somMToken WPHostPrivate8;
	somMToken WPHostPrivate9;
	somMToken WPHostPrivate10;
	somMToken WPHostPrivate11;
	somMToken WPHostPrivate12;
	somMToken WPHostPrivate13;
	somMToken WPHostPrivate14;
	somMToken WPHostPrivate15;
	somMToken WPHostPrivate16;
	somMToken WPHostPrivate17;
	somMToken WPHostPrivate18;
	somMToken WPHostPrivate19;
	somMToken WPHostPrivate20;
	somMToken WPHostPrivate21;
	somMToken WPHostPrivate22;
	somMToken WPHostPrivate23;
	somMToken WPHostPrivate24;
	somMToken WPHostPrivate25;
	somMToken WPHostPrivate26;
	somMToken WPHostPrivate27;
	somMToken WPHostPrivate28;
	somMToken WPHostPrivate29;
	somMToken WPHostPrivate30;
	somMToken WPHostPrivate31;
	somMToken WPHostPrivate32;
	somMToken WPHostPrivate33;
	somMToken WPHostPrivate34;
	somMToken WPHostPrivate35;
	somMToken WPHostPrivate36;
	somMToken WPHostPrivate37;
	somMToken WPHostPrivate38;
	somMToken WPHostPrivate39;
} SOMDLINK WPHostClassData;

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

/*
 * New and Renew macros for WPHost
 */
#define WPHostNew() \
   ( _WPHost ? \
	_somNew(_WPHost) \
	: ( WPHostNewClass(\
		WPHost_MajorVersion, \
		WPHost_MinorVersion),\
	   _somNew(_WPHost)))
#define WPHostRenew(buf) \
   ( _WPHost ? \
	_somRenew(_WPHost, buf) \
	: ( WPHostNewClass(\
		WPHost_MajorVersion, \
		WPHost_MinorVersion),\
	   _somRenew(_WPHost, buf)))

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

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

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

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

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

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

/*
 * Override method: wpClose
 */
#define WPHost_wpClose(somSelf) \
	WPObject_wpClose(somSelf)

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

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

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

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

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

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

/*
 * Override method: wpPopulate
 */
#define WPHost_wpPopulate(somSelf,ulReserved,pszPath,fFoldersOnly) \
	WPFolder_wpPopulate(somSelf,ulReserved,pszPath,fFoldersOnly)

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

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

/*
 * Override method: wpDeleteContents
 */
#define WPHost_wpDeleteContents(somSelf,fConfirmations) \
	WPFolder_wpDeleteContents(somSelf,fConfirmations)

/*
 * Override method: wpAddFolderIncludePage
 */
#define WPHost_wpAddFolderIncludePage(somSelf,hwndNotebook) \
	WPFolder_wpAddFolderIncludePage(somSelf,hwndNotebook)

/*
 * Override method: wpAddFolderSelfClosePage
 */
#define WPHost_wpAddFolderSelfClosePage(somSelf,hwndNotebook) \
	WPFolder_wpAddFolderSelfClosePage(somSelf,hwndNotebook)

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

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

/*
 * Override method: wpDeleteFromObjUseList
 */
#define WPHost_wpDeleteFromObjUseList(somSelf,pUseItem) \
	WPObject_wpDeleteFromObjUseList(somSelf,pUseItem)

/*
 * Override method: wpQueryConfirmations
 */
#define WPHost_wpQueryConfirmations(somSelf) \
	WPObject_wpQueryConfirmations(somSelf)

/*
 * Override method: wpAddFirstChild
 */
#define WPHost_wpAddFirstChild(somSelf) \
	WPFolder_wpAddFirstChild(somSelf)

/*
 * Override method: wpAddFile1Page
 */
#define WPHost_wpAddFile1Page(somSelf,hwndNotebook) \
	WPFileSystem_wpAddFile1Page(somSelf,hwndNotebook)

/*
 * Override method: wpAddFile2Page
 */
#define WPHost_wpAddFile2Page(somSelf,hwndNotebook) \
	WPFileSystem_wpAddFile2Page(somSelf,hwndNotebook)

/*
 * Override method: wpAddFile3Page
 */
#define WPHost_wpAddFile3Page(somSelf,hwndNotebook) \
	WPFileSystem_wpAddFile3Page(somSelf,hwndNotebook)

/*
 * Override method: wpAddObjectGeneralPage
 */
#define WPHost_wpAddObjectGeneralPage(somSelf,hwndNotebook) \
	WPObject_wpAddObjectGeneralPage(somSelf,hwndNotebook)

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

/*
 * Override method: somDestruct
 */
#define WPHost_somDestruct(somSelf,doFree,ctrl) \
	SOMObject_somDestruct(somSelf,doFree,ctrl)
#ifndef SOM_DONT_USE_INHERITED_MACROS
#define WPHost_wpSetFldrFlags WPFolder_wpSetFldrFlags
#define WPHost_wpQueryFldrFlags WPFolder_wpQueryFldrFlags
#define WPHost_wpSetFldrFont WPFolder_wpSetFldrFont
#define WPHost_wpQueryFldrFont WPFolder_wpQueryFldrFont
#define WPHost_wpSetFldrAttr WPFolder_wpSetFldrAttr
#define WPHost_wpQueryFldrAttr WPFolder_wpQueryFldrAttr
#define WPHost_wpSetNextIconPos WPFolder_wpSetNextIconPos
#define WPHost_wpQueryNextIconPos WPFolder_wpQueryNextIconPos
#define WPHost_wpQueryContent WPFolder_wpQueryContent
#define WPHost_wpAddFolderView1Page WPFolder_wpAddFolderView1Page
#define WPHost_wpAddFolderView2Page WPFolder_wpAddFolderView2Page
#define WPHost_wpAddFolderView3Page WPFolder_wpAddFolderView3Page
#define WPHost_wpAddFolderSortPage WPFolder_wpAddFolderSortPage
#define WPHost_wpAddFolderBackgroundPage WPFolder_wpAddFolderBackgroundPage
#define WPHost_wpAddFolderMenu2Page WPFolder_wpAddFolderMenu2Page
#define WPHost_wpInitIconPosData WPFolder_wpInitIconPosData
#define WPHost_wpFreeIconPosData WPFolder_wpFreeIconPosData
#define WPHost_wpStoreIconPosData WPFolder_wpStoreIconPosData
#define WPHost_wpQueryIconPosition WPFolder_wpQueryIconPosition
#define WPHost_wpSetFldrSort WPFolder_wpSetFldrSort
#define WPHost_wpQueryFldrSort WPFolder_wpQueryFldrSort
#define WPHost_wpRestoreFldrRunObjs WPFolder_wpRestoreFldrRunObjs
#define WPHost_wpStoreFldrRunObjs WPFolder_wpStoreFldrRunObjs
#define WPHost_wpHideFldrRunObjs WPFolder_wpHideFldrRunObjs
#define WPHost_wpSetFldrDetailsClass WPFolder_wpSetFldrDetailsClass
#define WPHost_wpQueryFldrDetailsClass WPFolder_wpQueryFldrDetailsClass
#define WPHost_wpSearchFolder WPFolder_wpSearchFolder
#define WPHost_wpContainsFolders WPFolder_wpContainsFolders
#define WPHost_wpQueryOpenFolders WPFolder_wpQueryOpenFolders
#define WPHost_wpModifyFldrFlags WPFolder_wpModifyFldrFlags
#define WPHost_wpAddToContent WPFolder_wpAddToContent
#define WPHost_wpDeleteFromContent WPFolder_wpDeleteFromContent
#define WPHost_wpSetDetailsColumnVisibility WPFolder_wpSetDetailsColumnVisibility
#define WPHost_wpIsDetailsColumnVisible WPFolder_wpIsDetailsColumnVisible
#define WPHost_wpSetFldrSortClass WPFolder_wpSetFldrSortClass
#define WPHost_wpQueryFldrSortClass WPFolder_wpQueryFldrSortClass
#define WPHost_wpSetSortAttribAvailable WPFolder_wpSetSortAttribAvailable
#define WPHost_wpIsSortAttribAvailable WPFolder_wpIsSortAttribAvailable
#define WPHost_wpQueryIconViewPos WPFolder_wpQueryIconViewPos
#define WPHost_wpFlushNotifications WPFolder_wpFlushNotifications
#define WPHost_wpSetMenuBarVisibility WPFolder_wpSetMenuBarVisibility
#define WPHost_wpQueryMenuBarVisibility WPFolder_wpQueryMenuBarVisibility
#define WPHost_wpQueryIconTextBackgroundColor WPFolder_wpQueryIconTextBackgroundColor
#define WPHost_wpSetIconTextBackgroundColor WPFolder_wpSetIconTextBackgroundColor
#define WPHost_wpQueryIconTextColor WPFolder_wpQueryIconTextColor
#define WPHost_wpSetIconTextColor WPFolder_wpSetIconTextColor
#define WPHost_wpQueryShadowTextColor WPFolder_wpQueryShadowTextColor
#define WPHost_wpSetShadowTextColor WPFolder_wpSetShadowTextColor
#define WPHost_wpQueryIconTextVisibility WPFolder_wpQueryIconTextVisibility
#define WPHost_wpSetIconTextVisibility WPFolder_wpSetIconTextVisibility
#define WPHost_wpQueryFldrBackground WPFolder_wpQueryFldrBackground
#define WPHost_wpSetFldrBackground WPFolder_wpSetFldrBackground
#define WPHost_wpFree WPObject_wpFree
#define WPHost_wpDelete WPObject_wpDelete
#define WPHost_wpConfirmDelete WPObject_wpConfirmDelete
#define WPHost_wpMoveObject WPObject_wpMoveObject
#define WPHost_wpFormatDragItem WPObject_wpFormatDragItem
#define WPHost_wpRender WPObject_wpRender
#define WPHost_wpRefresh WPFileSystem_wpRefresh
#define WPHost_wpQueryDefaultView WPObject_wpQueryDefaultView
#define WPHost_wpRenderComplete WPObject_wpRenderComplete
#define WPHost_wpAddFileMenuPage WPFileSystem_wpAddFileMenuPage
#define WPHost_wpQueryDefaultHelp WPObject_wpQueryDefaultHelp
#define WPHost_wpObjectReady WPObject_wpObjectReady
#define WPHost_wpAddObjectWindowPage WPObject_wpAddObjectWindowPage
#define WPHost_wpModifyMenu WPObject_wpModifyMenu
#define WPHost_wpFilterMenu WPObject_wpFilterMenu
#define WPHost_wpDisplayMenu WPObject_wpDisplayMenu
#define WPHost_wpSetIconData WPObject_wpSetIconData
#define WPHost_wpSetRealName WPFileSystem_wpSetRealName
#define WPHost_wpSetType WPFileSystem_wpSetType
#define WPHost_wpQueryType WPFileSystem_wpQueryType
#define WPHost_wpSetAttr WPFileSystem_wpSetAttr
#define WPHost_wpQueryAttr WPFileSystem_wpQueryAttr
#define WPHost_wpQueryCreation WPFileSystem_wpQueryCreation
#define WPHost_wpQueryLastAccess WPFileSystem_wpQueryLastAccess
#define WPHost_wpQueryLastWrite WPFileSystem_wpQueryLastWrite
#define WPHost_wpQueryFileSize WPFileSystem_wpQueryFileSize
#define WPHost_wpQueryEASize WPFileSystem_wpQueryEASize
#define WPHost_wpSetDateInfo WPFileSystem_wpSetDateInfo
#define WPHost_wpSetFileSizeInfo WPFileSystem_wpSetFileSizeInfo
#define WPHost_wpQueryRefreshFlags WPFileSystem_wpQueryRefreshFlags
#define WPHost_wpSetRefreshFlags WPFileSystem_wpSetRefreshFlags
#define WPHost_wpPrintPlainTextFile WPFileSystem_wpPrintPlainTextFile
#define WPHost_wpSetTitleAndRenameFile WPFileSystem_wpSetTitleAndRenameFile
#define WPHost_wpConfirmRenameFileWithExt WPFileSystem_wpConfirmRenameFileWithExt
#define WPHost_wpVerifyUpdateAccess WPFileSystem_wpVerifyUpdateAccess
#define WPHost_wpQueryEASupport WPFileSystem_wpQueryEASupport
#define WPHost_wpAddUserItemsToPopupMenu WPFileSystem_wpAddUserItemsToPopupMenu
#define WPHost_wpIsDiskSwapped WPFileSystem_wpIsDiskSwapped
#define WPHost_wpQueryRealName WPFileSystem_wpQueryRealName
#define WPHost_wpQueryFilename WPFileSystem_wpQueryFilename
#define WPHost_wpQueryDisk WPFileSystem_wpQueryDisk
#define WPHost_wpQueryDateInfo WPFileSystem_wpQueryDateInfo
#define WPHost_wpConfirmKeepAssoc WPFileSystem_wpConfirmKeepAssoc
#define WPHost_wpQueryFileSizeL WPFileSystem_wpQueryFileSizeL
#define WPHost_wpSetFileSizeL WPFileSystem_wpSetFileSizeL
#define WPHost_wpQueryHandle WPObject_wpQueryHandle
#define WPHost_wpSaveImmediate WPObject_wpSaveImmediate
#define WPHost_wpSetTitle WPObject_wpSetTitle
#define WPHost_wpViewObject WPObject_wpViewObject
#define WPHost_wpSwitchTo WPObject_wpSwitchTo
#define WPHost_wpQueryIcon WPObject_wpQueryIcon
#define WPHost_wpQueryIconData WPObject_wpQueryIconData
#define WPHost_wpQueryDetailsData WPObject_wpQueryDetailsData
#define WPHost_wpDraggedOverObject WPObject_wpDraggedOverObject
#define WPHost_wpDroppedOnObject WPObject_wpDroppedOnObject
#define WPHost_wpQueryNameClashOptions WPObject_wpQueryNameClashOptions
#define WPHost_wpAppendObject WPObject_wpAppendObject
#define WPHost_wpReplaceObject WPObject_wpReplaceObject
#define WPHost_wpQueryStyle WPObject_wpQueryStyle
#define WPHost_wpDoesObjectMatch WPObject_wpDoesObjectMatch
#define WPHost_wpIdentify WPObject_wpIdentify
#define WPHost_wpIsDeleteable WPObject_wpIsDeleteable
#define WPHost_wpAddObjectGeneralPage2 WPObject_wpAddObjectGeneralPage2
#define WPHost_wpAddToObjUseList WPObject_wpAddToObjUseList
#define WPHost_wpAllocMem WPObject_wpAllocMem
#define WPHost_wpAssertObjectMutexSem WPObject_wpAssertObjectMutexSem
#define WPHost_wpCnrInsertObject WPObject_wpCnrInsertObject
#define WPHost_wpCnrRemoveObject WPObject_wpCnrRemoveObject
#define WPHost_wpCnrSetEmphasis WPObject_wpCnrSetEmphasis
#define WPHost_wpConfirmObjectTitle WPObject_wpConfirmObjectTitle
#define WPHost_wpCopiedFromTemplate WPObject_wpCopiedFromTemplate
#define WPHost_wpCreateShadowObject WPObject_wpCreateShadowObject
#define WPHost_wpDisplayHelp WPObject_wpDisplayHelp
#define WPHost_wpEndConversation WPObject_wpEndConversation
#define WPHost_wpFilterPopupMenu WPObject_wpFilterPopupMenu
#define WPHost_wpFindUseItem WPObject_wpFindUseItem
#define WPHost_wpFreeMem WPObject_wpFreeMem
#define WPHost_wpHide WPObject_wpHide
#define WPHost_wpInsertPopupMenuItems WPObject_wpInsertPopupMenuItems
#define WPHost_wpInsertMenuItems WPObject_wpInsertMenuItems
#define WPHost_wpInsertSettingsPage WPObject_wpInsertSettingsPage
#define WPHost_wpPrintObject WPObject_wpPrintObject
#define WPHost_wpQueryConcurrentView WPObject_wpQueryConcurrentView
#define WPHost_wpQueryButtonAppearance WPObject_wpQueryButtonAppearance
#define WPHost_wpQueryError WPObject_wpQueryError
#define WPHost_wpSetFolder WPObject_wpSetFolder
#define WPHost_wpQueryFolder WPObject_wpQueryFolder
#define WPHost_wpQueryMinWindow WPObject_wpQueryMinWindow
#define WPHost_wpSetTaskRec WPObject_wpSetTaskRec
#define WPHost_wpFindTaskRec WPObject_wpFindTaskRec
#define WPHost_wpQueryTitle WPObject_wpQueryTitle
#define WPHost_wpRegisterView WPObject_wpRegisterView
#define WPHost_wpReleaseObjectMutexSem WPObject_wpReleaseObjectMutexSem
#define WPHost_wpRequestObjectMutexSem WPObject_wpRequestObjectMutexSem
#define WPHost_wpRestore WPObject_wpRestore
#define WPHost_wpRestoreData WPObject_wpRestoreData
#define WPHost_wpRestoreLong WPObject_wpRestoreLong
#define WPHost_wpRestoreString WPObject_wpRestoreString
#define WPHost_wpSaveData WPObject_wpSaveData
#define WPHost_wpSaveDeferred WPObject_wpSaveDeferred
#define WPHost_wpSaveLong WPObject_wpSaveLong
#define WPHost_wpSaveString WPObject_wpSaveString
#define WPHost_wpScanSetupString WPObject_wpScanSetupString
#define WPHost_wpSetConcurrentView WPObject_wpSetConcurrentView
#define WPHost_wpSetButtonAppearance WPObject_wpSetButtonAppearance
#define WPHost_wpSetDefaultHelp WPObject_wpSetDefaultHelp
#define WPHost_wpSetDefaultView WPObject_wpSetDefaultView
#define WPHost_wpSetError WPObject_wpSetError
#define WPHost_wpQueryScreenGroupID WPObject_wpQueryScreenGroupID
#define WPHost_wpSetIcon WPObject_wpSetIcon
#define WPHost_wpSetMinWindow WPObject_wpSetMinWindow
#define WPHost_wpModifyStyle WPObject_wpModifyStyle
#define WPHost_wpQueryTrueStyle WPObject_wpQueryTrueStyle
#define WPHost_wpUnlockObject WPObject_wpUnlockObject
#define WPHost_wpIsObjectInitialized WPObject_wpIsObjectInitialized
#define WPHost_wpCreateShadowObjectExt WPObject_wpCreateShadowObjectExt
#define WPHost_wpCnrDeleteUseItem WPObject_wpCnrDeleteUseItem
#define WPHost_wpQueryCoreRecord WPObject_wpQueryCoreRecord
#define WPHost_wpSetObjectID WPObject_wpSetObjectID
#define WPHost_wpQueryObjectID WPObject_wpQueryObjectID
#define WPHost_wpSetDefaultIconPos WPObject_wpSetDefaultIconPos
#define WPHost_wpQueryDefaultIconPos WPObject_wpQueryDefaultIconPos
#define WPHost_wpCnrRefreshDetails WPObject_wpCnrRefreshDetails
#define WPHost_wpFindViewItem WPObject_wpFindViewItem
#define WPHost_wpLockObject WPObject_wpLockObject
#define WPHost_wpIsLocked WPObject_wpIsLocked
#define WPHost_wpQueryContainerFlagPtr WPObject_wpQueryContainerFlagPtr
#define WPHost_wpWaitForClose WPObject_wpWaitForClose
#define WPHost_wpSetMenuStyle WPObject_wpSetMenuStyle
#define WPHost_wpQueryMenuStyle WPObject_wpQueryMenuStyle
#define WPHost_wpSetStyle WPObject_wpSetStyle
#define WPHost_somInit SOMObject_somInit
#define WPHost_somUninit SOMObject_somUninit
#define WPHost_somDefaultCopyInit SOMObject_somDefaultCopyInit
#define WPHost_somDefaultAssign SOMObject_somDefaultAssign
#define WPHost_somDefaultConstCopyInit SOMObject_somDefaultConstCopyInit
#define WPHost_somDefaultVCopyInit SOMObject_somDefaultVCopyInit
#define WPHost_somDefaultConstVCopyInit SOMObject_somDefaultConstVCopyInit
#define WPHost_somDefaultConstAssign SOMObject_somDefaultConstAssign
#define WPHost_somDefaultVAssign SOMObject_somDefaultVAssign
#define WPHost_somDefaultConstVAssign SOMObject_somDefaultConstVAssign
#define WPHost_somFree SOMObject_somFree
#define WPHost_somGetClass SOMObject_somGetClass
#define WPHost_somGetClassName SOMObject_somGetClassName
#define WPHost_somGetSize SOMObject_somGetSize
#define WPHost_somIsA SOMObject_somIsA
#define WPHost_somIsInstanceOf SOMObject_somIsInstanceOf
#define WPHost_somRespondsTo SOMObject_somRespondsTo
#define WPHost_somDispatch SOMObject_somDispatch
#define WPHost_somClassDispatch SOMObject_somClassDispatch
#define WPHost_somCastObj SOMObject_somCastObj
#define WPHost_somResetObj SOMObject_somResetObj
#define WPHost_somDispatchV SOMObject_somDispatchV
#define WPHost_somDispatchL SOMObject_somDispatchL
#define WPHost_somDispatchA SOMObject_somDispatchA
#define WPHost_somDispatchD SOMObject_somDispatchD
#define WPHost_somPrintSelf SOMObject_somPrintSelf
#define WPHost_somDumpSelf SOMObject_somDumpSelf
#define WPHost_somDumpSelfInt SOMObject_somDumpSelfInt
#endif /* SOM_DONT_USE_INHERITED_MACROS */

#endif       /* SOM_WPHost_h */

#ifndef SOM_M_WPHost_h
#define SOM_M_WPHost_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_WPHost
#define M_WPHost SOMObject
#endif
#include <wpfolder.h>

/*
 * Start of bindings for IDL types
 */


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

#define M_WPHost_MajorVersion 1
#define M_WPHost_MinorVersion 2

/*
 * External name shortening if required
 */
#ifdef SOM_USE_SHORT_EXTERNAL_NAMES
#define M_WPHostNewClass wphostc
#pragma linkage(wphostc, system)
#define M_WPHostClassData wphostd
#define M_WPHostCClassData wphostx
#endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
/*--------------Migration------------*/
#define M_WPHost_classObj M_WPHostClassData.classObject
#define _M_WPHost M_WPHost_classObj

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

/*
 * Declare the class data structure
 */
SOMEXTERN struct M_WPHostClassDataStructure {
	SOMClass *classObject;
} SOMDLINK M_WPHostClassData;

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

/*
 * New and Renew macros for M_WPHost
 */
#define M_WPHostNew() \
   ( _M_WPHost ? \
	_somNew(_M_WPHost) \
	: ( M_WPHostNewClass(\
		M_WPHost_MajorVersion, \
		M_WPHost_MinorVersion),\
	   _somNew(_M_WPHost)))
#define M_WPHostRenew(buf) \
   ( _M_WPHost ? \
	_somRenew(_M_WPHost, buf) \
	: ( M_WPHostNewClass(\
		M_WPHost_MajorVersion, \
		M_WPHost_MinorVersion),\
	   _somRenew(_M_WPHost, buf)))

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

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

/*
 * Override method: wpclsQueryIconDataN
 */
#define M_WPHost_wpclsQueryIconDataN(somSelf,pIconInfo,ulIconIndex) \
	M_WPFolder_wpclsQueryIconDataN(somSelf,pIconInfo,ulIconIndex)

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

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

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

/*
 * Override method: wpclsCreateDefaultTemplates
 */
#define M_WPHost_wpclsCreateDefaultTemplates(somSelf,Folder) \
	M_WPObject_wpclsCreateDefaultTemplates(somSelf,Folder)

/*
 * Override method: wpclsInitData
 */
#define M_WPHost_wpclsInitData(somSelf) \
	M_WPObject_wpclsInitData(somSelf)
#ifndef SOM_DONT_USE_INHERITED_MACROS
#define M_WPHost_wpclsQueryIconN M_WPFolder_wpclsQueryIconN
#define M_WPHost_wpclsQueryOpenFolders M_WPFolder_wpclsQueryOpenFolders
#define M_WPHost_wpclsQuerySettingsPageSize M_WPObject_wpclsQuerySettingsPageSize
#define M_WPHost_wpclsQueryAwakeObject M_WPFileSystem_wpclsQueryAwakeObject
#define M_WPHost_wpclsFileSysExists M_WPFileSystem_wpclsFileSysExists
#define M_WPHost_wpclsQueryObjectFromPath M_WPFileSystem_wpclsQueryObjectFromPath
#define M_WPHost_wpclsQueryInstanceType M_WPFileSystem_wpclsQueryInstanceType
#define M_WPHost_wpclsQueryInstanceFilter M_WPFileSystem_wpclsQueryInstanceFilter
#define M_WPHost_wpclsQueryInstanceClass M_WPFileSystem_wpclsQueryInstanceClass
#define M_WPHost_wpclsQueryDetailsInfo M_WPObject_wpclsQueryDetailsInfo
#define M_WPHost_wpclsQuerySearchInfo M_WPObject_wpclsQuerySearchInfo
#define M_WPHost_wpclsQueryExtendedCriteria M_WPObject_wpclsQueryExtendedCriteria
#define M_WPHost_wpclsNew M_WPObject_wpclsNew
#define M_WPHost_wpclsObjectFromHandle M_WPObject_wpclsObjectFromHandle
#define M_WPHost_wpclsMakeAwake M_WPObject_wpclsMakeAwake
#define M_WPHost_wpclsQueryDetails M_WPObject_wpclsQueryDetails
#define M_WPHost_wpclsQueryFolder M_WPObject_wpclsQueryFolder
#define M_WPHost_wpclsQueryIcon M_WPObject_wpclsQueryIcon
#define M_WPHost_wpclsUnInitData M_WPObject_wpclsUnInitData
#define M_WPHost_wpclsFindObjectFirst M_WPObject_wpclsFindObjectFirst
#define M_WPHost_wpclsFindObjectNext M_WPObject_wpclsFindObjectNext
#define M_WPHost_wpclsFindObjectEnd M_WPObject_wpclsFindObjectEnd
#define M_WPHost_wpclsSetError M_WPObject_wpclsSetError
#define M_WPHost_wpclsQueryError M_WPObject_wpclsQueryError
#define M_WPHost_wpclsQueryObject M_WPObject_wpclsQueryObject
#define M_WPHost_wpclsQueryButtonAppearance M_WPObject_wpclsQueryButtonAppearance
#define M_WPHost_wpclsDecUsage M_WPObject_wpclsDecUsage
#define M_WPHost_wpclsIncUsage M_WPObject_wpclsIncUsage
#define M_WPHost_wpclsInsertMultipleObjects M_WPObject_wpclsInsertMultipleObjects
#define M_WPHost_wpclsFindOneObject M_WPObject_wpclsFindOneObject
#define M_WPHost_wpclsSetSettingsPageSize M_WPObject_wpclsSetSettingsPageSize
#define M_WPHost_wpclsSetIconData M_WPObject_wpclsSetIconData
#define M_WPHost_wpclsSetIcon M_WPObject_wpclsSetIcon
#define M_WPHost_wpclsRemoveObjects M_WPObject_wpclsRemoveObjects
#define M_WPHost_somUninit SOMObject_somUninit
#define M_WPHost_somClassReady SOMClass_somClassReady
#define M_WPHost_somNew SOMClass_somNew
#define M_WPHost_somRenew SOMClass_somRenew
#define M_WPHost__get_somDataAlignment SOMClass__get_somDataAlignment
#define M_WPHost__get_somInstanceDataOffsets SOMClass__get_somInstanceDataOffsets
#define M_WPHost__get_somDirectInitClasses SOMClass__get_somDirectInitClasses
#define M_WPHost__set_somDirectInitClasses SOMClass__set_somDirectInitClasses
#define M_WPHost_somNewNoInit SOMClass_somNewNoInit
#define M_WPHost_somRenewNoInit SOMClass_somRenewNoInit
#define M_WPHost_somRenewNoZero SOMClass_somRenewNoZero
#define M_WPHost_somRenewNoInitNoZero SOMClass_somRenewNoInitNoZero
#define M_WPHost_somAllocate SOMClass_somAllocate
#define M_WPHost_somDeallocate SOMClass_somDeallocate
#define M_WPHost__get_somClassAllocate SOMClass__get_somClassAllocate
#define M_WPHost__get_somClassDeallocate SOMClass__get_somClassDeallocate
#define M_WPHost_somGetInstanceInitMask SOMClass_somGetInstanceInitMask
#define M_WPHost_somGetInstanceDestructionMask SOMClass_somGetInstanceDestructionMask
#define M_WPHost_somGetInstanceAssignmentMask SOMClass_somGetInstanceAssignmentMask
#define M_WPHost_somInitClass SOMClass_somInitClass
#define M_WPHost_somInitMIClass SOMClass_somInitMIClass
#define M_WPHost_somAddStaticMethod SOMClass_somAddStaticMethod
#define M_WPHost_somAddDynamicMethod SOMClass_somAddDynamicMethod
#define M_WPHost_somOverrideSMethod SOMClass_somOverrideSMethod
#define M_WPHost_somGetApplyStub SOMClass_somGetApplyStub
#define M_WPHost_somGetClassData SOMClass_somGetClassData
#define M_WPHost_somSetClassData SOMClass_somSetClassData
#define M_WPHost_somGetClassMtab SOMClass_somGetClassMtab
#define M_WPHost_somGetInstanceOffset SOMClass_somGetInstanceOffset
#define M_WPHost_somGetInstancePartSize SOMClass_somGetInstancePartSize
#define M_WPHost_somGetInstanceSize SOMClass_somGetInstanceSize
#define M_WPHost_somGetInstanceToken SOMClass_somGetInstanceToken
#define M_WPHost_somGetMemberToken SOMClass_somGetMemberToken
#define M_WPHost_somGetMethodData SOMClass_somGetMethodData
#define M_WPHost_somGetRdStub SOMClass_somGetRdStub
#define M_WPHost_somGetMethodDescriptor SOMClass_somGetMethodDescriptor
#define M_WPHost_somGetMethodIndex SOMClass_somGetMethodIndex
#define M_WPHost_somGetMethodToken SOMClass_somGetMethodToken
#define M_WPHost_somGetName SOMClass_somGetName
#define M_WPHost_somGetNthMethodData SOMClass_somGetNthMethodData
#define M_WPHost_somGetNthMethodInfo SOMClass_somGetNthMethodInfo
#define M_WPHost_somGetNumMethods SOMClass_somGetNumMethods
#define M_WPHost_somGetNumStaticMethods SOMClass_somGetNumStaticMethods
#define M_WPHost_somGetParent SOMClass_somGetParent
#define M_WPHost_somGetParents SOMClass_somGetParents
#define M_WPHost_somGetPClsMtab SOMClass_somGetPClsMtab
#define M_WPHost_somGetPClsMtabs SOMClass_somGetPClsMtabs
#define M_WPHost_somGetVersionNumbers SOMClass_somGetVersionNumbers
#define M_WPHost_somSetMethodDescriptor SOMClass_somSetMethodDescriptor
#define M_WPHost_somFindMethod SOMClass_somFindMethod
#define M_WPHost_somFindMethodOk SOMClass_somFindMethodOk
#define M_WPHost_somFindSMethod SOMClass_somFindSMethod
#define M_WPHost_somFindSMethodOk SOMClass_somFindSMethodOk
#define M_WPHost_somLookupMethod SOMClass_somLookupMethod
#define M_WPHost_somCheckVersion SOMClass_somCheckVersion
#define M_WPHost_somDescendedFrom SOMClass_somDescendedFrom
#define M_WPHost_somSupportsMethod SOMClass_somSupportsMethod
#define M_WPHost_somDefinedMethod SOMClass_somDefinedMethod
#define M_WPHost_somOverrideMtab SOMClass_somOverrideMtab
#define M_WPHost_somDefaultInit SOMObject_somDefaultInit
#define M_WPHost_somDestruct SOMObject_somDestruct
#define M_WPHost_somDefaultCopyInit SOMObject_somDefaultCopyInit
#define M_WPHost_somDefaultAssign SOMObject_somDefaultAssign
#define M_WPHost_somDefaultConstCopyInit SOMObject_somDefaultConstCopyInit
#define M_WPHost_somDefaultVCopyInit SOMObject_somDefaultVCopyInit
#define M_WPHost_somDefaultConstVCopyInit SOMObject_somDefaultConstVCopyInit
#define M_WPHost_somDefaultConstAssign SOMObject_somDefaultConstAssign
#define M_WPHost_somDefaultVAssign SOMObject_somDefaultVAssign
#define M_WPHost_somDefaultConstVAssign SOMObject_somDefaultConstVAssign
#define M_WPHost_somInit SOMObject_somInit
#define M_WPHost_somFree SOMObject_somFree
#define M_WPHost_somGetClass SOMObject_somGetClass
#define M_WPHost_somGetClassName SOMObject_somGetClassName
#define M_WPHost_somGetSize SOMObject_somGetSize
#define M_WPHost_somIsA SOMObject_somIsA
#define M_WPHost_somIsInstanceOf SOMObject_somIsInstanceOf
#define M_WPHost_somRespondsTo SOMObject_somRespondsTo
#define M_WPHost_somDispatch SOMObject_somDispatch
#define M_WPHost_somClassDispatch SOMObject_somClassDispatch
#define M_WPHost_somCastObj SOMObject_somCastObj
#define M_WPHost_somResetObj SOMObject_somResetObj
#define M_WPHost_somDispatchV SOMObject_somDispatchV
#define M_WPHost_somDispatchL SOMObject_somDispatchL
#define M_WPHost_somDispatchA SOMObject_somDispatchA
#define M_WPHost_somDispatchD SOMObject_somDispatchD
#define M_WPHost_somPrintSelf SOMObject_somPrintSelf
#define M_WPHost_somDumpSelf SOMObject_somDumpSelf
#define M_WPHost_somDumpSelfInt SOMObject_somDumpSelfInt
#endif /* SOM_DONT_USE_INHERITED_MACROS */

#endif       /* SOM_M_WPHost_h */
