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

/*
 * 
 *  SCC: @(#) 55 1/28/93 15:49:37 1.4 @(#)
 *  Module Header
 * 
 *  Module Name: WPMOUSEP
 * 
 *  OS/2 Presentation Manager Workplace class definitions
 * 
 *  Copyright (c) International Business Machines Corporation 1991, 1992
 * 
 */


#ifndef wpmousep_h
#define wpmousep_h


#include <som.h>

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

#define PenMouse_MajorVersion 1
#define PenMouse_MinorVersion 2

/*
 * External name shortening if required
 */
#ifdef SOM_USE_SHORT_EXTERNAL_NAMES
#define PenMouseNewClass WPmspc
#pragma linkage(WPmspc, system)
#define PenMouseClassData WPmspd
#define PenMouseCClassData WPmspx
#endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
/*--------------Migration------------*/
#define PenMouse_classObj PenMouseClassData.classObject
#define _PenMouse PenMouse_classObj

/*
 * New and Renew macros for PenMouse
 */
#define _PenMouseNew() (_somNew(PenMouseClassData.classObject))
#define PenMouseNew() \
	( PenMouseClassData.classObject \
		? _PenMouseNew() \
		: ( PenMouseNewClass(PenMouse_MajorVersion, PenMouse_MinorVersion), _PenMouseNew() ) )
#define PenMouseRenew(buf) \
	( _somRenew(PenMouseClassData.classObject, buf) )

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

/*
 * Override method: wpInsertSettingsPage
 */
#define PenMouse_wpInsertSettingsPage(somSelf,hwndNotebook,ppageinfo) \
	WPObject_wpInsertSettingsPage(somSelf,hwndNotebook,ppageinfo)

/*
 * Override method: wpAddMouseTimingPage
 */
#define PenMouse_wpAddMouseTimingPage(somSelf,hwndNotebook) \
	WPMouse_wpAddMouseTimingPage(somSelf,hwndNotebook)

/*
 * New Method: penAddMousePenTimingPage
 */
typedef ULONG    SOMLINK somTP_PenMouse_penAddMousePenTimingPage(PenMouse *somSelf,
		HWND hwndNotebook);
#pragma linkage(somTP_PenMouse_penAddMousePenTimingPage, system)
typedef somTP_PenMouse_penAddMousePenTimingPage *somTD_PenMouse_penAddMousePenTimingPage;
#define somMD_PenMouse_penAddMousePenTimingPage "----"
#define PenMouse_penAddMousePenTimingPage(somSelf,hwndNotebook) \
    (SOM_Resolve(somSelf, PenMouse, penAddMousePenTimingPage) \
	(somSelf,hwndNotebook))
#define _penAddMousePenTimingPage PenMouse_penAddMousePenTimingPage

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

/*
 * Declare the class data structure
 */
SOMEXTERN struct PenMouseClassDataStructure {
	SOMAny *classObject;
	somMToken penAddMousePenTimingPage;
} PenMouseClassData;

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

#endif       /* wpmousep_h */

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

#ifndef wpmousep_mh
#define wpmousep_mh


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

#define M_PenMouse_MajorVersion 1
#define M_PenMouse_MinorVersion 2

/*
 * External name shortening if required
 */
#ifdef SOM_USE_SHORT_EXTERNAL_NAMES
#define M_PenMouseNewClass WPmspc
#pragma linkage(WPmspc, system)
#define M_PenMouseClassData WPmspd
#define M_PenMouseCClassData WPmspx
#endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
/*--------------Migration------------*/
#define M_PenMouse_classObj M_PenMouseClassData.classObject
#define _M_PenMouse M_PenMouse_classObj

/*
 * New and Renew macros for M_PenMouse
 */
#define _M_PenMouseNew() (_somNew(M_PenMouseClassData.classObject))
#define M_PenMouseNew() \
	( M_PenMouseClassData.classObject \
		? _M_PenMouseNew() \
		: ( M_PenMouseNewClass(M_PenMouse_MajorVersion, M_PenMouse_MinorVersion), _M_PenMouseNew() ) )
#define M_PenMouseRenew(buf) \
	( _somRenew(M_PenMouseClassData.classObject, buf) )

/*
 * New Method: penclsPenMouseDummyMethod
 */
typedef VOID    SOMLINK somTP_M_PenMouse_penclsPenMouseDummyMethod(M_PenMouse *somSelf);
#pragma linkage(somTP_M_PenMouse_penclsPenMouseDummyMethod, system)
typedef somTP_M_PenMouse_penclsPenMouseDummyMethod *somTD_M_PenMouse_penclsPenMouseDummyMethod;
#define somMD_M_PenMouse_penclsPenMouseDummyMethod "----"
#define M_PenMouse_penclsPenMouseDummyMethod(somSelf) \
    (SOM_Resolve(somSelf, M_PenMouse, penclsPenMouseDummyMethod) \
	(somSelf))
#define _penclsPenMouseDummyMethod M_PenMouse_penclsPenMouseDummyMethod

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

/*
 * Declare the class data structure
 */
SOMEXTERN struct M_PenMouseClassDataStructure {
	SOMAny *classObject;
	somMToken penclsPenMouseDummyMethod;
} M_PenMouseClassData;

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

#endif       /* wpmousep_h */
