/* Copyright (c) 1992 Colin Jensen.  All Rights Reserved. */


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

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


#ifndef wpqdr_h
#define wpqdr_h


#include <som.h>

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

#define QDR_MajorVersion 1
#define QDR_MinorVersion 1

/*
 * External name shortening if required
 */
#ifdef SOM_USE_SHORT_EXTERNAL_NAMES
#define QDRNewClass qdrc
#pragma linkage(qdrc, system)
#define QDRClassData qdrd
#define QDRCClassData qdrx
#endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
/*--------------Migration------------*/
#define QDR_classObj QDRClassData.classObject
#define _QDR QDR_classObj

/*
 * New and Renew macros for QDR
 */
#define _QDRNew() (_somNew(QDRClassData.classObject))
#define QDRNew() \
	( QDRClassData.classObject \
		? _QDRNew() \
		: ( QDRNewClass(QDR_MajorVersion, QDR_MinorVersion), _QDRNew() ) )
#define QDRRenew(buf) \
	( _somRenew(QDRClassData.classObject, buf) )

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/*
 * Declare the class data structure
 */
SOMEXTERN struct QDRClassDataStructure {
	SOMAny *classObject;
	somMToken prtGetQDriverInfo;
	somMToken prtSetQDriverInfo;
	somMToken prtSetQdrIcon;
	somMToken prtSetQDriverDiscardhwndDlg;
	somMToken prtSetQDriverInstallhwndDlg;
} QDRClassData;

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

#endif       /* wpqdr_h */

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

#ifndef wpqdr_mh
#define wpqdr_mh


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

#define M_QDR_MajorVersion 1
#define M_QDR_MinorVersion 1

/*
 * External name shortening if required
 */
#ifdef SOM_USE_SHORT_EXTERNAL_NAMES
#define M_QDRNewClass qdrc
#pragma linkage(qdrc, system)
#define M_QDRClassData qdrd
#define M_QDRCClassData qdrx
#endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
/*--------------Migration------------*/
#define M_QDR_classObj M_QDRClassData.classObject
#define _M_QDR M_QDR_classObj

/*
 * New and Renew macros for M_QDR
 */
#define _M_QDRNew() (_somNew(M_QDRClassData.classObject))
#define M_QDRNew() \
	( M_QDRClassData.classObject \
		? _M_QDRNew() \
		: ( M_QDRNewClass(M_QDR_MajorVersion, M_QDR_MinorVersion), _M_QDRNew() ) )
#define M_QDRRenew(buf) \
	( _somRenew(M_QDRClassData.classObject, buf) )

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

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

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

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

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

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

/*
 * Declare the class data structure
 */
SOMEXTERN struct M_QDRClassDataStructure {
	SOMAny *classObject;
} M_QDRClassData;

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

#endif       /* wpqdr_h */
