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

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


#ifndef SOM_WPServer_h
#define SOM_WPServer_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 WPServer
#define WPServer 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_WPServer
    #define M_WPServer SOMObject
#endif /* M_WPServer */

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

#define WPServer_MajorVersion 1
#define WPServer_MinorVersion 2

/*
 * External name shortening if required
 */
#ifdef SOM_USE_SHORT_EXTERNAL_NAMES
#define WPServerNewClass wpserc
#pragma linkage(wpserc, system)
#define WPServerClassData wpserd
#define WPServerCClassData wpserx
#endif /* SOM_USE_SHORT_EXTERNAL_NAMES */

/*
 * Include the meta class file
 */
#include <wpserver.h>
/*--------------Migration------------*/
#define WPServer_classObj WPServerClassData.classObject
#define _WPServer WPServer_classObj

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

/*
 * Declare the class data structure
 */
SOMEXTERN struct WPServerClassDataStructure {
	SOMClass *classObject;
	somMToken wpAddServerPage;
	somMToken wpQuerySrvrIdentity;
} SOMDLINK WPServerClassData;

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

/*
 * New and Renew macros for WPServer
 */
#define WPServerNew() \
   ( _WPServer ? \
	_somNew(_WPServer) \
	: ( WPServerNewClass(\
		WPServer_MajorVersion, \
		WPServer_MinorVersion),\
	   _somNew(_WPServer)))
#define WPServerRenew(buf) \
   ( _WPServer ? \
	_somRenew(_WPServer, buf) \
	: ( WPServerNewClass(\
		WPServer_MajorVersion, \
		WPServer_MinorVersion),\
	   _somRenew(_WPServer, buf)))

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/*
 * Override method: wpAddObjectGeneralPage2
 */
#define WPServer_wpAddObjectGeneralPage2(somSelf,hwndNotebook) \
	WPObject_wpAddObjectGeneralPage2(somSelf,hwndNotebook)

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

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

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

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

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

/*
 * New Method: wpAddServerPage
 */
typedef ULONG   SOMLINK somTP_WPServer_wpAddServerPage(WPServer *somSelf, 
		HWND hwndNotebook);
#pragma linkage(somTP_WPServer_wpAddServerPage, system)
typedef somTP_WPServer_wpAddServerPage *somTD_WPServer_wpAddServerPage;
#define somMD_WPServer_wpAddServerPage "::WPServer::wpAddServerPage"
#define WPServer_wpAddServerPage(somSelf,hwndNotebook) \
    (SOM_Resolve(somSelf, WPServer, wpAddServerPage) \
	(somSelf,hwndNotebook))
#ifndef SOMGD_wpAddServerPage
    #if (defined(_wpAddServerPage) || defined(__wpAddServerPage))
        #undef _wpAddServerPage
        #undef __wpAddServerPage
        #define SOMGD_wpAddServerPage 1
    #else
        #define _wpAddServerPage WPServer_wpAddServerPage
    #endif /* _wpAddServerPage */
#endif /* SOMGD_wpAddServerPage */

/*
 * New Method: wpQuerySrvrIdentity
 */
typedef PSZ   SOMLINK somTP_WPServer_wpQuerySrvrIdentity(WPServer *somSelf);
#pragma linkage(somTP_WPServer_wpQuerySrvrIdentity, system)
typedef somTP_WPServer_wpQuerySrvrIdentity *somTD_WPServer_wpQuerySrvrIdentity;
#define somMD_WPServer_wpQuerySrvrIdentity "::WPServer::wpQuerySrvrIdentity"
#define WPServer_wpQuerySrvrIdentity(somSelf) \
    (SOM_Resolve(somSelf, WPServer, wpQuerySrvrIdentity) \
	(somSelf))
#ifndef SOMGD_wpQuerySrvrIdentity
    #if (defined(_wpQuerySrvrIdentity) || defined(__wpQuerySrvrIdentity))
        #undef _wpQuerySrvrIdentity
        #undef __wpQuerySrvrIdentity
        #define SOMGD_wpQuerySrvrIdentity 1
    #else
        #define _wpQuerySrvrIdentity WPServer_wpQuerySrvrIdentity
    #endif /* _wpQuerySrvrIdentity */
