
/*
 * This file was generated by the SOM Compiler.
 * FileName: E:\cwpsh\rel\os2c\include\base\os2\wpspool.h.
 * Generated using:
 *     SOM Precompiler somipc: 2.29.1.14
 *     SOM Emitter emith: 2.43
 */

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


#ifndef SOM_WPSpool_h
#define SOM_WPSpool_h


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

/* common context menu ids */
#define WPPOICM_SPOOL_ENABLE        5001
#define WPPOIDM_SPOOL_ENABLE        5101
#define WPPOICM_SPOOL_DISABLE       5002
#define WPPOIDM_SPOOL_DISABLE       5102


#include <som.h>

/*
 * -- This emitter normally treats Method Tokens as Thunks,
 * -- but the sc modifier "nothunks" was used, so somResolve will be called.
 */
#undef somresolve_
#define somresolve_(obj,mToken) (somResolve(obj,mToken))

/*
 * Define the class name as an object type
 */
#ifndef WPSpool
#define WPSpool SOMObject
#endif
#include <wpabs.h>

/*
 * Start of bindings for IDL types
 */

#ifndef SOMClass
    #define SOMClass SOMObject
#endif /* SOMClass */
#ifndef WPFolder
    #define WPFolder SOMObject
#endif /* WPFolder */
#ifndef M_WPObject
    #define M_WPObject SOMObject
#endif /* M_WPObject */
#ifndef WPObject
    #define WPObject SOMObject
#endif /* WPObject */
#ifndef WPImageFile
    #define WPImageFile SOMObject
#endif /* WPImageFile */
#ifndef M_WPAbstract
    #define M_WPAbstract SOMObject
#endif /* M_WPAbstract */
#ifndef M_WPSpool
    #define M_WPSpool SOMObject
#endif /* M_WPSpool */

/*
 * End of bindings for IDL types.
 */

#define WPSpool_MajorVersion 1
#define WPSpool_MinorVersion 1

/*
 * External name shortening if required
 */
#ifdef SOM_USE_SHORT_EXTERNAL_NAMES
#define WPSpoolNewClass WPsplc
#define WPSpoolClassData WPspld
#define WPSpoolCClassData WPsplx
#endif /* SOM_USE_SHORT_EXTERNAL_NAMES */

/*
 * Include the meta class file
 */
#include <wpspool.h>
/*--------------Migration------------*/
#define WPSpool_classObj WPSpoolClassData.classObject
#define _WPSpool WPSpool_classObj

/*
 * Declare the class creation procedure
 */
SOMEXTERN SOMClass * SOMLINK WPSpoolNewClass(integer4 somtmajorVersion,
		integer4 somtminorVersion);

/*
 * Declare the class data structure
 */
SOMEXTERN struct WPSpoolClassDataStructure {
	SOMClass *classObject;
	somMToken wpAddSetPathPage;
	somMToken wpAddSetPriorityPage;
	somMToken pdvQueryXSplitBarAllJobs;
	somMToken pdvSetXSplitBarAllJobs;
	somMToken wpAddSetPortRedirPage;
	somMToken wpAddSetViewPage;
	somMToken splSetDetailsColumnVisibility;
	somMToken splIsDetailsColumnVisible;
	somMToken wpAddSetSyncPage;
} SOMDLINK WPSpoolClassData;

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

/*
 * New and Renew macros for WPSpool
 */
#define WPSpoolNew() \
   ( _WPSpool ? \
	_somNew(_WPSpool) \
	: ( WPSpoolNewClass(\
		WPSpool_MajorVersion, \
		WPSpool_MinorVersion),\
	   _somNew(_WPSpool)))
