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

/*
 * 
 *  SCC: @(#) 96 4/16/93 19:53:12 1.6 @(#)
 *  Module Header
 * 
 *  Module Name: WPLOCPEN
 * 
 *  OS/2 Presentation Manager Workplace class definitions
 * 
 *  Copyright (c) International Business Machines Corporation 1992
 * 
 */


#ifndef wplocpen_h
#define wplocpen_h


#include <som.h>

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

#define PenLocatorPen_MajorVersion 1
#define PenLocatorPen_MinorVersion 1

/*
 * External name shortening if required
 */
#ifdef SOM_USE_SHORT_EXTERNAL_NAMES
#define PenLocatorPenNewClass WPlcpc
#pragma linkage(WPlcpc, system)
#define PenLocatorPenClassData WPlcpd
#define PenLocatorPenCClassData WPlcpx
#endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
/*--------------Migration------------*/
#define PenLocatorPen_classObj PenLocatorPenClassData.classObject
#define _PenLocatorPen PenLocatorPen_classObj

/*
 * New and Renew macros for PenLocatorPen
 */
#define _PenLocatorPenNew() (_somNew(PenLocatorPenClassData.classObject))
#define PenLocatorPenNew() \
	( PenLocatorPenClassData.classObject \
		? _PenLocatorPenNew() \
		: ( PenLocatorPenNewClass(PenLocatorPen_MajorVersion, PenLocatorPen_MinorVersion), _PenLocatorPenNew() ) )
#define PenLocatorPenRenew(buf) \
	( _somRenew(PenLocatorPenClassData.classObject, buf) )

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

/*
 * Declare the class data structure
 */
SOMEXTERN struct PenLocatorPenClassDataStructure {
	SOMAny *classObject;
} PenLocatorPenClassData;

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

#endif       /* wplocpen_h */

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

#ifndef wplocpen_mh
#define wplocpen_mh


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

#define M_PenLocatorPen_MajorVersion 1
#define M_PenLocatorPen_MinorVersion 1

/*
 * External name shortening if required
 */
#ifdef SOM_USE_SHORT_EXTERNAL_NAMES
#define M_PenLocatorPenNewClass WPlcpc
#pragma linkage(WPlcpc, system)
#define M_PenLocatorPenClassData WPlcpd
#define M_PenLocatorPenCClassData WPlcpx
#endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
/*--------------Migration------------*/
#define M_PenLocatorPen_classObj M_PenLocatorPenClassData.classObject
#define _M_PenLocatorPen M_PenLocatorPen_classObj

/*
 * New and Renew macros for M_PenLocatorPen
 */
#define _M_PenLocatorPenNew() (_somNew(M_PenLocatorPenClassData.classObject))
#define M_PenLocatorPenNew() \
	( M_PenLocatorPenClassData.classObject \
		? _M_PenLocatorPenNew() \
		: ( M_PenLocatorPenNewClass(M_PenLocatorPen_MajorVersion, M_PenLocatorPen_MinorVersion), _M_PenLocatorPenNew() ) )
#define M_PenLocatorPenRenew(buf) \
	( _somRenew(M_PenLocatorPenClassData.classObject, buf) )

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

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

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

/*
 * Override method: penclsQueryDefaultPause
 */
#define M_PenLocatorPen_penclsQueryDefaultPause(somSelf) \
	M_PenLocator_penclsQueryDefaultPause(somSelf)

/*
 * Override method: penclsQueryPauseEnableDefault
 */
#define M_PenLocatorPen_penclsQueryPauseEnableDefault(somSelf) \
	M_PenLocator_penclsQueryPauseEnableDefault(somSelf)

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

/*
 * Declare the class data structure
 */
SOMEXTERN struct M_PenLocatorPenClassDataStructure {
	SOMAny *classObject;
} M_PenLocatorPenClassData;

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

#endif       /* wplocpen_h */
