
/*
 * This file was generated by the SOM Compiler.
 * FileName: wpshadow.h.
 * Generated using:
 *     SOM Precompiler spc: 1.22
 *     SOM Emitter emith: 1.11
 */

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


#ifndef wpshadow_h
#define wpshadow_h


#include <som.h>

/*
 * Define the class name as an object type
 */
#ifndef WPShadow
#define WPShadow SOMAny
#endif
#include "wpabs.h"

#define WPShadow_MajorVersion 1
#define WPShadow_MinorVersion 2

/*
 * External name shortening if required
 */
#ifdef SOM_USE_SHORT_EXTERNAL_NAMES
#define WPShadowNewClass wplinkc
#pragma linkage(wplinkc, system)
#define WPShadowClassData wplinkd
#define WPShadowCClassData wplinkx
#endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
/*--------------Migration------------*/
#define WPShadow_classObj WPShadowClassData.classObject
#define _WPShadow WPShadow_classObj

/*
 * New and Renew macros for WPShadow
 */
#define _WPShadowNew() (_somNew(WPShadowClassData.classObject))
#define WPShadowNew() \
	( WPShadowClassData.classObject \
		? _WPShadowNew() \
		: ( WPShadowNewClass(WPShadow_MajorVersion, WPShadow_MinorVersion), _WPShadowNew() ) )
#define WPShadowRenew(buf) \
	( _somRenew(WPShadowClassData.classObject, buf) )

/*
 * Override method: wpQueryTitle
 */
#define WPShadow_wpQueryTitle(somSelf) \
	WPObject_wpQueryTitle(somSelf)

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

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

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

/*
 * Override method: wpQueryStyle
 */
#define WPShadow_wpQueryStyle(somSelf) \
	WPObject_wpQueryStyle(somSelf)

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

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

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

/*
 * Override method: wpFilterPopupMenu
 */
#define WPShadow_wpFilterPopupMenu(somSelf,ulFlags,hwndCnr,fMultiSelect) \
	WPObject_wpFilterPopupMenu(somSelf,ulFlags,hwndCnr,fMultiSelect)

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

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

/*
 * Override method: wpViewObject
 */
#define WPShadow_wpViewObject(somSelf,hwndCnr,ulView,param) \
	WPObject_wpViewObject(somSelf,hwndCnr,ulView,param)

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

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

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

/*
 * Override method: wpInsertPopupMenuItems
 */
#define WPShadow_wpInsertPopupMenuItems(somSelf,hwndMenu,iPosition,hmod,MenuID,SubMenuID) \
	WPObject_wpInsertPopupMenuItems(somSelf,hwndMenu,iPosition,hmod,MenuID,SubMenuID)

/*
 * Override method: wpCreateShadowObject
 */
#define WPShadow_wpCreateShadowObject(somSelf,Folder,fLock) \
	WPObject_wpCreateShadowObject(somSelf,Folder,fLock)

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

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

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

/*
 * Override method: wpConfirmDelete
 */
#define WPShadow_wpConfirmDelete(somSelf,fConfirmations) \
	WPObject_wpConfirmDelete(somSelf,fConfirmations)

/*
 * Override method: wpConfirmObjectTitle
 */
#define WPShadow_wpConfirmObjectTitle(somSelf,Folder,ppDuplicate,pszTitle,cbTitle,menuID) \
	WPObject_wpConfirmObjectTitle(somSelf,Folder,ppDuplicate,pszTitle,cbTitle,menuID)

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

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

/*
 * Override method: wpDraggedOverObject
 */
#define WPShadow_wpDraggedOverObject(somSelf,DraggedOverObject) \
	WPObject_wpDraggedOverObject(somSelf,DraggedOverObject)

/*
 * Override method: wpDroppedOnObject
 */
#define WPShadow_wpDroppedOnObject(somSelf,DroppedOnObject) \
	WPObject_wpDroppedOnObject(somSelf,DroppedOnObject)

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

/*
 * New Method: wpQueryShadowedObject
 */
typedef WPObject *   SOMLINK somTP_WPShadow_wpQueryShadowedObject(WPShadow *somSelf,
		BOOL fLock);
