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

/*
 * 
 *  SCC: @(#) 47 6/2/93 17:27:58 1.12 @(#)
 *  Module Header
 * 
 *  Module Name: WPLOCATR
 * 
 *  OS/2 Presentation Manager Workplace class definitions
 * 
 *  Copyright (c) International Business Machines Corporation 1992
 * 
 */


#ifndef wplocatr_h
#define wplocatr_h


#include <som.h>

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

#define PenLocator_MajorVersion 1
#define PenLocator_MinorVersion 1

/*
 * External name shortening if required
 */
#ifdef SOM_USE_SHORT_EXTERNAL_NAMES
#define PenLocatorNewClass WPlctc
#pragma linkage(WPlctc, system)
#define PenLocatorClassData WPlctd
#define PenLocatorCClassData WPlctx
#endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
/*--------------Migration------------*/
#define PenLocator_classObj PenLocatorClassData.classObject
#define _PenLocator PenLocator_classObj

/*
 * New and Renew macros for PenLocator
 */
#define _PenLocatorNew() (_somNew(PenLocatorClassData.classObject))
#define PenLocatorNew() \
	( PenLocatorClassData.classObject \
		? _PenLocatorNew() \
		: ( PenLocatorNewClass(PenLocator_MajorVersion, PenLocator_MinorVersion), _PenLocatorNew() ) )
#define PenLocatorRenew(buf) \
	( _somRenew(PenLocatorClassData.classObject, buf) )

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

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

/*
 * Override method: wpAddObjectWindowPage
 */
#define PenLocator_wpAddObjectWindowPage(somSelf,hwndNotebook) \
	WPObject_wpAddObjectWindowPage(somSelf,hwndNotebook)

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

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

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

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

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

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

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

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

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

/*
 * New Method: penAddLocatorTimingPage
 */
typedef ULONG    SOMLINK somTP_PenLocator_penAddLocatorTimingPage(PenLocator *somSelf,
		HWND hwndNotebook);
#pragma linkage(somTP_PenLocator_penAddLocatorTimingPage, system)
typedef somTP_PenLocator_penAddLocatorTimingPage *somTD_PenLocator_penAddLocatorTimingPage;
#define somMD_PenLocator_penAddLocatorTimingPage "----"
#define PenLocator_penAddLocatorTimingPage(somSelf,hwndNotebook) \
    (SOM_Resolve(somSelf, PenLocator, penAddLocatorTimingPage) \
	(somSelf,hwndNotebook))
#define _penAddLocatorTimingPage PenLocator_penAddLocatorTimingPage

/*
 * New Method: penSetCalProgram
 */
typedef BOOL    SOMLINK somTP_PenLocator_penSetCalProgram(PenLocator *somSelf,
		PSZ pszName);
#pragma linkage(somTP_PenLocator_penSetCalProgram, system)
typedef somTP_PenLocator_penSetCalProgram *somTD_PenLocator_penSetCalProgram;
#define somMD_PenLocator_penSetCalProgram "----"
#define PenLocator_penSetCalProgram(somSelf,pszName) \
    (SOM_Resolve(somSelf, PenLocator, penSetCalProgram) \
	(somSelf,pszName))
#define _penSetCalProgram PenLocator_penSetCalProgram

/*
 * New Method: penQueryCalProgram
 */
typedef PSZ    SOMLINK somTP_PenLocator_penQueryCalProgram(PenLocator *somSelf);
#pragma linkage(somTP_PenLocator_penQueryCalProgram, system)
typedef somTP_PenLocator_penQueryCalProgram *somTD_PenLocator_penQueryCalProgram;
#define somMD_PenLocator_penQueryCalProgram "----"
#define PenLocator_penQueryCalProgram(somSelf) \
    (SOM_Resolve(somSelf, PenLocator, penQueryCalProgram) \
	(somSelf))
#define _penQueryCalProgram PenLocator_penQueryCalProgram

/*
 * New Method: penSetCalParms
 */
typedef BOOL    SOMLINK somTP_PenLocator_penSetCalParms(PenLocator *somSelf,
		PSZ pszCalParms);
#pragma linkage(somTP_PenLocator_penSetCalParms, system)
typedef somTP_PenLocator_penSetCalParms *somTD_PenLocator_penSetCalParms;
#define somMD_PenLocator_penSetCalParms "----"
#define PenLocator_penSetCalParms(somSelf,pszCalParms) \
    (SOM_Resolve(somSelf, PenLocator, penSetCalParms) \
	(somSelf,pszCalParms))
#define _penSetCalParms PenLocator_penSetCalParms

