/* Copyright (c) 1992 Colin Jensen.  All Rights Reserved. */


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

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


#ifndef wpabs_h
#define wpabs_h


#include <som.h>

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

#define WPAbstract_MajorVersion 1
#define WPAbstract_MinorVersion 2

/*
 * External name shortening if required
 */
#ifdef SOM_USE_SHORT_EXTERNAL_NAMES
#define WPAbstractNewClass wpabc
#pragma linkage(wpabc, system)
#define WPAbstractClassData wpabd
#define WPAbstractCClassData wpabx
#endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
/*--------------Migration------------*/
#define WPAbstract_classObj WPAbstractClassData.classObject
#define _WPAbstract WPAbstract_classObj

/*
 * New and Renew macros for WPAbstract
 */
#define _WPAbstractNew() (_somNew(WPAbstractClassData.classObject))
#define WPAbstractNew() \
	( WPAbstractClassData.classObject \
		? _WPAbstractNew() \
		: ( WPAbstractNewClass(WPAbstract_MajorVersion, WPAbstract_MinorVersion), _WPAbstractNew() ) )
#define WPAbstractRenew(buf) \
	( _somRenew(WPAbstractClassData.classObject, buf) )

/*
 * Override method: wpQueryHandle
 */
#define WPAbstract_wpQueryHandle(somSelf) \
	WPObject_wpQueryHandle(somSelf)

/*
 * Override method: wpSaveImmediate
 */
#define WPAbstract_wpSaveImmediate(somSelf) \
	WPObject_wpSaveImmediate(somSelf)

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

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

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

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

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

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

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

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

/*
 * Override method: wpReplaceObject
 */
#define WPAbstract_wpReplaceObject(somSelf,targetObject,fMove) \
	WPObject_wpReplaceObject(somSelf,targetObject,fMove)

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

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

/*
 * Declare the class data structure
 */
SOMEXTERN struct WPAbstractClassDataStructure {
	SOMAny *classObject;
} WPAbstractClassData;

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

#endif       /* wpabs_h */

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

#ifndef wpabs_mh
#define wpabs_mh


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

#define M_WPAbstract_MajorVersion 1
#define M_WPAbstract_MinorVersion 2

/*
 * External name shortening if required
 */
#ifdef SOM_USE_SHORT_EXTERNAL_NAMES
#define M_WPAbstractNewClass wpabc
#pragma linkage(wpabc, system)
#define M_WPAbstractClassData wpabd
#define M_WPAbstractCClassData wpabx
#endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
/*--------------Migration------------*/
#define M_WPAbstract_classObj M_WPAbstractClassData.classObject
#define _M_WPAbstract M_WPAbstract_classObj

/*
 * New and Renew macros for M_WPAbstract
 */
#define _M_WPAbstractNew() (_somNew(M_WPAbstractClassData.classObject))
#define M_WPAbstractNew() \
	( M_WPAbstractClassData.classObject \
		? _M_WPAbstractNew() \
		: ( M_WPAbstractNewClass(M_WPAbstract_MajorVersion, M_WPAbstract_MinorVersion), _M_WPAbstractNew() ) )
#define M_WPAbstractRenew(buf) \
	( _somRenew(M_WPAbstractClassData.classObject, buf) )

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

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

/*
 * Declare the class data structure
 */
SOMEXTERN struct M_WPAbstractClassDataStructure {
	SOMAny *classObject;
	somMToken wpclsSaveCache;
	somMToken wpclsLockCache;
	somMToken wpclsUnlockCache;
} M_WPAbstractClassData;

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

#endif       /* wpabs_h */
