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

/*
 * 
 *  SCC: @(#) 98 4/16/93 19:53:27 1.7 @(#)
 *  Module Header
 * 
 *  Module Name: WPLOCFGR
 * 
 *  OS/2 Presentation Manager Workplace class definitions
 * 
 *  Copyright (c) International Business Machines Corporation 1992
 * 
 */


#ifndef wplocfgr_h
#define wplocfgr_h


#include <som.h>

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

#define PenLocatorFinger_MajorVersion 1
#define PenLocatorFinger_MinorVersion 1

/*
 * External name shortening if required
 */
#ifdef SOM_USE_SHORT_EXTERNAL_NAMES
#define PenLocatorFingerNewClass WPfgrc
#pragma linkage(WPfgrc, system)
#define PenLocatorFingerClassData WPfgrd
#define PenLocatorFingerCClassData WPfgrx
#endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
/*--------------Migration------------*/
#define PenLocatorFinger_classObj PenLocatorFingerClassData.classObject
#define _PenLocatorFinger PenLocatorFinger_classObj

/*
 * New and Renew macros for PenLocatorFinger
 */
#define _PenLocatorFingerNew() (_somNew(PenLocatorFingerClassData.classObject))
#define PenLocatorFingerNew() \
	( PenLocatorFingerClassData.classObject \
		? _PenLocatorFingerNew() \
		: ( PenLocatorFingerNewClass(PenLocatorFinger_MajorVersion, PenLocatorFinger_MinorVersion), _PenLocatorFingerNew() ) )
#define PenLocatorFingerRenew(buf) \
	( _somRenew(PenLocatorFingerClassData.classObject, buf) )

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

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

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

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

/*
 * New Method: penAddFingerOffsetPage
 */
typedef ULONG    SOMLINK somTP_PenLocatorFinger_penAddFingerOffsetPage(PenLocatorFinger *somSelf,
		HWND hwndNotebook);
#pragma linkage(somTP_PenLocatorFinger_penAddFingerOffsetPage, system)
typedef somTP_PenLocatorFinger_penAddFingerOffsetPage *somTD_PenLocatorFinger_penAddFingerOffsetPage;
#define somMD_PenLocatorFinger_penAddFingerOffsetPage "----"
#define PenLocatorFinger_penAddFingerOffsetPage(somSelf,hwndNotebook) \
    (SOM_Resolve(somSelf, PenLocatorFinger, penAddFingerOffsetPage) \
	(somSelf,hwndNotebook))
#define _penAddFingerOffsetPage PenLocatorFinger_penAddFingerOffsetPage

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

/*
 * Declare the class data structure
 */
SOMEXTERN struct PenLocatorFingerClassDataStructure {
	SOMAny *classObject;
	somMToken penAddFingerOffsetPage;
	somMToken penQueryOffsetPointerX;
	somMToken penQueryOffsetPointerY;
	somMToken penSetOffsetPointerX;
	somMToken penSetOffsetPointerY;
} PenLocatorFingerClassData;

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

#endif       /* wplocfgr_h */

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

#ifndef wplocfgr_mh
#define wplocfgr_mh


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

#define M_PenLocatorFinger_MajorVersion 1
#define M_PenLocatorFinger_MinorVersion 1

/*
 * External name shortening if required
 */
#ifdef SOM_USE_SHORT_EXTERNAL_NAMES
#define M_PenLocatorFingerNewClass WPfgrc
#pragma linkage(WPfgrc, system)
#define M_PenLocatorFingerClassData WPfgrd
#define M_PenLocatorFingerCClassData WPfgrx
#endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
/*--------------Migration------------*/
#define M_PenLocatorFinger_classObj M_PenLocatorFingerClassData.classObject
#define _M_PenLocatorFinger M_PenLocatorFinger_classObj

/*
 * New and Renew macros for M_PenLocatorFinger
 */
#define _M_PenLocatorFingerNew() (_somNew(M_PenLocatorFingerClassData.classObject))
#define M_PenLocatorFingerNew() \
	( M_PenLocatorFingerClassData.classObject \
		? _M_PenLocatorFingerNew() \
		: ( M_PenLocatorFingerNewClass(M_PenLocatorFinger_MajorVersion, M_PenLocatorFinger_MinorVersion), _M_PenLocatorFingerNew() ) )
#define M_PenLocatorFingerRenew(buf) \
	( _somRenew(M_PenLocatorFingerClassData.classObject, buf) )

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

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

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

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

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

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

/*
 * Declare the class data structure
 */
SOMEXTERN struct M_PenLocatorFingerClassDataStructure {
	SOMAny *classObject;
	somMToken penclsQueryTouchOffsetIdX;
	somMToken penclsQueryTouchOffsetIdY;
} M_PenLocatorFingerClassData;

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

#endif       /* wplocfgr_h */