/*
 * New Method: penQueryCalParms
 */
typedef PSZ    SOMLINK somTP_PenLocator_penQueryCalParms(PenLocator *somSelf);
#pragma linkage(somTP_PenLocator_penQueryCalParms, system)
typedef somTP_PenLocator_penQueryCalParms *somTD_PenLocator_penQueryCalParms;
#define somMD_PenLocator_penQueryCalParms "----"
#define PenLocator_penQueryCalParms(somSelf) \
    (SOM_Resolve(somSelf, PenLocator, penQueryCalParms) \
	(somSelf))
#define _penQueryCalParms PenLocator_penQueryCalParms

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

/*
 * Declare the class data structure
 */
SOMEXTERN struct PenLocatorClassDataStructure {
	SOMAny *classObject;
	somMToken penAddLocatorTimingPage;
	somMToken penQueryCalProgram;
	somMToken penSetCalProgram;
	somMToken penDummyPrivate;
	somMToken penSetCalParms;
	somMToken penQueryCalParms;
} PenLocatorClassData;

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

#endif       /* wplocatr_h */

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

#ifndef wplocatr_mh
#define wplocatr_mh


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

#define M_PenLocator_MajorVersion 1
#define M_PenLocator_MinorVersion 1

/*
 * External name shortening if required
 */
#ifdef SOM_USE_SHORT_EXTERNAL_NAMES
#define M_PenLocatorNewClass WPlctc
#pragma linkage(WPlctc, system)
#define M_PenLocatorClassData WPlctd
#define M_PenLocatorCClassData WPlctx
#endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
/*--------------Migration------------*/
#define M_PenLocator_classObj M_PenLocatorClassData.classObject
#define _M_PenLocator M_PenLocator_classObj

/*
 * New and Renew macros for M_PenLocator
 */
#define _M_PenLocatorNew() (_somNew(M_PenLocatorClassData.classObject))
#define M_PenLocatorNew() \
	( M_PenLocatorClassData.classObject \
		? _M_PenLocatorNew() \
		: ( M_PenLocatorNewClass(M_PenLocator_MajorVersion, M_PenLocator_MinorVersion), _M_PenLocatorNew() ) )
#define M_PenLocatorRenew(buf) \
	( _somRenew(M_PenLocatorClassData.classObject, buf) )

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

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

/*
 * Override method: wpclsQueryDefaultView
 */
#define M_PenLocator_wpclsQueryDefaultView(somSelf) \
	M_WPObject_wpclsQueryDefaultView(somSelf)

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

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

/*
 * New Method: penclsQueryDefaultPause
 */
typedef ULONG    SOMLINK somTP_M_PenLocator_penclsQueryDefaultPause(M_PenLocator *somSelf);
#pragma linkage(somTP_M_PenLocator_penclsQueryDefaultPause, system)
typedef somTP_M_PenLocator_penclsQueryDefaultPause *somTD_M_PenLocator_penclsQueryDefaultPause;
#define somMD_M_PenLocator_penclsQueryDefaultPause "----"
#define M_PenLocator_penclsQueryDefaultPause(somSelf) \
    (SOM_Resolve(somSelf, M_PenLocator, penclsQueryDefaultPause) \
	(somSelf))
#define _penclsQueryDefaultPause M_PenLocator_penclsQueryDefaultPause

/*
 * New Method: penclsQueryPauseEnableDefault
 */
typedef ULONG    SOMLINK somTP_M_PenLocator_penclsQueryPauseEnableDefault(M_PenLocator *somSelf);
#pragma linkage(somTP_M_PenLocator_penclsQueryPauseEnableDefault, system)
typedef somTP_M_PenLocator_penclsQueryPauseEnableDefault *somTD_M_PenLocator_penclsQueryPauseEnableDefault;
#define somMD_M_PenLocator_penclsQueryPauseEnableDefault "----"
#define M_PenLocator_penclsQueryPauseEnableDefault(somSelf) \
    (SOM_Resolve(somSelf, M_PenLocator, penclsQueryPauseEnableDefault) \
	(somSelf))
#define _penclsQueryPauseEnableDefault M_PenLocator_penclsQueryPauseEnableDefault

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

/*
 * Declare the class data structure
 */
SOMEXTERN struct M_PenLocatorClassDataStructure {
	SOMAny *classObject;
	somMToken penclsQueryPauseId;
	somMToken penclsQueryPauseEnableId;
	somMToken penclsQueryDefaultPause;
	somMToken penclsQueryPauseEnableDefault;
} M_PenLocatorClassData;

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

#endif       /* wplocatr_h */
