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

/*
 * 
 *  SCC: @(#) 63 12/8/92 16:03:07 1.5 @(#)
 *  Module Header
 * 
 *  Module Name: WPPENSYS
 * 
 *  OS/2 Presentation Manager Workplace class definitions
 * 
 *  Copyright (c) International Business Machines Corporation 1992
 * 
 */


#ifndef wppensys_h
#define wppensys_h


#include <som.h>

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

#define PenPenSubSystem_MajorVersion 1
#define PenPenSubSystem_MinorVersion 1

/*
 * External name shortening if required
 */
#ifdef SOM_USE_SHORT_EXTERNAL_NAMES
#define PenPenSubSystemNewClass WPpssc
#pragma linkage(WPpssc, system)
#define PenPenSubSystemClassData WPpssd
#define PenPenSubSystemCClassData WPpssx
#endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
/*--------------Migration------------*/
#define PenPenSubSystem_classObj PenPenSubSystemClassData.classObject
#define _PenPenSubSystem PenPenSubSystem_classObj

/*
 * New and Renew macros for PenPenSubSystem
 */
#define _PenPenSubSystemNew() (_somNew(PenPenSubSystemClassData.classObject))
#define PenPenSubSystemNew() \
	( PenPenSubSystemClassData.classObject \
		? _PenPenSubSystemNew() \
		: ( PenPenSubSystemNewClass(PenPenSubSystem_MajorVersion, PenPenSubSystem_MinorVersion), _PenPenSubSystemNew() ) )
#define PenPenSubSystemRenew(buf) \
	( _somRenew(PenPenSubSystemClassData.classObject, buf) )

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

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

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

/*
 * New Method: penAddPenFeedback2Page
 */
typedef ULONG    SOMLINK somTP_PenPenSubSystem_penAddPenFeedback2Page(PenPenSubSystem *somSelf,
		HWND hwndNotebook);
#pragma linkage(somTP_PenPenSubSystem_penAddPenFeedback2Page, system)
typedef somTP_PenPenSubSystem_penAddPenFeedback2Page *somTD_PenPenSubSystem_penAddPenFeedback2Page;
#define somMD_PenPenSubSystem_penAddPenFeedback2Page "----"
#define PenPenSubSystem_penAddPenFeedback2Page(somSelf,hwndNotebook) \
    (SOM_Resolve(somSelf, PenPenSubSystem, penAddPenFeedback2Page) \
	(somSelf,hwndNotebook))
#define _penAddPenFeedback2Page PenPenSubSystem_penAddPenFeedback2Page

/*
 * New Method: penAddPenTimeouts1Page
 */
typedef ULONG    SOMLINK somTP_PenPenSubSystem_penAddPenTimeouts1Page(PenPenSubSystem *somSelf,
		HWND hwndNotebook);
#pragma linkage(somTP_PenPenSubSystem_penAddPenTimeouts1Page, system)
typedef somTP_PenPenSubSystem_penAddPenTimeouts1Page *somTD_PenPenSubSystem_penAddPenTimeouts1Page;
#define somMD_PenPenSubSystem_penAddPenTimeouts1Page "----"
#define PenPenSubSystem_penAddPenTimeouts1Page(somSelf,hwndNotebook) \
    (SOM_Resolve(somSelf, PenPenSubSystem, penAddPenTimeouts1Page) \
	(somSelf,hwndNotebook))
#define _penAddPenTimeouts1Page PenPenSubSystem_penAddPenTimeouts1Page

/*
 * New Name Lookup Method: penInvokeGestureHelp
 */
typedef ULONG    SOMLINK somTP_PenPenSubSystem_penInvokeGestureHelp(PenPenSubSystem *somSelf,
		HOBJECT hObject);
#pragma linkage(somTP_PenPenSubSystem_penInvokeGestureHelp, system)
typedef somTP_PenPenSubSystem_penInvokeGestureHelp *somTD_PenPenSubSystem_penInvokeGestureHelp;
#define somMD_PenPenSubSystem_penInvokeGestureHelp "----"
#define PenPenSubSystem_penInvokeGestureHelp(somSelf,hObject) \
    (SOM_Resolve(somSelf, PenPenSubSystem, penInvokeGestureHelp) \
	(somSelf,hObject))

#ifndef lookup_penInvokeGestureHelp
static char *somLMN_penInvokeGestureHelp = "penInvokeGestureHelp";
static somId somLId_penInvokeGestureHelp = &somLMN_penInvokeGestureHelp;
#define lookup_penInvokeGestureHelp(somSelf,hObject) \
    ((( somTD_PenPenSubSystem_penInvokeGestureHelp ) \
	_somFindSMethodOk(SOM_GetClass(somSelf), somLId_penInvokeGestureHelp)) \
	    (somSelf,hObject))
#define _penInvokeGestureHelp lookup_penInvokeGestureHelp
#endif     /* _penInvokeGestureHelp */

/*
 * New Name Lookup Method: penAddObjectEventPage
 */
typedef ULONG    SOMLINK somTP_PenPenSubSystem_penAddObjectEventPage(PenPenSubSystem *somSelf,
		HWND hwndNotebook,
		PVOID pMappingInfo);
