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

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


#ifndef wpspool_h
#define wpspool_h


#include <som.h>

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

#define WPSpool_MajorVersion 1
#define WPSpool_MinorVersion 1

/*
 * External name shortening if required
 */
#ifdef SOM_USE_SHORT_EXTERNAL_NAMES
#define WPSpoolNewClass WPsplc
#pragma linkage(WPsplc, system)
#define WPSpoolClassData WPspld
#define WPSpoolCClassData WPsplx
#endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
/*--------------Migration------------*/
#define WPSpool_classObj WPSpoolClassData.classObject
#define _WPSpool WPSpool_classObj

/*
 * New and Renew macros for WPSpool
 */
#define _WPSpoolNew() (_somNew(WPSpoolClassData.classObject))
#define WPSpoolNew() \
	( WPSpoolClassData.classObject \
		? _WPSpoolNew() \
		: ( WPSpoolNewClass(WPSpool_MajorVersion, WPSpool_MinorVersion), _WPSpoolNew() ) )
#define WPSpoolRenew(buf) \
	( _somRenew(WPSpoolClassData.classObject, buf) )

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

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

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

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

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

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

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

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

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

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

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

/*
 * Override method: wpCopyObject
 */
#define WPSpool_wpCopyObject(somSelf,Folder,fLock) \
	WPObject_wpCopyObject(somSelf,Folder,fLock)

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

/*
 * Override method: wpSaveState
 */
#define WPSpool_wpSaveState(somSelf) \
	WPObject_wpSaveState(somSelf)

/*
 * Override method: wpRestoreState
 */
#define WPSpool_wpRestoreState(somSelf,ulReserved) \
	WPObject_wpRestoreState(somSelf,ulReserved)

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

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

/*
 * Declare the class data structure
 */
SOMEXTERN struct WPSpoolClassDataStructure {
	SOMAny *classObject;
	somMToken AddSetPathPage;
	somMToken AddSetPriorityPage;
} WPSpoolClassData;

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

#endif       /* wpspool_h */

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

#ifndef wpspool_mh
#define wpspool_mh


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

#define M_WPSpool_MajorVersion 1
#define M_WPSpool_MinorVersion 1

/*
 * External name shortening if required
 */
#ifdef SOM_USE_SHORT_EXTERNAL_NAMES
#define M_WPSpoolNewClass WPsplc
#pragma linkage(WPsplc, system)
#define M_WPSpoolClassData WPspld
#define M_WPSpoolCClassData WPsplx
#endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
/*--------------Migration------------*/
#define M_WPSpool_classObj M_WPSpoolClassData.classObject
#define _M_WPSpool M_WPSpool_classObj

/*
 * New and Renew macros for M_WPSpool
 */
#define _M_WPSpoolNew() (_somNew(M_WPSpoolClassData.classObject))
#define M_WPSpoolNew() \
	( M_WPSpoolClassData.classObject \
		? _M_WPSpoolNew() \
		: ( M_WPSpoolNewClass(M_WPSpool_MajorVersion, M_WPSpool_MinorVersion), _M_WPSpoolNew() ) )
#define M_WPSpoolRenew(buf) \
	( _somRenew(M_WPSpoolClassData.classObject, buf) )

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

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

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

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

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

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

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

/*
 * Declare the class data structure
 */
SOMEXTERN struct M_WPSpoolClassDataStructure {
	SOMAny *classObject;
} M_WPSpoolClassData;

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

#endif       /* wpspool_h */