#define WPSpoolRenew(buf) \
   ( _WPSpool ? \
	_somRenew(_WPSpool, buf) \
	: ( WPSpoolNewClass(\
		WPSpool_MajorVersion, \
		WPSpool_MinorVersion),\
	   _somRenew(_WPSpool, 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)

/*
 * New Method: wpAddSetPathPage
 */
typedef ULONG   SOMLINK somTP_WPSpool_wpAddSetPathPage(WPSpool *somSelf, 
		HWND hwndNotebook);
typedef somTP_WPSpool_wpAddSetPathPage *somTD_WPSpool_wpAddSetPathPage;
#define somMD_WPSpool_wpAddSetPathPage "::WPSpool::wpAddSetPathPage"
#define WPSpool_wpAddSetPathPage(somSelf,hwndNotebook) \
    (SOM_Resolve(somSelf, WPSpool, wpAddSetPathPage) \
	(somSelf,hwndNotebook))
#ifndef SOMGD_wpAddSetPathPage
    #if (defined(_wpAddSetPathPage) || defined(__wpAddSetPathPage))
        #undef _wpAddSetPathPage
        #undef __wpAddSetPathPage
        #define SOMGD_wpAddSetPathPage 1
    #else
        #define _wpAddSetPathPage WPSpool_wpAddSetPathPage
    #endif /* _wpAddSetPathPage */
#endif /* SOMGD_wpAddSetPathPage */

/*
 * New Method: wpAddSetPriorityPage
 */
typedef ULONG   SOMLINK somTP_WPSpool_wpAddSetPriorityPage(WPSpool *somSelf, 
		HWND hwndNotebook);
typedef somTP_WPSpool_wpAddSetPriorityPage *somTD_WPSpool_wpAddSetPriorityPage;
#define somMD_WPSpool_wpAddSetPriorityPage "::WPSpool::wpAddSetPriorityPage"
#define WPSpool_wpAddSetPriorityPage(somSelf,hwndNotebook) \
    (SOM_Resolve(somSelf, WPSpool, wpAddSetPriorityPage) \
	(somSelf,hwndNotebook))
#ifndef SOMGD_wpAddSetPriorityPage
    #if (defined(_wpAddSetPriorityPage) || defined(__wpAddSetPriorityPage))
        #undef _wpAddSetPriorityPage
        #undef __wpAddSetPriorityPage
        #define SOMGD_wpAddSetPriorityPage 1
    #else
        #define _wpAddSetPriorityPage WPSpool_wpAddSetPriorityPage
    #endif /* _wpAddSetPriorityPage */
#endif /* SOMGD_wpAddSetPriorityPage */

/*
 * New Method: wpAddSetPortRedirPage
 */
typedef ULONG   SOMLINK somTP_WPSpool_wpAddSetPortRedirPage(WPSpool *somSelf, 
		HWND hwndNotebook);
typedef somTP_WPSpool_wpAddSetPortRedirPage *somTD_WPSpool_wpAddSetPortRedirPage;
#define somMD_WPSpool_wpAddSetPortRedirPage "::WPSpool::wpAddSetPortRedirPage"
#define WPSpool_wpAddSetPortRedirPage(somSelf,hwndNotebook) \
    (SOM_Resolve(somSelf, WPSpool, wpAddSetPortRedirPage) \
	(somSelf,hwndNotebook))
#ifndef SOMGD_wpAddSetPortRedirPage
    #if (defined(_wpAddSetPortRedirPage) || defined(__wpAddSetPortRedirPage))
        #undef _wpAddSetPortRedirPage
        #undef __wpAddSetPortRedirPage
        #define SOMGD_wpAddSetPortRedirPage 1
    #else
        #define _wpAddSetPortRedirPage WPSpool_wpAddSetPortRedirPage
    #endif /* _wpAddSetPortRedirPage */
#endif /* SOMGD_wpAddSetPortRedirPage */

/*
 * New Method: wpAddSetViewPage
 */
typedef ULONG   SOMLINK somTP_WPSpool_wpAddSetViewPage(WPSpool *somSelf, 
		HWND hwndNotebook);
typedef somTP_WPSpool_wpAddSetViewPage *somTD_WPSpool_wpAddSetViewPage;
#define somMD_WPSpool_wpAddSetViewPage "::WPSpool::wpAddSetViewPage"
#define WPSpool_wpAddSetViewPage(somSelf,hwndNotebook) \
    (SOM_Resolve(somSelf, WPSpool, wpAddSetViewPage) \
	(somSelf,hwndNotebook))
#ifndef SOMGD_wpAddSetViewPage
    #if (defined(_wpAddSetViewPage) || defined(__wpAddSetViewPage))
        #undef _wpAddSetViewPage
        #undef __wpAddSetViewPage
        #define SOMGD_wpAddSetViewPage 1
    #else
        #define _wpAddSetViewPage WPSpool_wpAddSetViewPage
    #endif /* _wpAddSetViewPage */
#endif /* SOMGD_wpAddSetViewPage */

/*
 * New Method: wpAddSetSyncPage
 */
typedef ULONG   SOMLINK somTP_WPSpool_wpAddSetSyncPage(WPSpool *somSelf, 
		HWND hwndNotebook);
typedef somTP_WPSpool_wpAddSetSyncPage *somTD_WPSpool_wpAddSetSyncPage;
#define somMD_WPSpool_wpAddSetSyncPage "::WPSpool::wpAddSetSyncPage"
#define WPSpool_wpAddSetSyncPage(somSelf,hwndNotebook) \
    (SOM_Resolve(somSelf, WPSpool, wpAddSetSyncPage) \
	(somSelf,hwndNotebook))
#ifndef SOMGD_wpAddSetSyncPage
    #if (defined(_wpAddSetSyncPage) || defined(__wpAddSetSyncPage))
        #undef _wpAddSetSyncPage
        #undef __wpAddSetSyncPage
        #define SOMGD_wpAddSetSyncPage 1
    #else
        #define _wpAddSetSyncPage WPSpool_wpAddSetSyncPage
    #endif /* _wpAddSetSyncPage */
#endif /* SOMGD_wpAddSetSyncPage */
#ifndef SOM_DONT_USE_INHERITED_MACROS
#define WPSpool_wpQueryHandle WPObject_wpQueryHandle
#define WPSpool_wpSaveImmediate WPObject_wpSaveImmediate
#define WPSpool_wpSetTitle WPObject_wpSetTitle
#define WPSpool_wpMoveObject WPObject_wpMoveObject
#define WPSpool_wpQueryIconData WPObject_wpQueryIconData
#define WPSpool_wpSetIconData WPObject_wpSetIconData
#define WPSpool_wpReplaceObject WPObject_wpReplaceObject
#define WPSpool_wpQueryNameClashOptions WPObject_wpQueryNameClashOptions
#define WPSpool_somDefaultInit SOMObject_somDefaultInit
#define WPSpool_somDestruct SOMObject_somDestruct
#define WPSpool_wpIdentify WPObject_wpIdentify
#define WPSpool_wpAddObjectGeneralPage WPObject_wpAddObjectGeneralPage
#define WPSpool_wpAddObjectGeneralPage2 WPObject_wpAddObjectGeneralPage2
#define WPSpool_wpAddObjectWindowPage WPObject_wpAddObjectWindowPage
#define WPSpool_wpAddToObjUseList WPObject_wpAddToObjUseList
#define WPSpool_wpAllocMem WPObject_wpAllocMem
#define WPSpool_wpAppendObject WPObject_wpAppendObject
#define WPSpool_wpAssertObjectMutexSem WPObject_wpAssertObjectMutexSem
#define WPSpool_wpClose WPObject_wpClose
#define WPSpool_wpCnrInsertObject WPObject_wpCnrInsertObject
#define WPSpool_wpCnrRemoveObject WPObject_wpCnrRemoveObject
#define WPSpool_wpCnrSetEmphasis WPObject_wpCnrSetEmphasis
#define WPSpool_wpConfirmDelete WPObject_wpConfirmDelete
#define WPSpool_wpConfirmObjectTitle WPObject_wpConfirmObjectTitle
#define WPSpool_wpCopiedFromTemplate WPObject_wpCopiedFromTemplate
#define WPSpool_wpCreateAnother WPObject_wpCreateAnother
#define WPSpool_wpCreateFromTemplate WPObject_wpCreateFromTemplate
#define WPSpool_wpCreateShadowObject WPObject_wpCreateShadowObject
#define WPSpool_wpDelete WPObject_wpDelete
#define WPSpool_wpDeleteFromObjUseList WPObject_wpDeleteFromObjUseList
#define WPSpool_wpDisplayHelp WPObject_wpDisplayHelp
#define WPSpool_wpDisplayMenu WPObject_wpDisplayMenu
#define WPSpool_wpDoesObjectMatch WPObject_wpDoesObjectMatch
#define WPSpool_wpDraggedOverObject WPObject_wpDraggedOverObject
#define WPSpool_wpDroppedOnObject WPObject_wpDroppedOnObject
#define WPSpool_wpEndConversation WPObject_wpEndConversation
#define WPSpool_wpFilterMenu WPObject_wpFilterMenu
#define WPSpool_wpFindUseItem WPObject_wpFindUseItem
#define WPSpool_wpFormatDragItem WPObject_wpFormatDragItem
#define WPSpool_wpFree WPObject_wpFree
#define WPSpool_wpFreeMem WPObject_wpFreeMem
#define WPSpool_wpHide WPObject_wpHide
#define WPSpool_wpInsertPopupMenuItems WPObject_wpInsertPopupMenuItems
#define WPSpool_wpInsertMenuItems WPObject_wpInsertMenuItems
#define WPSpool_wpInsertSettingsPage WPObject_wpInsertSettingsPage
#define WPSpool_wpModifyMenu WPObject_wpModifyMenu
#define WPSpool_wpPrintObject WPObject_wpPrintObject
#define WPSpool_wpQueryConcurrentView WPObject_wpQueryConcurrentView
#define WPSpool_wpQueryButtonAppearance WPObject_wpQueryButtonAppearance
#define WPSpool_wpQueryConfirmations WPObject_wpQueryConfirmations
#define WPSpool_wpQueryDefaultHelp WPObject_wpQueryDefaultHelp
#define WPSpool_wpQueryDefaultView WPObject_wpQueryDefaultView
#define WPSpool_wpQueryDetailsData WPObject_wpQueryDetailsData
#define WPSpool_wpQueryError WPObject_wpQueryError
#define WPSpool_wpSetFolder WPObject_wpSetFolder
#define WPSpool_wpQueryFolder WPObject_wpQueryFolder
#define WPSpool_wpQueryMinWindow WPObject_wpQueryMinWindow
#define WPSpool_wpQueryStyle WPObject_wpQueryStyle
#define WPSpool_wpSetTaskRec WPObject_wpSetTaskRec
#define WPSpool_wpFindTaskRec WPObject_wpFindTaskRec
#define WPSpool_wpRegisterView WPObject_wpRegisterView
#define WPSpool_wpReleaseObjectMutexSem WPObject_wpReleaseObjectMutexSem
#define WPSpool_wpRender WPObject_wpRender
#define WPSpool_wpRenderComplete WPObject_wpRenderComplete
#define WPSpool_wpRequestObjectMutexSem WPObject_wpRequestObjectMutexSem
#define WPSpool_wpRestore WPObject_wpRestore
#define WPSpool_wpRestoreData WPObject_wpRestoreData
#define WPSpool_wpRestoreLong WPObject_wpRestoreLong
#define WPSpool_wpRestoreString WPObject_wpRestoreString
#define WPSpool_wpSaveData WPObject_wpSaveData
#define WPSpool_wpSaveDeferred WPObject_wpSaveDeferred
#define WPSpool_wpSaveLong WPObject_wpSaveLong
#define WPSpool_wpSaveString WPObject_wpSaveString
#define WPSpool_wpScanSetupString WPObject_wpScanSetupString
#define WPSpool_wpSetConcurrentView WPObject_wpSetConcurrentView
#define WPSpool_wpSetButtonAppearance WPObject_wpSetButtonAppearance
#define WPSpool_wpSetDefaultHelp WPObject_wpSetDefaultHelp
#define WPSpool_wpSetDefaultView WPObject_wpSetDefaultView
#define WPSpool_wpSetError WPObject_wpSetError
#define WPSpool_wpQueryScreenGroupID WPObject_wpQueryScreenGroupID
#define WPSpool_wpSetupOnce WPObject_wpSetupOnce
#define WPSpool_wpSetIcon WPObject_wpSetIcon
#define WPSpool_wpSetMinWindow WPObject_wpSetMinWindow
#define WPSpool_wpModifyStyle WPObject_wpModifyStyle
#define WPSpool_wpSetup WPObject_wpSetup
#define WPSpool_wpSwitchTo WPObject_wpSwitchTo
#define WPSpool_wpViewObject WPObject_wpViewObject
#define WPSpool_wpQueryTrueStyle WPObject_wpQueryTrueStyle
#define WPSpool_wpUnlockObject WPObject_wpUnlockObject
#define WPSpool_wpObjectReady WPObject_wpObjectReady
#define WPSpool_wpIsObjectInitialized WPObject_wpIsObjectInitialized
#define WPSpool_wpCreateShadowObjectExt WPObject_wpCreateShadowObjectExt
#define WPSpool_wpCnrDeleteUseItem WPObject_wpCnrDeleteUseItem
#define WPSpool_wpIsDeleteable WPObject_wpIsDeleteable
#define WPSpool_wpQueryCoreRecord WPObject_wpQueryCoreRecord
#define WPSpool_wpSetObjectID WPObject_wpSetObjectID
#define WPSpool_wpQueryObjectID WPObject_wpQueryObjectID
#define WPSpool_wpSetDefaultIconPos WPObject_wpSetDefaultIconPos
#define WPSpool_wpQueryDefaultIconPos WPObject_wpQueryDefaultIconPos
#define WPSpool_wpCnrRefreshDetails WPObject_wpCnrRefreshDetails
#define WPSpool_wpFindViewItem WPObject_wpFindViewItem
#define WPSpool_wpLockObject WPObject_wpLockObject
#define WPSpool_wpIsLocked WPObject_wpIsLocked
#define WPSpool_wpQueryContainerFlagPtr WPObject_wpQueryContainerFlagPtr
#define WPSpool_wpWaitForClose WPObject_wpWaitForClose
#define WPSpool_wpSetMenuStyle WPObject_wpSetMenuStyle
#define WPSpool_wpQueryMenuStyle WPObject_wpQueryMenuStyle
#define WPSpool_wpSetStyle WPObject_wpSetStyle
#define WPSpool_somInit SOMObject_somInit
#define WPSpool_somUninit SOMObject_somUninit
#define WPSpool_somDefaultCopyInit SOMObject_somDefaultCopyInit
#define WPSpool_somDefaultAssign SOMObject_somDefaultAssign
#define WPSpool_somDefaultConstCopyInit SOMObject_somDefaultConstCopyInit
#define WPSpool_somDefaultVCopyInit SOMObject_somDefaultVCopyInit
#define WPSpool_somDefaultConstVCopyInit SOMObject_somDefaultConstVCopyInit
#define WPSpool_somDefaultConstAssign SOMObject_somDefaultConstAssign
#define WPSpool_somDefaultVAssign SOMObject_somDefaultVAssign
#define WPSpool_somDefaultConstVAssign SOMObject_somDefaultConstVAssign
#define WPSpool_somFree SOMObject_somFree
#define WPSpool_somGetClass SOMObject_somGetClass
#define WPSpool_somGetClassName SOMObject_somGetClassName
#define WPSpool_somGetSize SOMObject_somGetSize
#define WPSpool_somIsA SOMObject_somIsA
#define WPSpool_somIsInstanceOf SOMObject_somIsInstanceOf
#define WPSpool_somRespondsTo SOMObject_somRespondsTo
#define WPSpool_somDispatch SOMObject_somDispatch
#define WPSpool_somClassDispatch SOMObject_somClassDispatch
#define WPSpool_somCastObj SOMObject_somCastObj
#define WPSpool_somResetObj SOMObject_somResetObj
#define WPSpool_somDispatchV SOMObject_somDispatchV
#define WPSpool_somDispatchL SOMObject_somDispatchL
#define WPSpool_somDispatchA SOMObject_somDispatchA
#define WPSpool_somDispatchD SOMObject_somDispatchD
#define WPSpool_somPrintSelf SOMObject_somPrintSelf
#define WPSpool_somDumpSelf SOMObject_somDumpSelf
#endif /* SOM_DONT_USE_INHERITED_MACROS */

#endif       /* SOM_WPSpool_h */

#ifndef SOM_M_WPSpool_h
#define SOM_M_WPSpool_h


#include <som.h>

/*
 * -- This emitter normally treats Method Tokens as Thunks,
 * -- but the sc modifier "nothunks" was used, so somResolve will be called.
 */
#undef somresolve_
#define somresolve_(obj,mToken) (somResolve(obj,mToken))

/*
 * Define the class name as an object type
 */
#ifndef M_WPSpool
#define M_WPSpool SOMObject
#endif
#include <wpabs.h>

/*
 * Start of bindings for IDL types
 */


/*
 * End of bindings for IDL types.
 */

#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
#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

/*
 * Declare the class creation procedure
 */
SOMEXTERN SOMClass * SOMLINK M_WPSpoolNewClass(integer4 somtmajorVersion,
		integer4 somtminorVersion);

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

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

/*
 * New and Renew macros for M_WPSpool
 */
#define M_WPSpoolNew() \
   ( _M_WPSpool ? \
	_somNew(_M_WPSpool) \
	: ( M_WPSpoolNewClass(\
		M_WPSpool_MajorVersion, \
		M_WPSpool_MinorVersion),\
	   _somNew(_M_WPSpool)))
#define M_WPSpoolRenew(buf) \
   ( _M_WPSpool ? \
	_somRenew(_M_WPSpool, buf) \
	: ( M_WPSpoolNewClass(\
		M_WPSpool_MajorVersion, \
		M_WPSpool_MinorVersion),\
	   _somRenew(_M_WPSpool, 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)
#ifndef SOM_DONT_USE_INHERITED_MACROS
#define M_WPSpool_wpclsQuerySetting M_WPAbstract_wpclsQuerySetting
#define M_WPSpool_wpclsSetSetting M_WPAbstract_wpclsSetSetting
#define M_WPSpool_wpclsObjectFromHandle M_WPObject_wpclsObjectFromHandle
#define M_WPSpool_wpclsCreateDefaultTemplates M_WPObject_wpclsCreateDefaultTemplates
#define M_WPSpool_wpclsInitData M_WPObject_wpclsInitData
#define M_WPSpool_wpclsMakeAwake M_WPObject_wpclsMakeAwake
#define M_WPSpool_wpclsNew M_WPObject_wpclsNew
#define M_WPSpool_wpclsQueryDetails M_WPObject_wpclsQueryDetails
#define M_WPSpool_wpclsQueryDetailsInfo M_WPObject_wpclsQueryDetailsInfo
#define M_WPSpool_wpclsQueryExtendedCriteria M_WPObject_wpclsQueryExtendedCriteria
#define M_WPSpool_wpclsQueryFolder M_WPObject_wpclsQueryFolder
#define M_WPSpool_wpclsQuerySearchInfo M_WPObject_wpclsQuerySearchInfo
#define M_WPSpool_wpclsUnInitData M_WPObject_wpclsUnInitData
#define M_WPSpool_wpclsFindObjectFirst M_WPObject_wpclsFindObjectFirst
#define M_WPSpool_wpclsFindObjectNext M_WPObject_wpclsFindObjectNext
#define M_WPSpool_wpclsFindObjectEnd M_WPObject_wpclsFindObjectEnd
#define M_WPSpool_wpclsSetError M_WPObject_wpclsSetError
#define M_WPSpool_wpclsQueryError M_WPObject_wpclsQueryError
#define M_WPSpool_wpclsQuerySettingsPageSize M_WPObject_wpclsQuerySettingsPageSize
#define M_WPSpool_wpclsQueryObject M_WPObject_wpclsQueryObject
#define M_WPSpool_wpclsQueryButtonAppearance M_WPObject_wpclsQueryButtonAppearance
#define M_WPSpool_wpclsDecUsage M_WPObject_wpclsDecUsage
#define M_WPSpool_wpclsIncUsage M_WPObject_wpclsIncUsage
#define M_WPSpool_wpclsInsertMultipleObjects M_WPObject_wpclsInsertMultipleObjects
#define M_WPSpool_wpclsFindOneObject M_WPObject_wpclsFindOneObject
#define M_WPSpool_wpclsSetSettingsPageSize M_WPObject_wpclsSetSettingsPageSize
#define M_WPSpool_wpclsSetIconData M_WPObject_wpclsSetIconData
#define M_WPSpool_wpclsSetIcon M_WPObject_wpclsSetIcon
#define M_WPSpool_wpclsRemoveObjects M_WPObject_wpclsRemoveObjects
#define M_WPSpool_somUninit SOMObject_somUninit
#define M_WPSpool_somClassReady SOMClass_somClassReady
#define M_WPSpool_somNew SOMClass_somNew
#define M_WPSpool_somRenew SOMClass_somRenew
#define M_WPSpool__get_somDataAlignment SOMClass__get_somDataAlignment
#define M_WPSpool__get_somInstanceDataOffsets SOMClass__get_somInstanceDataOffsets
#define M_WPSpool__get_somDirectInitClasses SOMClass__get_somDirectInitClasses
#define M_WPSpool__set_somDirectInitClasses SOMClass__set_somDirectInitClasses
#define M_WPSpool_somNewNoInit SOMClass_somNewNoInit
#define M_WPSpool_somRenewNoInit SOMClass_somRenewNoInit
#define M_WPSpool_somRenewNoZero SOMClass_somRenewNoZero
#define M_WPSpool_somRenewNoInitNoZero SOMClass_somRenewNoInitNoZero
#define M_WPSpool_somAllocate SOMClass_somAllocate
#define M_WPSpool_somDeallocate SOMClass_somDeallocate
#define M_WPSpool__get_somClassAllocate SOMClass__get_somClassAllocate
#define M_WPSpool__get_somClassDeallocate SOMClass__get_somClassDeallocate
#define M_WPSpool_somGetInstanceInitMask SOMClass_somGetInstanceInitMask
#define M_WPSpool_somGetInstanceDestructionMask SOMClass_somGetInstanceDestructionMask
#define M_WPSpool_somGetInstanceAssignmentMask SOMClass_somGetInstanceAssignmentMask
#define M_WPSpool_somInitClass SOMClass_somInitClass
#define M_WPSpool_somInitMIClass SOMClass_somInitMIClass
#define M_WPSpool_somAddStaticMethod SOMClass_somAddStaticMethod
#define M_WPSpool_somAddDynamicMethod SOMClass_somAddDynamicMethod
#define M_WPSpool_somOverrideSMethod SOMClass_somOverrideSMethod
#define M_WPSpool_somGetApplyStub SOMClass_somGetApplyStub
#define M_WPSpool_somGetClassData SOMClass_somGetClassData
#define M_WPSpool_somSetClassData SOMClass_somSetClassData
#define M_WPSpool_somGetClassMtab SOMClass_somGetClassMtab
#define M_WPSpool_somGetInstanceOffset SOMClass_somGetInstanceOffset
#define M_WPSpool_somGetInstancePartSize SOMClass_somGetInstancePartSize
#define M_WPSpool_somGetInstanceSize SOMClass_somGetInstanceSize
#define M_WPSpool_somGetInstanceToken SOMClass_somGetInstanceToken
#define M_WPSpool_somGetMemberToken SOMClass_somGetMemberToken
#define M_WPSpool_somGetMethodData SOMClass_somGetMethodData
#define M_WPSpool_somGetRdStub SOMClass_somGetRdStub
#define M_WPSpool_somGetMethodDescriptor SOMClass_somGetMethodDescriptor
#define M_WPSpool_somGetMethodIndex SOMClass_somGetMethodIndex
#define M_WPSpool_somGetMethodToken SOMClass_somGetMethodToken
#define M_WPSpool_somGetName SOMClass_somGetName
#define M_WPSpool_somGetNthMethodData SOMClass_somGetNthMethodData
#define M_WPSpool_somGetNthMethodInfo SOMClass_somGetNthMethodInfo
#define M_WPSpool_somGetNumMethods SOMClass_somGetNumMethods
#define M_WPSpool_somGetNumStaticMethods SOMClass_somGetNumStaticMethods
#define M_WPSpool_somGetParent SOMClass_somGetParent
#define M_WPSpool_somGetParents SOMClass_somGetParents
#define M_WPSpool_somGetPClsMtab SOMClass_somGetPClsMtab
#define M_WPSpool_somGetPClsMtabs SOMClass_somGetPClsMtabs
#define M_WPSpool_somGetVersionNumbers SOMClass_somGetVersionNumbers
#define M_WPSpool_somSetMethodDescriptor SOMClass_somSetMethodDescriptor
#define M_WPSpool_somFindMethod SOMClass_somFindMethod
#define M_WPSpool_somFindMethodOk SOMClass_somFindMethodOk
#define M_WPSpool_somFindSMethod SOMClass_somFindSMethod
#define M_WPSpool_somFindSMethodOk SOMClass_somFindSMethodOk
#define M_WPSpool_somLookupMethod SOMClass_somLookupMethod
#define M_WPSpool_somCheckVersion SOMClass_somCheckVersion
#define M_WPSpool_somDescendedFrom SOMClass_somDescendedFrom
#define M_WPSpool_somSupportsMethod SOMClass_somSupportsMethod
#define M_WPSpool_somDefinedMethod SOMClass_somDefinedMethod
#define M_WPSpool_somOverrideMtab SOMClass_somOverrideMtab
#define M_WPSpool_somDefaultInit SOMObject_somDefaultInit
#define M_WPSpool_somDestruct SOMObject_somDestruct
#define M_WPSpool_somDefaultCopyInit SOMObject_somDefaultCopyInit
#define M_WPSpool_somDefaultAssign SOMObject_somDefaultAssign
#define M_WPSpool_somDefaultConstCopyInit SOMObject_somDefaultConstCopyInit
#define M_WPSpool_somDefaultVCopyInit SOMObject_somDefaultVCopyInit
#define M_WPSpool_somDefaultConstVCopyInit SOMObject_somDefaultConstVCopyInit
#define M_WPSpool_somDefaultConstAssign SOMObject_somDefaultConstAssign
#define M_WPSpool_somDefaultVAssign SOMObject_somDefaultVAssign
#define M_WPSpool_somDefaultConstVAssign SOMObject_somDefaultConstVAssign
#define M_WPSpool_somInit SOMObject_somInit
#define M_WPSpool_somFree SOMObject_somFree
#define M_WPSpool_somGetClass SOMObject_somGetClass
#define M_WPSpool_somGetClassName SOMObject_somGetClassName
#define M_WPSpool_somGetSize SOMObject_somGetSize
#define M_WPSpool_somIsA SOMObject_somIsA
#define M_WPSpool_somIsInstanceOf SOMObject_somIsInstanceOf
#define M_WPSpool_somRespondsTo SOMObject_somRespondsTo
#define M_WPSpool_somDispatch SOMObject_somDispatch
#define M_WPSpool_somClassDispatch SOMObject_somClassDispatch
#define M_WPSpool_somCastObj SOMObject_somCastObj
#define M_WPSpool_somResetObj SOMObject_somResetObj
#define M_WPSpool_somDispatchV SOMObject_somDispatchV
#define M_WPSpool_somDispatchL SOMObject_somDispatchL
#define M_WPSpool_somDispatchA SOMObject_somDispatchA
#define M_WPSpool_somDispatchD SOMObject_somDispatchD
#define M_WPSpool_somPrintSelf SOMObject_somPrintSelf
#define M_WPSpool_somDumpSelf SOMObject_somDumpSelf
#define M_WPSpool_somDumpSelfInt SOMObject_somDumpSelfInt
#endif /* SOM_DONT_USE_INHERITED_MACROS */

#endif       /* SOM_M_WPSpool_h */
