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

/*
 * 
 *  Module Header
 * 
 *  Module Name: WPPDR
 * 
 *  OS/2 Presentation Manager Workplace class definitions
 * 
 *  Copyright (c) International Business Machines Corporation 1991, 1992
 * 
 */


#ifndef wppdr_h
#define wppdr_h


#include <som.h>

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

#define WPPdr_MajorVersion 1
#define WPPdr_MinorVersion 1

/*
 * External name shortening if required
 */
#ifdef SOM_USE_SHORT_EXTERNAL_NAMES
#define WPPdrNewClass WPpdrc
#pragma linkage(WPpdrc, system)
#define WPPdrClassData WPpdrd
#define WPPdrCClassData WPpdrx
#endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
/*--------------Migration------------*/
#define WPPdr_classObj WPPdrClassData.classObject
#define _WPPdr WPPdr_classObj

/*
 * New and Renew macros for WPPdr
 */
#define _WPPdrNew() (_somNew(WPPdrClassData.classObject))
#define WPPdrNew() \
	( WPPdrClassData.classObject \
		? _WPPdrNew() \
		: ( WPPdrNewClass(WPPdr_MajorVersion, WPPdr_MinorVersion), _WPPdrNew() ) )
#define WPPdrRenew(buf) \
	( _somRenew(WPPdrClassData.classObject, buf) )

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

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

/*
 * Override method: somDumpSelfInt
 */
#define WPPdr_somDumpSelfInt(somSelf,level) \
	SOMObject_somDumpSelfInt(somSelf,level)

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

/*
 * Override method: wpQueryTitle
 */
#define WPPdr_wpQueryTitle(somSelf) \
	WPObject_wpQueryTitle(somSelf)

/*
 * Override method: wpQueryIcon
 */
#define WPPdr_wpQueryIcon(somSelf) \
	WPObject_wpQueryIcon(somSelf)

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

/*
 * Override method: wpFree
 */
#define WPPdr_wpFree(somSelf) \
	WPObject_wpFree(somSelf)

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

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

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

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

/*
 * Override method: wpDrop
 */
#define WPPdr_wpDrop(somSelf,hwndCnr,pdrgInfo,pdrgItem) \
	WPObject_wpDrop(somSelf,hwndCnr,pdrgInfo,pdrgItem)

/*
 * Override method: wpDragOver
 */
#define WPPdr_wpDragOver(somSelf,hwndCnr,pdrgInfo) \
	WPObject_wpDragOver(somSelf,hwndCnr,pdrgInfo)

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

/*
 * Declare the class data structure
 */
SOMEXTERN struct WPPdrClassDataStructure {
	SOMAny *classObject;
	somMToken prtGetPDriverInfo;
	somMToken prtSetPDriverInfo;
	somMToken prtGetPDriverName;
	somMToken prtGetPDeviceName;
	somMToken prtSetPdrIcon;
	somMToken prtSetPDriverDiscardhwndDlg;
	somMToken prtSetPDriverInstallhwndDlg;
} WPPdrClassData;

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

#endif       /* wppdr_h */

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

#ifndef wppdr_mh
#define wppdr_mh


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

#define M_WPPdr_MajorVersion 1
#define M_WPPdr_MinorVersion 1

/*
 * External name shortening if required
 */
#ifdef SOM_USE_SHORT_EXTERNAL_NAMES
#define M_WPPdrNewClass WPpdrc
#pragma linkage(WPpdrc, system)
#define M_WPPdrClassData WPpdrd
#define M_WPPdrCClassData WPpdrx
#endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
/*--------------Migration------------*/
#define M_WPPdr_classObj M_WPPdrClassData.classObject
#define _M_WPPdr M_WPPdr_classObj

/*
 * New and Renew macros for M_WPPdr
 */
#define _M_WPPdrNew() (_somNew(M_WPPdrClassData.classObject))
#define M_WPPdrNew() \
	( M_WPPdrClassData.classObject \
		? _M_WPPdrNew() \
		: ( M_WPPdrNewClass(M_WPPdr_MajorVersion, M_WPPdr_MinorVersion), _M_WPPdrNew() ) )
#define M_WPPdrRenew(buf) \
	( _somRenew(M_WPPdrClassData.classObject, buf) )

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

/*
 * Override method: wpclsQueryIcon
 */
#define M_WPPdr_wpclsQueryIcon(somSelf) \
	M_WPObject_wpclsQueryIcon(somSelf)

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

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

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

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

/*
 * Declare the class data structure
 */
SOMEXTERN struct M_WPPdrClassDataStructure {
	SOMAny *classObject;
} M_WPPdrClassData;

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

#endif       /* wppdr_h */