#endif /* SOMGD_wpQuerySrvrIdentity */
#ifndef SOM_DONT_USE_INHERITED_MACROS
#define WPServer_wpSetFldrFlags WPFolder_wpSetFldrFlags
#define WPServer_wpQueryFldrFlags WPFolder_wpQueryFldrFlags
#define WPServer_wpSetFldrFont WPFolder_wpSetFldrFont
#define WPServer_wpQueryFldrFont WPFolder_wpQueryFldrFont
#define WPServer_wpSetFldrAttr WPFolder_wpSetFldrAttr
#define WPServer_wpQueryFldrAttr WPFolder_wpQueryFldrAttr
#define WPServer_wpSetNextIconPos WPFolder_wpSetNextIconPos
#define WPServer_wpQueryNextIconPos WPFolder_wpQueryNextIconPos
#define WPServer_wpQueryContent WPFolder_wpQueryContent
#define WPServer_wpAddFolderView1Page WPFolder_wpAddFolderView1Page
#define WPServer_wpAddFolderView2Page WPFolder_wpAddFolderView2Page
#define WPServer_wpAddFolderView3Page WPFolder_wpAddFolderView3Page
#define WPServer_wpAddFolderSortPage WPFolder_wpAddFolderSortPage
#define WPServer_wpAddFolderBackgroundPage WPFolder_wpAddFolderBackgroundPage
#define WPServer_wpAddFolderMenu2Page WPFolder_wpAddFolderMenu2Page
#define WPServer_wpAddFolderSelfClosePage WPFolder_wpAddFolderSelfClosePage
#define WPServer_wpInitIconPosData WPFolder_wpInitIconPosData
#define WPServer_wpFreeIconPosData WPFolder_wpFreeIconPosData
#define WPServer_wpStoreIconPosData WPFolder_wpStoreIconPosData
#define WPServer_wpQueryIconPosition WPFolder_wpQueryIconPosition
#define WPServer_wpSetFldrSort WPFolder_wpSetFldrSort
#define WPServer_wpQueryFldrSort WPFolder_wpQueryFldrSort
#define WPServer_wpRestoreFldrRunObjs WPFolder_wpRestoreFldrRunObjs
#define WPServer_wpStoreFldrRunObjs WPFolder_wpStoreFldrRunObjs
#define WPServer_wpHideFldrRunObjs WPFolder_wpHideFldrRunObjs
#define WPServer_wpSetFldrDetailsClass WPFolder_wpSetFldrDetailsClass
#define WPServer_wpQueryFldrDetailsClass WPFolder_wpQueryFldrDetailsClass
#define WPServer_wpSearchFolder WPFolder_wpSearchFolder
#define WPServer_wpContainsFolders WPFolder_wpContainsFolders
#define WPServer_wpQueryOpenFolders WPFolder_wpQueryOpenFolders
#define WPServer_wpModifyFldrFlags WPFolder_wpModifyFldrFlags
#define WPServer_wpAddToContent WPFolder_wpAddToContent
#define WPServer_wpDeleteFromContent WPFolder_wpDeleteFromContent
#define WPServer_wpSetDetailsColumnVisibility WPFolder_wpSetDetailsColumnVisibility
#define WPServer_wpIsDetailsColumnVisible WPFolder_wpIsDetailsColumnVisible
#define WPServer_wpSetFldrSortClass WPFolder_wpSetFldrSortClass
#define WPServer_wpQueryFldrSortClass WPFolder_wpQueryFldrSortClass
#define WPServer_wpSetSortAttribAvailable WPFolder_wpSetSortAttribAvailable
#define WPServer_wpIsSortAttribAvailable WPFolder_wpIsSortAttribAvailable
#define WPServer_wpQueryIconViewPos WPFolder_wpQueryIconViewPos
#define WPServer_wpFlushNotifications WPFolder_wpFlushNotifications
#define WPServer_wpSetMenuBarVisibility WPFolder_wpSetMenuBarVisibility
#define WPServer_wpQueryMenuBarVisibility WPFolder_wpQueryMenuBarVisibility
#define WPServer_wpQueryIconTextBackgroundColor WPFolder_wpQueryIconTextBackgroundColor
#define WPServer_wpSetIconTextBackgroundColor WPFolder_wpSetIconTextBackgroundColor
#define WPServer_wpQueryIconTextColor WPFolder_wpQueryIconTextColor
#define WPServer_wpSetIconTextColor WPFolder_wpSetIconTextColor
#define WPServer_wpQueryShadowTextColor WPFolder_wpQueryShadowTextColor
#define WPServer_wpSetShadowTextColor WPFolder_wpSetShadowTextColor
#define WPServer_wpQueryIconTextVisibility WPFolder_wpQueryIconTextVisibility
#define WPServer_wpSetIconTextVisibility WPFolder_wpSetIconTextVisibility
#define WPServer_wpQueryFldrBackground WPFolder_wpQueryFldrBackground
#define WPServer_wpSetFldrBackground WPFolder_wpSetFldrBackground
#define WPServer_wpFree WPObject_wpFree
#define WPServer_wpDelete WPObject_wpDelete
#define WPServer_wpConfirmDelete WPObject_wpConfirmDelete
#define WPServer_wpMoveObject WPObject_wpMoveObject
#define WPServer_wpDrop WPObject_wpDrop
#define WPServer_wpDragOver WPObject_wpDragOver
#define WPServer_wpFormatDragItem WPObject_wpFormatDragItem
#define WPServer_wpRender WPObject_wpRender
#define WPServer_wpRefresh WPFileSystem_wpRefresh
#define WPServer_wpQueryDefaultView WPObject_wpQueryDefaultView
#define WPServer_wpRenderComplete WPObject_wpRenderComplete
#define WPServer_wpAddFileMenuPage WPFileSystem_wpAddFileMenuPage
#define WPServer_wpQueryDefaultHelp WPObject_wpQueryDefaultHelp
#define WPServer_wpObjectReady WPObject_wpObjectReady
#define WPServer_wpAddObjectWindowPage WPObject_wpAddObjectWindowPage
#define WPServer_wpDisplayMenu WPObject_wpDisplayMenu
#define WPServer_wpSetIconData WPObject_wpSetIconData
#define WPServer_wpSetRealName WPFileSystem_wpSetRealName
#define WPServer_wpSetType WPFileSystem_wpSetType
#define WPServer_wpQueryType WPFileSystem_wpQueryType
#define WPServer_wpSetAttr WPFileSystem_wpSetAttr
#define WPServer_wpQueryAttr WPFileSystem_wpQueryAttr
#define WPServer_wpQueryCreation WPFileSystem_wpQueryCreation
#define WPServer_wpQueryLastAccess WPFileSystem_wpQueryLastAccess
#define WPServer_wpQueryLastWrite WPFileSystem_wpQueryLastWrite
#define WPServer_wpQueryFileSize WPFileSystem_wpQueryFileSize
#define WPServer_wpQueryEASize WPFileSystem_wpQueryEASize
#define WPServer_wpSetDateInfo WPFileSystem_wpSetDateInfo
#define WPServer_wpSetFileSizeInfo WPFileSystem_wpSetFileSizeInfo
#define WPServer_wpQueryRefreshFlags WPFileSystem_wpQueryRefreshFlags
#define WPServer_wpSetRefreshFlags WPFileSystem_wpSetRefreshFlags
#define WPServer_wpPrintPlainTextFile WPFileSystem_wpPrintPlainTextFile
#define WPServer_wpSetTitleAndRenameFile WPFileSystem_wpSetTitleAndRenameFile
#define WPServer_wpConfirmRenameFileWithExt WPFileSystem_wpConfirmRenameFileWithExt
#define WPServer_wpVerifyUpdateAccess WPFileSystem_wpVerifyUpdateAccess
#define WPServer_wpQueryEASupport WPFileSystem_wpQueryEASupport
#define WPServer_wpAddUserItemsToPopupMenu WPFileSystem_wpAddUserItemsToPopupMenu
#define WPServer_wpIsDiskSwapped WPFileSystem_wpIsDiskSwapped
#define WPServer_wpQueryRealName WPFileSystem_wpQueryRealName
#define WPServer_wpQueryFilename WPFileSystem_wpQueryFilename
#define WPServer_wpQueryDisk WPFileSystem_wpQueryDisk
#define WPServer_wpQueryDateInfo WPFileSystem_wpQueryDateInfo
#define WPServer_wpConfirmKeepAssoc WPFileSystem_wpConfirmKeepAssoc
#define WPServer_wpQueryFileSizeL WPFileSystem_wpQueryFileSizeL
#define WPServer_wpSetFileSizeL WPFileSystem_wpSetFileSizeL
#define WPServer_wpQueryHandle WPObject_wpQueryHandle
#define WPServer_wpSaveImmediate WPObject_wpSaveImmediate
#define WPServer_wpSetTitle WPObject_wpSetTitle
#define WPServer_wpViewObject WPObject_wpViewObject
#define WPServer_wpSwitchTo WPObject_wpSwitchTo
#define WPServer_wpCopyObject WPObject_wpCopyObject
#define WPServer_wpCreateFromTemplate WPObject_wpCreateFromTemplate
#define WPServer_wpQueryIcon WPObject_wpQueryIcon
#define WPServer_wpQueryIconData WPObject_wpQueryIconData
#define WPServer_wpQueryDetailsData WPObject_wpQueryDetailsData
#define WPServer_wpDraggedOverObject WPObject_wpDraggedOverObject
#define WPServer_wpDroppedOnObject WPObject_wpDroppedOnObject
#define WPServer_wpQueryNameClashOptions WPObject_wpQueryNameClashOptions
#define WPServer_wpAppendObject WPObject_wpAppendObject
#define WPServer_wpReplaceObject WPObject_wpReplaceObject
#define WPServer_wpQueryStyle WPObject_wpQueryStyle
#define WPServer_wpDoesObjectMatch WPObject_wpDoesObjectMatch
#define WPServer_wpIdentify WPObject_wpIdentify
#define WPServer_wpIsDeleteable WPObject_wpIsDeleteable
#define WPServer_wpAddToObjUseList WPObject_wpAddToObjUseList
#define WPServer_wpAllocMem WPObject_wpAllocMem
#define WPServer_wpAssertObjectMutexSem WPObject_wpAssertObjectMutexSem
#define WPServer_wpClose WPObject_wpClose
#define WPServer_wpCnrInsertObject WPObject_wpCnrInsertObject
#define WPServer_wpCnrRemoveObject WPObject_wpCnrRemoveObject
#define WPServer_wpCnrSetEmphasis WPObject_wpCnrSetEmphasis
#define WPServer_wpConfirmObjectTitle WPObject_wpConfirmObjectTitle
#define WPServer_wpCopiedFromTemplate WPObject_wpCopiedFromTemplate
#define WPServer_wpCreateAnother WPObject_wpCreateAnother
#define WPServer_wpCreateShadowObject WPObject_wpCreateShadowObject
#define WPServer_wpDeleteFromObjUseList WPObject_wpDeleteFromObjUseList
#define WPServer_wpDisplayHelp WPObject_wpDisplayHelp
#define WPServer_wpEndConversation WPObject_wpEndConversation
#define WPServer_wpFilterPopupMenu WPObject_wpFilterPopupMenu
#define WPServer_wpFindUseItem WPObject_wpFindUseItem
#define WPServer_wpFreeMem WPObject_wpFreeMem
#define WPServer_wpHide WPObject_wpHide
#define WPServer_wpInsertPopupMenuItems WPObject_wpInsertPopupMenuItems
#define WPServer_wpInsertMenuItems WPObject_wpInsertMenuItems
#define WPServer_wpInsertSettingsPage WPObject_wpInsertSettingsPage
#define WPServer_wpModifyPopupMenu WPObject_wpModifyPopupMenu
#define WPServer_wpPrintObject WPObject_wpPrintObject
#define WPServer_wpQueryConcurrentView WPObject_wpQueryConcurrentView
#define WPServer_wpQueryButtonAppearance WPObject_wpQueryButtonAppearance
#define WPServer_wpQueryConfirmations WPObject_wpQueryConfirmations
#define WPServer_wpQueryError WPObject_wpQueryError
#define WPServer_wpSetFolder WPObject_wpSetFolder
#define WPServer_wpQueryFolder WPObject_wpQueryFolder
#define WPServer_wpQueryMinWindow WPObject_wpQueryMinWindow
#define WPServer_wpSetTaskRec WPObject_wpSetTaskRec
#define WPServer_wpFindTaskRec WPObject_wpFindTaskRec
#define WPServer_wpQueryTitle WPObject_wpQueryTitle
#define WPServer_wpRegisterView WPObject_wpRegisterView
#define WPServer_wpReleaseObjectMutexSem WPObject_wpReleaseObjectMutexSem
#define WPServer_wpRequestObjectMutexSem WPObject_wpRequestObjectMutexSem
#define WPServer_wpRestore WPObject_wpRestore
#define WPServer_wpRestoreData WPObject_wpRestoreData
#define WPServer_wpRestoreLong WPObject_wpRestoreLong
#define WPServer_wpRestoreString WPObject_wpRestoreString
#define WPServer_wpSaveData WPObject_wpSaveData
#define WPServer_wpSaveDeferred WPObject_wpSaveDeferred
#define WPServer_wpSaveLong WPObject_wpSaveLong
#define WPServer_wpSaveString WPObject_wpSaveString
#define WPServer_wpScanSetupString WPObject_wpScanSetupString
#define WPServer_wpSetConcurrentView WPObject_wpSetConcurrentView
#define WPServer_wpSetButtonAppearance WPObject_wpSetButtonAppearance
#define WPServer_wpSetDefaultHelp WPObject_wpSetDefaultHelp
#define WPServer_wpSetDefaultView WPObject_wpSetDefaultView
#define WPServer_wpSetError WPObject_wpSetError
#define WPServer_wpQueryScreenGroupID WPObject_wpQueryScreenGroupID
#define WPServer_wpSetupOnce WPObject_wpSetupOnce
#define WPServer_wpSetIcon WPObject_wpSetIcon
#define WPServer_wpSetMinWindow WPObject_wpSetMinWindow
#define WPServer_wpModifyStyle WPObject_wpModifyStyle
#define WPServer_wpQueryTrueStyle WPObject_wpQueryTrueStyle
#define WPServer_wpUnlockObject WPObject_wpUnlockObject
#define WPServer_wpIsObjectInitialized WPObject_wpIsObjectInitialized
#define WPServer_wpCreateShadowObjectExt WPObject_wpCreateShadowObjectExt
#define WPServer_wpCnrDeleteUseItem WPObject_wpCnrDeleteUseItem
#define WPServer_wpQueryCoreRecord WPObject_wpQueryCoreRecord
#define WPServer_wpSetObjectID WPObject_wpSetObjectID
#define WPServer_wpQueryObjectID WPObject_wpQueryObjectID
#define WPServer_wpSetDefaultIconPos WPObject_wpSetDefaultIconPos
#define WPServer_wpQueryDefaultIconPos WPObject_wpQueryDefaultIconPos
#define WPServer_wpCnrRefreshDetails WPObject_wpCnrRefreshDetails
#define WPServer_wpFindViewItem WPObject_wpFindViewItem
#define WPServer_wpLockObject WPObject_wpLockObject
#define WPServer_wpIsLocked WPObject_wpIsLocked
#define WPServer_wpQueryContainerFlagPtr WPObject_wpQueryContainerFlagPtr
#define WPServer_wpWaitForClose WPObject_wpWaitForClose
#define WPServer_wpSetMenuStyle WPObject_wpSetMenuStyle
#define WPServer_wpQueryMenuStyle WPObject_wpQueryMenuStyle
#define WPServer_wpSetStyle WPObject_wpSetStyle
#define WPServer_somInit SOMObject_somInit
#define WPServer_somUninit SOMObject_somUninit
#define WPServer_somDefaultCopyInit SOMObject_somDefaultCopyInit
#define WPServer_somDefaultAssign SOMObject_somDefaultAssign
#define WPServer_somDefaultConstCopyInit SOMObject_somDefaultConstCopyInit
#define WPServer_somDefaultVCopyInit SOMObject_somDefaultVCopyInit
#define WPServer_somDefaultConstVCopyInit SOMObject_somDefaultConstVCopyInit
#define WPServer_somDefaultConstAssign SOMObject_somDefaultConstAssign
#define WPServer_somDefaultVAssign SOMObject_somDefaultVAssign
#define WPServer_somDefaultConstVAssign SOMObject_somDefaultConstVAssign
#define WPServer_somFree SOMObject_somFree
#define WPServer_somGetClass SOMObject_somGetClass
#define WPServer_somGetClassName SOMObject_somGetClassName
#define WPServer_somGetSize SOMObject_somGetSize
#define WPServer_somIsA SOMObject_somIsA
#define WPServer_somIsInstanceOf SOMObject_somIsInstanceOf
#define WPServer_somRespondsTo SOMObject_somRespondsTo
#define WPServer_somDispatch SOMObject_somDispatch
#define WPServer_somClassDispatch SOMObject_somClassDispatch
#define WPServer_somCastObj SOMObject_somCastObj
#define WPServer_somResetObj SOMObject_somResetObj
#define WPServer_somDispatchV SOMObject_somDispatchV
#define WPServer_somDispatchL SOMObject_somDispatchL
#define WPServer_somDispatchA SOMObject_somDispatchA
#define WPServer_somDispatchD SOMObject_somDispatchD
#define WPServer_somPrintSelf SOMObject_somPrintSelf
#define WPServer_somDumpSelf SOMObject_somDumpSelf
#define WPServer_somDumpSelfInt SOMObject_somDumpSelfInt
#endif /* SOM_DONT_USE_INHERITED_MACROS */