#pragma linkage(somTP_WPShadow_wpQueryShadowedObject, system)
typedef somTP_WPShadow_wpQueryShadowedObject *somTD_WPShadow_wpQueryShadowedObject;
#define somMD_WPShadow_wpQueryShadowedObject "----"
#define WPShadow_wpQueryShadowedObject(somSelf,fLock) \
    (SOM_Resolve(somSelf, WPShadow, wpQueryShadowedObject) \
	(somSelf,fLock))
#define _wpQueryShadowedObject WPShadow_wpQueryShadowedObject

/*
 * New Method: wpSetShadowTitle
 */
typedef BOOL    SOMLINK somTP_WPShadow_wpSetShadowTitle(WPShadow *somSelf,
		PSZ pszNewTitle);
#pragma linkage(somTP_WPShadow_wpSetShadowTitle, system)
typedef somTP_WPShadow_wpSetShadowTitle *somTD_WPShadow_wpSetShadowTitle;
#define somMD_WPShadow_wpSetShadowTitle "----"
#define WPShadow_wpSetShadowTitle(somSelf,pszNewTitle) \
    (SOM_Resolve(somSelf, WPShadow, wpSetShadowTitle) \
	(somSelf,pszNewTitle))
#define _wpSetShadowTitle WPShadow_wpSetShadowTitle

/*
 * Declare the class creation procedure
 */
SOMEXTERN SOMAny * SOMLINK WPShadowNewClass(integer4 scemajorVersion,
		integer4 sceminorVersion);
#pragma linkage(WPShadowNewClass, system)

/*
 * Declare the class data structure
 */
SOMEXTERN struct WPShadowClassDataStructure {
	SOMAny *classObject;
	somMToken wpSetLinkToObject;
	somMToken withdrawn;
	somMToken wpSetShadowTitle;
	somMToken wpQueryShadowedObject;
} WPShadowClassData;

/*
 * Declare the C specific class data structure
 */
SOMEXTERN struct WPShadowCClassDataStructure {
	somMethodTab *parentMtab;
	somDToken instanceDataToken;
} WPShadowCClassData;

#endif       /* wpshadow_h */

/*
 * This file was generated by the SOM Compiler.
 * FileName: wpshadow.h.
 * Generated using:
 *     SOM Precompiler spc: 1.22
 *     SOM Emitter emith: 1.11
 */

#ifndef wpshadow_mh
#define wpshadow_mh


/*
 * Define the class name as an object type
 */
#ifndef M_WPShadow
#define M_WPShadow SOMAny
#endif

#define M_WPShadow_MajorVersion 1
#define M_WPShadow_MinorVersion 2

/*
 * External name shortening if required
 */
#ifdef SOM_USE_SHORT_EXTERNAL_NAMES
#define M_WPShadowNewClass wplinkc
#pragma linkage(wplinkc, system)
#define M_WPShadowClassData wplinkd
#define M_WPShadowCClassData wplinkx
#endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
/*--------------Migration------------*/
#define M_WPShadow_classObj M_WPShadowClassData.classObject
#define _M_WPShadow M_WPShadow_classObj

/*
 * New and Renew macros for M_WPShadow
 */
#define _M_WPShadowNew() (_somNew(M_WPShadowClassData.classObject))
#define M_WPShadowNew() \
	( M_WPShadowClassData.classObject \
		? _M_WPShadowNew() \
		: ( M_WPShadowNewClass(M_WPShadow_MajorVersion, M_WPShadow_MinorVersion), _M_WPShadowNew() ) )
#define M_WPShadowRenew(buf) \
	( _somRenew(M_WPShadowClassData.classObject, buf) )

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

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

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

/*
 * Declare the class creation procedure
 */
SOMEXTERN SOMAny * SOMLINK M_WPShadowNewClass(integer4 scemajorVersion,
		integer4 sceminorVersion);
#pragma linkage(M_WPShadowNewClass, system)

/*
 * Declare the class data structure
 */
SOMEXTERN struct M_WPShadowClassDataStructure {
	SOMAny *classObject;
} M_WPShadowClassData;

/*
 * Declare the C specific class data structure
 */
SOMEXTERN struct M_WPShadowCClassDataStructure {
	somMethodTab *parentMtab;
	somDToken instanceDataToken;
} M_WPShadowCClassData;

#endif       /* wpshadow_h */
