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

/*
 * 
 *  SCC: @(#) 37 2/26/93 15:56:43 1.7 @(#)
 *  Module Header
 * 
 *  Module Name: WPDISPLY
 * 
 *  OS/2 Presentation Manager Workplace class definitions
 * 
 *  Copyright (c) International Business Machines Corporation 1992
 * 
 */


#ifndef wpdisply_h
#define wpdisply_h


/*
 * Passthru lines: File: "C.h", "before"
 */


#include <som.h>

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

#define PenDisplay_MajorVersion 1
#define PenDisplay_MinorVersion 1

/*
 * External name shortening if required
 */
#ifdef SOM_USE_SHORT_EXTERNAL_NAMES
#define PenDisplayNewClass Pendspc
#pragma linkage(Pendspc, system)
#define PenDisplayClassData Pendspd
#define PenDisplayCClassData Pendspx
#endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
/*--------------Migration------------*/
#define PenDisplay_classObj PenDisplayClassData.classObject
#define _PenDisplay PenDisplay_classObj

/*
 * New and Renew macros for PenDisplay
 */
#define _PenDisplayNew() (_somNew(PenDisplayClassData.classObject))
#define PenDisplayNew() \
	( PenDisplayClassData.classObject \
		? _PenDisplayNew() \
		: ( PenDisplayNewClass(PenDisplay_MajorVersion, PenDisplay_MinorVersion), _PenDisplayNew() ) )
#define PenDisplayRenew(buf) \
	( _somRenew(PenDisplayClassData.classObject, buf) )

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

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

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

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

/*
 * New Method: penAddDisplayBacklightPage
 */
typedef ULONG    SOMLINK somTP_PenDisplay_penAddDisplayBacklightPage(PenDisplay *somSelf,
		HWND hwndNotebook);
#pragma linkage(somTP_PenDisplay_penAddDisplayBacklightPage, system)
typedef somTP_PenDisplay_penAddDisplayBacklightPage *somTD_PenDisplay_penAddDisplayBacklightPage;
#define somMD_PenDisplay_penAddDisplayBacklightPage "----"
#define PenDisplay_penAddDisplayBacklightPage(somSelf,hwndNotebook) \
    (SOM_Resolve(somSelf, PenDisplay, penAddDisplayBacklightPage) \
	(somSelf,hwndNotebook))
#define _penAddDisplayBacklightPage PenDisplay_penAddDisplayBacklightPage

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

/*
 * Declare the class data structure
 */
SOMEXTERN struct PenDisplayClassDataStructure {
	SOMAny *classObject;
	somMToken penAddDisplayBacklightPage;
} PenDisplayClassData;

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

#endif       /* wpdisply_h */

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

#ifndef wpdisply_mh
#define wpdisply_mh


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

#define M_PenDisplay_MajorVersion 1
#define M_PenDisplay_MinorVersion 1

/*
 * External name shortening if required
 */
#ifdef SOM_USE_SHORT_EXTERNAL_NAMES
#define M_PenDisplayNewClass Pendspc
#pragma linkage(Pendspc, system)
#define M_PenDisplayClassData Pendspd
#define M_PenDisplayCClassData Pendspx
#endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
/*--------------Migration------------*/
#define M_PenDisplay_classObj M_PenDisplayClassData.classObject
#define _M_PenDisplay M_PenDisplay_classObj

/*
 * New and Renew macros for M_PenDisplay
 */
#define _M_PenDisplayNew() (_somNew(M_PenDisplayClassData.classObject))
#define M_PenDisplayNew() \
	( M_PenDisplayClassData.classObject \
		? _M_PenDisplayNew() \
		: ( M_PenDisplayNewClass(M_PenDisplay_MajorVersion, M_PenDisplay_MinorVersion), _M_PenDisplayNew() ) )
#define M_PenDisplayRenew(buf) \
	( _somRenew(M_PenDisplayClassData.classObject, buf) )

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

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

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

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

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

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

/*
 * Declare the class data structure
 */
SOMEXTERN struct M_PenDisplayClassDataStructure {
	SOMAny *classObject;
} M_PenDisplayClassData;

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

#endif       /* wpdisply_h */