#endif       /* SOM_WPServer_h */

#ifndef SOM_M_WPServer_h
#define SOM_M_WPServer_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_WPServer
#define M_WPServer SOMObject
#endif
#include <wpfolder.h>

/*
 * Start of bindings for IDL types
 */


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

#define M_WPServer_MajorVersion 1
#define M_WPServer_MinorVersion 2

/*
 * External name shortening if required
 */
#ifdef SOM_USE_SHORT_EXTERNAL_NAMES
#define M_WPServerNewClass wpserc
#pragma linkage(wpserc, system)
#define M_WPServerClassData wpserd
#define M_WPServerCClassData wpserx
#endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
/*--------------Migration------------*/
#define M_WPServer_classObj M_WPServerClassData.classObject
#define _M_WPServer M_WPServer_classObj

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

/*
 * Declare the class data structure
 */
SOMEXTERN struct M_WPServerClassDataStructure {
	SOMClass *classObject;
} SOMDLINK M_WPServerClassData;

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

/*
 * New and Renew macros for M_WPServer
 */
#define M_WPServerNew() \
   ( _M_WPServer ? \
	_somNew(_M_WPServer) \
	: ( M_WPServerNewClass(\
		M_WPServer_MajorVersion, \
		M_WPServer_MinorVersion),\
	   _somNew(_M_WPServer)))
