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

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


#ifndef wptrans_h
#define wptrans_h


#include <som.h>

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

#define WPTransient_MajorVersion 1
#define WPTransient_MinorVersion 2

/*
 * External name shortening if required
 */
#ifdef SOM_USE_SHORT_EXTERNAL_NAMES
#define WPTransientNewClass wptrnc
#pragma linkage(wptrnc, system)
#define WPTransientClassData wptrnd
#define WPTransientCClassData wptrnx
#endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
/*--------------Migration------------*/
#define WPTransient_classObj WPTransientClassData.classObject
#define _WPTransient WPTransient_classObj

/*
 * New and Renew macros for WPTransient
 */
#define _WPTransientNew() (_somNew(WPTransientClassData.classObject))
#define WPTransientNew() \
	( WPTransientClassData.classObject \
		? _WPTransientNew() \
		: ( WPTransientNewClass(WPTransient_MajorVersion, WPTransient_MinorVersion), _WPTransientNew() ) )
#define WPTransientRenew(buf) \
	( _somRenew(WPTransientClassData.classObject, buf) )

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

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

/*
 * Override method: wpSaveDeferred
 */
#define WPTransient_wpSaveDeferred(somSelf) \
	WPObject_wpSaveDeferred(somSelf)

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

/*
 * Declare the class data structure
 */
SOMEXTERN struct WPTransientClassDataStructure {
	SOMAny *classObject;
} WPTransientClassData;

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

#endif       /* wptrans_h */

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

#ifndef wptrans_mh
#define wptrans_mh


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

#define M_WPTransient_MajorVersion 1
#define M_WPTransient_MinorVersion 2

/*
 * External name shortening if required
 */
#ifdef SOM_USE_SHORT_EXTERNAL_NAMES
#define M_WPTransientNewClass wptrnc
#pragma linkage(wptrnc, system)
#define M_WPTransientClassData wptrnd
#define M_WPTransientCClassData wptrnx
#endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
/*--------------Migration------------*/
#define M_WPTransient_classObj M_WPTransientClassData.classObject
#define _M_WPTransient M_WPTransient_classObj

/*
 * New and Renew macros for M_WPTransient
 */
#define _M_WPTransientNew() (_somNew(M_WPTransientClassData.classObject))
#define M_WPTransientNew() \
	( M_WPTransientClassData.classObject \
		? _M_WPTransientNew() \
		: ( M_WPTransientNewClass(M_WPTransient_MajorVersion, M_WPTransient_MinorVersion), _M_WPTransientNew() ) )
#define M_WPTransientRenew(buf) \
	( _somRenew(M_WPTransientClassData.classObject, buf) )

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

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

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

/*
 * Declare the class data structure
 */
SOMEXTERN struct M_WPTransientClassDataStructure {
	SOMAny *classObject;
} M_WPTransientClassData;

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

#endif       /* wptrans_h */