#pragma linkage(somTP_PenPenSubSystem_penAddObjectEventPage, system)
typedef somTP_PenPenSubSystem_penAddObjectEventPage *somTD_PenPenSubSystem_penAddObjectEventPage;
#define somMD_PenPenSubSystem_penAddObjectEventPage "----"
#define PenPenSubSystem_penAddObjectEventPage(somSelf,hwndNotebook,pMappingInfo) \
    (SOM_Resolve(somSelf, PenPenSubSystem, penAddObjectEventPage) \
	(somSelf,hwndNotebook,pMappingInfo))

#ifndef lookup_penAddObjectEventPage
static char *somLMN_penAddObjectEventPage = "penAddObjectEventPage";
static somId somLId_penAddObjectEventPage = &somLMN_penAddObjectEventPage;
#define lookup_penAddObjectEventPage(somSelf,hwndNotebook,pMappingInfo) \
    ((( somTD_PenPenSubSystem_penAddObjectEventPage ) \
	_somFindSMethodOk(SOM_GetClass(somSelf), somLId_penAddObjectEventPage)) \
	    (somSelf,hwndNotebook,pMappingInfo))
#define _penAddObjectEventPage lookup_penAddObjectEventPage
#endif     /* _penAddObjectEventPage */

/*
 * New Method: penAddObjectEventPage2
 */
typedef ULONG    SOMLINK somTP_PenPenSubSystem_penAddObjectEventPage2(PenPenSubSystem *somSelf,
		HWND hwndNotebook,
		PVOID pMappingInfo);
#pragma linkage(somTP_PenPenSubSystem_penAddObjectEventPage2, system)
typedef somTP_PenPenSubSystem_penAddObjectEventPage2 *somTD_PenPenSubSystem_penAddObjectEventPage2;
#define somMD_PenPenSubSystem_penAddObjectEventPage2 "----"
#define PenPenSubSystem_penAddObjectEventPage2(somSelf,hwndNotebook,pMappingInfo) \
    (SOM_Resolve(somSelf, PenPenSubSystem, penAddObjectEventPage2) \
	(somSelf,hwndNotebook,pMappingInfo))
#define _penAddObjectEventPage2 PenPenSubSystem_penAddObjectEventPage2

/*
 * New Method: penAddTrainingPage
 */
typedef ULONG    SOMLINK somTP_PenPenSubSystem_penAddTrainingPage(PenPenSubSystem *somSelf,
		HWND hwndNotebook);
#pragma linkage(somTP_PenPenSubSystem_penAddTrainingPage, system)
typedef somTP_PenPenSubSystem_penAddTrainingPage *somTD_PenPenSubSystem_penAddTrainingPage;
#define somMD_PenPenSubSystem_penAddTrainingPage "----"
#define PenPenSubSystem_penAddTrainingPage(somSelf,hwndNotebook) \
    (SOM_Resolve(somSelf, PenPenSubSystem, penAddTrainingPage) \
	(somSelf,hwndNotebook))
#define _penAddTrainingPage PenPenSubSystem_penAddTrainingPage

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

/*
 * Declare the class data structure
 */
SOMEXTERN struct PenPenSubSystemClassDataStructure {
	SOMAny *classObject;
	somMToken penAddPenFeedback2Page;
	somMToken penAddPenTimeouts1Page;
	somMToken penAddObjectEventPage;
	somMToken penAddObjectEventPage2;
	somMToken penInvokeGestureHelp;
	somMToken penAddTrainingPage;
} PenPenSubSystemClassData;

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

#endif       /* wppensys_h */

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

#ifndef wppensys_mh
#define wppensys_mh


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

#define M_PenPenSubSystem_MajorVersion 1
#define M_PenPenSubSystem_MinorVersion 1

/*
 * External name shortening if required
 */
#ifdef SOM_USE_SHORT_EXTERNAL_NAMES
#define M_PenPenSubSystemNewClass WPpssc
#pragma linkage(WPpssc, system)
#define M_PenPenSubSystemClassData WPpssd
#define M_PenPenSubSystemCClassData WPpssx
#endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
/*--------------Migration------------*/
#define M_PenPenSubSystem_classObj M_PenPenSubSystemClassData.classObject
#define _M_PenPenSubSystem M_PenPenSubSystem_classObj

/*
 * New and Renew macros for M_PenPenSubSystem
 */
#define _M_PenPenSubSystemNew() (_somNew(M_PenPenSubSystemClassData.classObject))
#define M_PenPenSubSystemNew() \
	( M_PenPenSubSystemClassData.classObject \
		? _M_PenPenSubSystemNew() \
		: ( M_PenPenSubSystemNewClass(M_PenPenSubSystem_MajorVersion, M_PenPenSubSystem_MinorVersion), _M_PenPenSubSystemNew() ) )
#define M_PenPenSubSystemRenew(buf) \
	( _somRenew(M_PenPenSubSystemClassData.classObject, buf) )

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

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

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

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

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

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

/*
 * Declare the class data structure
 */
SOMEXTERN struct M_PenPenSubSystemClassDataStructure {
	SOMAny *classObject;
} M_PenPenSubSystemClassData;

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

#endif       /* wppensys_h */