#define M_WPServerRenew(buf) \
   ( _M_WPServer ? \
	_somRenew(_M_WPServer, buf) \
	: ( M_WPServerNewClass(\
		M_WPServer_MajorVersion, \
		M_WPServer_MinorVersion),\
	   _somRenew(_M_WPServer, buf)))

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

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

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

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

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

/*
 * Override method: wpclsQuerySettingsPageSize
 */
#define M_WPServer_wpclsQuerySettingsPageSize(somSelf,pSizl) \
	M_WPObject_wpclsQuerySettingsPageSize(somSelf,pSizl)
#ifndef SOM_DONT_USE_INHERITED_MACROS
#define M_WPServer_wpclsQueryIconN M_WPFolder_wpclsQueryIconN
#define M_WPServer_wpclsQueryOpenFolders M_WPFolder_wpclsQueryOpenFolders
#define M_WPServer_wpclsInitData M_WPObject_wpclsInitData
#define M_WPServer_wpclsQueryDefaultView M_WPObject_wpclsQueryDefaultView
#define M_WPServer_wpclsQueryAwakeObject M_WPFileSystem_wpclsQueryAwakeObject
#define M_WPServer_wpclsFileSysExists M_WPFileSystem_wpclsFileSysExists
#define M_WPServer_wpclsQueryObjectFromPath M_WPFileSystem_wpclsQueryObjectFromPath
#define M_WPServer_wpclsQueryInstanceType M_WPFileSystem_wpclsQueryInstanceType
#define M_WPServer_wpclsQueryInstanceFilter M_WPFileSystem_wpclsQueryInstanceFilter
#define M_WPServer_wpclsQueryInstanceClass M_WPFileSystem_wpclsQueryInstanceClass
#define M_WPServer_wpclsQueryDetailsInfo M_WPObject_wpclsQueryDetailsInfo
#define M_WPServer_wpclsQuerySearchInfo M_WPObject_wpclsQuerySearchInfo
#define M_WPServer_wpclsQueryExtendedCriteria M_WPObject_wpclsQueryExtendedCriteria
#define M_WPServer_wpclsNew M_WPObject_wpclsNew
#define M_WPServer_wpclsObjectFromHandle M_WPObject_wpclsObjectFromHandle
#define M_WPServer_wpclsCreateDefaultTemplates M_WPObject_wpclsCreateDefaultTemplates
#define M_WPServer_wpclsMakeAwake M_WPObject_wpclsMakeAwake
#define M_WPServer_wpclsQueryDetails M_WPObject_wpclsQueryDetails
#define M_WPServer_wpclsQueryFolder M_WPObject_wpclsQueryFolder
#define M_WPServer_wpclsQueryIcon M_WPObject_wpclsQueryIcon
#define M_WPServer_wpclsUnInitData M_WPObject_wpclsUnInitData
#define M_WPServer_wpclsFindObjectFirst M_WPObject_wpclsFindObjectFirst
#define M_WPServer_wpclsFindObjectNext M_WPObject_wpclsFindObjectNext
#define M_WPServer_wpclsFindObjectEnd M_WPObject_wpclsFindObjectEnd
#define M_WPServer_wpclsSetError M_WPObject_wpclsSetError
#define M_WPServer_wpclsQueryError M_WPObject_wpclsQueryError
#define M_WPServer_wpclsQueryObject M_WPObject_wpclsQueryObject
#define M_WPServer_wpclsQueryButtonAppearance M_WPObject_wpclsQueryButtonAppearance
#define M_WPServer_wpclsDecUsage M_WPObject_wpclsDecUsage
#define M_WPServer_wpclsIncUsage M_WPObject_wpclsIncUsage
#define M_WPServer_wpclsInsertMultipleObjects M_WPObject_wpclsInsertMultipleObjects
#define M_WPServer_wpclsFindOneObject M_WPObject_wpclsFindOneObject
#define M_WPServer_wpclsSetSettingsPageSize M_WPObject_wpclsSetSettingsPageSize
#define M_WPServer_wpclsSetIconData M_WPObject_wpclsSetIconData
#define M_WPServer_wpclsSetIcon M_WPObject_wpclsSetIcon
#define M_WPServer_wpclsRemoveObjects M_WPObject_wpclsRemoveObjects
#define M_WPServer_somUninit SOMObject_somUninit
#define M_WPServer_somClassReady SOMClass_somClassReady
#define M_WPServer_somNew SOMClass_somNew
#define M_WPServer_somRenew SOMClass_somRenew
#define M_WPServer__get_somDataAlignment SOMClass__get_somDataAlignment
#define M_WPServer__get_somInstanceDataOffsets SOMClass__get_somInstanceDataOffsets
#define M_WPServer__get_somDirectInitClasses SOMClass__get_somDirectInitClasses
#define M_WPServer__set_somDirectInitClasses SOMClass__set_somDirectInitClasses
#define M_WPServer_somNewNoInit SOMClass_somNewNoInit
#define M_WPServer_somRenewNoInit SOMClass_somRenewNoInit
#define M_WPServer_somRenewNoZero SOMClass_somRenewNoZero
#define M_WPServer_somRenewNoInitNoZero SOMClass_somRenewNoInitNoZero
#define M_WPServer_somAllocate SOMClass_somAllocate
#define M_WPServer_somDeallocate SOMClass_somDeallocate
#define M_WPServer__get_somClassAllocate SOMClass__get_somClassAllocate
#define M_WPServer__get_somClassDeallocate SOMClass__get_somClassDeallocate
#define M_WPServer_somGetInstanceInitMask SOMClass_somGetInstanceInitMask
#define M_WPServer_somGetInstanceDestructionMask SOMClass_somGetInstanceDestructionMask
#define M_WPServer_somGetInstanceAssignmentMask SOMClass_somGetInstanceAssignmentMask
#define M_WPServer_somInitClass SOMClass_somInitClass
#define M_WPServer_somInitMIClass SOMClass_somInitMIClass
#define M_WPServer_somAddStaticMethod SOMClass_somAddStaticMethod
#define M_WPServer_somAddDynamicMethod SOMClass_somAddDynamicMethod
#define M_WPServer_somOverrideSMethod SOMClass_somOverrideSMethod
#define M_WPServer_somGetApplyStub SOMClass_somGetApplyStub
#define M_WPServer_somGetClassData SOMClass_somGetClassData
#define M_WPServer_somSetClassData SOMClass_somSetClassData
#define M_WPServer_somGetClassMtab SOMClass_somGetClassMtab
#define M_WPServer_somGetInstanceOffset SOMClass_somGetInstanceOffset
#define M_WPServer_somGetInstancePartSize SOMClass_somGetInstancePartSize
#define M_WPServer_somGetInstanceSize SOMClass_somGetInstanceSize
#define M_WPServer_somGetInstanceToken SOMClass_somGetInstanceToken
#define M_WPServer_somGetMemberToken SOMClass_somGetMemberToken
#define M_WPServer_somGetMethodData SOMClass_somGetMethodData
#define M_WPServer_somGetRdStub SOMClass_somGetRdStub
#define M_WPServer_somGetMethodDescriptor SOMClass_somGetMethodDescriptor
#define M_WPServer_somGetMethodIndex SOMClass_somGetMethodIndex
#define M_WPServer_somGetMethodToken SOMClass_somGetMethodToken
#define M_WPServer_somGetName SOMClass_somGetName
#define M_WPServer_somGetNthMethodData SOMClass_somGetNthMethodData
#define M_WPServer_somGetNthMethodInfo SOMClass_somGetNthMethodInfo
#define M_WPServer_somGetNumMethods SOMClass_somGetNumMethods
#define M_WPServer_somGetNumStaticMethods SOMClass_somGetNumStaticMethods
#define M_WPServer_somGetParent SOMClass_somGetParent
#define M_WPServer_somGetParents SOMClass_somGetParents
#define M_WPServer_somGetPClsMtab SOMClass_somGetPClsMtab
#define M_WPServer_somGetPClsMtabs SOMClass_somGetPClsMtabs
#define M_WPServer_somGetVersionNumbers SOMClass_somGetVersionNumbers
#define M_WPServer_somSetMethodDescriptor SOMClass_somSetMethodDescriptor
#define M_WPServer_somFindMethod SOMClass_somFindMethod
#define M_WPServer_somFindMethodOk SOMClass_somFindMethodOk
#define M_WPServer_somFindSMethod SOMClass_somFindSMethod
#define M_WPServer_somFindSMethodOk SOMClass_somFindSMethodOk
#define M_WPServer_somLookupMethod SOMClass_somLookupMethod
#define M_WPServer_somCheckVersion SOMClass_somCheckVersion
#define M_WPServer_somDescendedFrom SOMClass_somDescendedFrom
#define M_WPServer_somSupportsMethod SOMClass_somSupportsMethod
#define M_WPServer_somDefinedMethod SOMClass_somDefinedMethod
#define M_WPServer_somOverrideMtab SOMClass_somOverrideMtab
#define M_WPServer_somDefaultInit SOMObject_somDefaultInit
#define M_WPServer_somDestruct SOMObject_somDestruct
#define M_WPServer_somDefaultCopyInit SOMObject_somDefaultCopyInit
#define M_WPServer_somDefaultAssign SOMObject_somDefaultAssign
#define M_WPServer_somDefaultConstCopyInit SOMObject_somDefaultConstCopyInit
#define M_WPServer_somDefaultVCopyInit SOMObject_somDefaultVCopyInit
#define M_WPServer_somDefaultConstVCopyInit SOMObject_somDefaultConstVCopyInit
#define M_WPServer_somDefaultConstAssign SOMObject_somDefaultConstAssign
#define M_WPServer_somDefaultVAssign SOMObject_somDefaultVAssign
#define M_WPServer_somDefaultConstVAssign SOMObject_somDefaultConstVAssign
#define M_WPServer_somInit SOMObject_somInit
#define M_WPServer_somFree SOMObject_somFree
#define M_WPServer_somGetClass SOMObject_somGetClass
#define M_WPServer_somGetClassName SOMObject_somGetClassName
#define M_WPServer_somGetSize SOMObject_somGetSize
#define M_WPServer_somIsA SOMObject_somIsA
#define M_WPServer_somIsInstanceOf SOMObject_somIsInstanceOf
#define M_WPServer_somRespondsTo SOMObject_somRespondsTo
#define M_WPServer_somDispatch SOMObject_somDispatch
#define M_WPServer_somClassDispatch SOMObject_somClassDispatch
#define M_WPServer_somCastObj SOMObject_somCastObj
#define M_WPServer_somResetObj SOMObject_somResetObj
#define M_WPServer_somDispatchV SOMObject_somDispatchV
#define M_WPServer_somDispatchL SOMObject_somDispatchL
#define M_WPServer_somDispatchA SOMObject_somDispatchA
#define M_WPServer_somDispatchD SOMObject_somDispatchD
#define M_WPServer_somPrintSelf SOMObject_somPrintSelf
#define M_WPServer_somDumpSelf SOMObject_somDumpSelf
#define M_WPServer_somDumpSelfInt SOMObject_somDumpSelfInt
#endif /* SOM_DONT_USE_INHERITED_MACROS */

#endif       /* SOM_M_WPServer_h */
