
/*
 * This file was generated by the SOM Compiler.
 * FileName: F:\wpwpsh\rel\ppc\include\os2\wprprint.h.
 * Generated using:
 *     SOM Precompiler somipc: 2.29.1.3
 *     SOM Emitter emith: 2.41
 */

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


#ifndef SOM_WPRPrinter_h
#define SOM_WPRPrinter_h


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

 /* common context menu ids */ 
#define WPPOICM_RPRTMENU            9017
#define WPPOIDM_RPRTACCESSANOTHER   9018
#define WPPOIDM_RPRTCONNECT         9019
#define WPPOIDM_RPRTDISCONNECT      9020
#define WPPOIDM_RPRTLOGON           9021
#define WPPOIDM_RPRTLOGOFF          9022
#define WPPOIDM_RPRTREMADMIN        9024
#define WPPOIDM_RPRTREMADMIN_COPY   9025
#define WPPOIDM_RPRTREMADMIN_CREATE 9026
#define WPPOIDM_RPRTREMADMIN_DELETE 9027
#define WPPOIDM_PPRTINSTALL         8001


#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 WPRPrinter
#define WPRPrinter SOMObject
#endif
#include <wpprint.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 M_WPAbstract
    #define M_WPAbstract SOMObject
#endif /* M_WPAbstract */
#ifndef M_WPPrinter
    #define M_WPPrinter SOMObject
#endif /* M_WPPrinter */
#ifndef M_WPRPrinter
    #define M_WPRPrinter SOMObject
#endif /* M_WPRPrinter */

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

#define WPRPrinter_MajorVersion 1
#define WPRPrinter_MinorVersion 1

/*
 * External name shortening if required
 */
#ifdef SOM_USE_SHORT_EXTERNAL_NAMES
#define WPRPrinterNewClass WPrprintc
#define WPRPrinterClassData WPrprintd
#define WPRPrinterCClassData WPrprintx
#endif /* SOM_USE_SHORT_EXTERNAL_NAMES */

/*
 * Include the meta class file
 */
#include <wprprint.h>
/*--------------Migration------------*/
#define WPRPrinter_classObj WPRPrinterClassData.classObject
#define _WPRPrinter WPRPrinter_classObj

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

/*
 * Declare the class data structure
 */
SOMEXTERN struct WPRPrinterClassDataStructure {
	SOMClass *classObject;
	somMToken wpSetResNetIdentity;
	somMToken wpQueryResNetIdentity;
	somMToken wpAddNetworkPage;
	somMToken wpCreateAnotherPrinter;
	somMToken wpNetworkConnect;
	somMToken wpNetworkDisconnect;
	somMToken wpNetworkLogoff;
	somMToken wpNetworkLogon;
	somMToken wpAuthenticate;
	somMToken wpQueryNetworkName;
	somMToken wpQueryServerName;
	somMToken wpQueryResourceName;
	somMToken wpParseNetId;
	somMToken wpAddObjectGeneralPage;
	somMToken wpQueryNetworkId;
	somMToken wpQueryLocalAlias;
} SOMDLINK WPRPrinterClassData;

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

/*
 * New and Renew macros for WPRPrinter
 */
#define WPRPrinterNew() \
   (_somNew(_WPRPrinter ? _WPRPrinter : WPRPrinterNewClass(WPRPrinter_MajorVersion, WPRPrinter_MinorVersion)))
#define WPRPrinterRenew(buf) \
   (_somRenew(_WPRPrinter ? _WPRPrinter : WPRPrinterNewClass(WPRPrinter_MajorVersion, WPRPrinter_MinorVersion), buf))

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

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

/*
 * Override method: wpSetup
 */
#define WPRPrinter_wpSetup(somSelf,pszSetupString) \
	WPObject_wpSetup(somSelf,pszSetupString)

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

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

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

/*
 * Override method: wpAddObjectGeneralPage
 */
#define WPRPrinter_wpAddObjectGeneralPage(somSelf,hwndNotebook) \
	WPObject_wpAddObjectGeneralPage(somSelf,hwndNotebook)

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

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

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

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

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

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

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

/*
 * Override method: wpCopiedFromTemplate
 */
#define WPRPrinter_wpCopiedFromTemplate(somSelf) \
	WPObject_wpCopiedFromTemplate(somSelf)

/*
 * Override method: wpCreateFromTemplate
 */
#define WPRPrinter_wpCreateFromTemplate(somSelf,folder,fLock) \
	WPObject_wpCreateFromTemplate(somSelf,folder,fLock)

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

/*
 * New Method: wpAddNetworkPage
 */
typedef BOOL   SOMLINK somTP_WPRPrinter_wpAddNetworkPage(WPRPrinter *somSelf, 
		HWND hwndNotebook);
typedef somTP_WPRPrinter_wpAddNetworkPage *somTD_WPRPrinter_wpAddNetworkPage;
#define somMD_WPRPrinter_wpAddNetworkPage "::WPRPrinter::wpAddNetworkPage"
#define WPRPrinter_wpAddNetworkPage(somSelf,hwndNotebook) \
    (SOM_Resolve(somSelf, WPRPrinter, wpAddNetworkPage) \
	(somSelf,hwndNotebook))
#ifndef SOMGD_wpAddNetworkPage
    #if (defined(_wpAddNetworkPage) || defined(__wpAddNetworkPage))
        #undef _wpAddNetworkPage
        #undef __wpAddNetworkPage
        #define SOMGD_wpAddNetworkPage 1
    #else
        #define _wpAddNetworkPage WPRPrinter_wpAddNetworkPage
    #endif /* _wpAddNetworkPage */
#endif /* SOMGD_wpAddNetworkPage */

/*
 * New Method: wpQueryNetworkId
 */
typedef BOOL   SOMLINK somTP_WPRPrinter_wpQueryNetworkId(WPRPrinter *somSelf, 
		PSZ pBuf, 
		PULONG pcbBuf);
typedef somTP_WPRPrinter_wpQueryNetworkId *somTD_WPRPrinter_wpQueryNetworkId;
#define somMD_WPRPrinter_wpQueryNetworkId "::WPRPrinter::wpQueryNetworkId"
#define WPRPrinter_wpQueryNetworkId(somSelf,pBuf,pcbBuf) \
    (SOM_Resolve(somSelf, WPRPrinter, wpQueryNetworkId) \
	(somSelf,pBuf,pcbBuf))
#ifndef SOMGD_wpQueryNetworkId
    #if (defined(_wpQueryNetworkId) || defined(__wpQueryNetworkId))
        #undef _wpQueryNetworkId
        #undef __wpQueryNetworkId
        #define SOMGD_wpQueryNetworkId 1
    #else
        #define _wpQueryNetworkId WPRPrinter_wpQueryNetworkId
    #endif /* _wpQueryNetworkId */
#endif /* SOMGD_wpQueryNetworkId */

/*
 * New Method: wpQueryLocalAlias
 */
typedef BOOL   SOMLINK somTP_WPRPrinter_wpQueryLocalAlias(WPRPrinter *somSelf, 
		PSZ pBuf, 
		PULONG pcbBuf);
typedef somTP_WPRPrinter_wpQueryLocalAlias *somTD_WPRPrinter_wpQueryLocalAlias;
#define somMD_WPRPrinter_wpQueryLocalAlias "::WPRPrinter::wpQueryLocalAlias"
#define WPRPrinter_wpQueryLocalAlias(somSelf,pBuf,pcbBuf) \
    (SOM_Resolve(somSelf, WPRPrinter, wpQueryLocalAlias) \
	(somSelf,pBuf,pcbBuf))
#ifndef SOMGD_wpQueryLocalAlias
    #if (defined(_wpQueryLocalAlias) || defined(__wpQueryLocalAlias))
        #undef _wpQueryLocalAlias
        #undef __wpQueryLocalAlias
        #define SOMGD_wpQueryLocalAlias 1
    #else
        #define _wpQueryLocalAlias WPRPrinter_wpQueryLocalAlias
    #endif /* _wpQueryLocalAlias */
#endif /* SOMGD_wpQueryLocalAlias */
#ifndef SOM_DONT_USE_INHERITED_MACROS
#define WPRPrinter_wpDeleteAllJobs WPPrinter_wpDeleteAllJobs
#define WPRPrinter_wpHoldPrinter WPPrinter_wpHoldPrinter
#define WPRPrinter_wpReleasePrinter WPPrinter_wpReleasePrinter
#define WPRPrinter_wpQueryComputerName WPPrinter_wpQueryComputerName
#define WPRPrinter_wpQueryPrinterName WPPrinter_wpQueryPrinterName
#define WPRPrinter_wpSetComputerName WPPrinter_wpSetComputerName
#define WPRPrinter_wpSetPrinterName WPPrinter_wpSetPrinterName
#define WPRPrinter_wpSetDefaultPrinter WPPrinter_wpSetDefaultPrinter
#define WPRPrinter_wpSetQueueOptions WPPrinter_wpSetQueueOptions
#define WPRPrinter_wpQueryQueueOptions WPPrinter_wpQueryQueueOptions
#define WPRPrinter_wpSetRemoteOptions WPPrinter_wpSetRemoteOptions
#define WPRPrinter_wpQueryRemoteOptions WPPrinter_wpQueryRemoteOptions
#define WPRPrinter_wpJobAdded WPPrinter_wpJobAdded
#define WPRPrinter_wpJobChanged WPPrinter_wpJobChanged
#define WPRPrinter_wpJobDeleted WPPrinter_wpJobDeleted
#define WPRPrinter_wpSetJobProperties WPPrinter_wpSetJobProperties
#define WPRPrinter_wpAddObjectGeneralPage2 WPObject_wpAddObjectGeneralPage2
#define WPRPrinter_wpAddObjectWindowPage WPObject_wpAddObjectWindowPage
#define WPRPrinter_wpAddToObjUseList WPObject_wpAddToObjUseList
#define WPRPrinter_wpAllocMem WPObject_wpAllocMem
#define WPRPrinter_wpAppendObject WPObject_wpAppendObject
#define WPRPrinter_wpAssertObjectMutexSem WPObject_wpAssertObjectMutexSem
#define WPRPrinter_wpClose WPObject_wpClose
#define WPRPrinter_wpCnrInsertObject WPObject_wpCnrInsertObject
#define WPRPrinter_wpCnrRemoveObject WPObject_wpCnrRemoveObject
#define WPRPrinter_wpCnrSetEmphasis WPObject_wpCnrSetEmphasis
#define WPRPrinter_wpConfirmDelete WPObject_wpConfirmDelete
#define WPRPrinter_wpConfirmObjectTitle WPObject_wpConfirmObjectTitle
#define WPRPrinter_wpCreateAnother WPObject_wpCreateAnother
#define WPRPrinter_wpCreateShadowObject WPObject_wpCreateShadowObject
#define WPRPrinter_wpDelete WPObject_wpDelete
#define WPRPrinter_wpDeleteFromObjUseList WPObject_wpDeleteFromObjUseList
#define WPRPrinter_wpDisplayHelp WPObject_wpDisplayHelp
#define WPRPrinter_wpDisplayMenu WPObject_wpDisplayMenu
#define WPRPrinter_wpDoesObjectMatch WPObject_wpDoesObjectMatch
#define WPRPrinter_wpDraggedOverObject WPObject_wpDraggedOverObject
#define WPRPrinter_wpDroppedOnObject WPObject_wpDroppedOnObject
#define WPRPrinter_wpEndConversation WPObject_wpEndConversation
#define WPRPrinter_wpFindUseItem WPObject_wpFindUseItem
#define WPRPrinter_wpFormatDragItem WPObject_wpFormatDragItem
#define WPRPrinter_wpFree WPObject_wpFree
#define WPRPrinter_wpFreeMem WPObject_wpFreeMem
#define WPRPrinter_wpHide WPObject_wpHide
#define WPRPrinter_wpInsertPopupMenuItems WPObject_wpInsertPopupMenuItems
#define WPRPrinter_wpInsertSettingsPage WPObject_wpInsertSettingsPage
#define WPRPrinter_wpMoveObject WPObject_wpMoveObject
#define WPRPrinter_wpPrintObject WPObject_wpPrintObject
#define WPRPrinter_wpQueryConcurrentView WPObject_wpQueryConcurrentView
#define WPRPrinter_wpQueryButtonAppearance WPObject_wpQueryButtonAppearance
#define WPRPrinter_wpQueryConfirmations WPObject_wpQueryConfirmations
#define WPRPrinter_wpQueryDefaultHelp WPObject_wpQueryDefaultHelp
#define WPRPrinter_wpQueryDefaultView WPObject_wpQueryDefaultView
#define WPRPrinter_wpQueryDetailsData WPObject_wpQueryDetailsData
#define WPRPrinter_wpQueryError WPObject_wpQueryError
#define WPRPrinter_wpSetFolder WPObject_wpSetFolder
#define WPRPrinter_wpQueryFolder WPObject_wpQueryFolder
#define WPRPrinter_wpQueryIcon WPObject_wpQueryIcon
#define WPRPrinter_wpQueryIconData WPObject_wpQueryIconData
#define WPRPrinter_wpQueryMinWindow WPObject_wpQueryMinWindow
#define WPRPrinter_wpQueryNameClashOptions WPObject_wpQueryNameClashOptions
#define WPRPrinter_wpQueryStyle WPObject_wpQueryStyle
#define WPRPrinter_wpSetTaskRec WPObject_wpSetTaskRec
#define WPRPrinter_wpFindTaskRec WPObject_wpFindTaskRec
#define WPRPrinter_wpQueryTitle WPObject_wpQueryTitle
#define WPRPrinter_wpRegisterView WPObject_wpRegisterView
#define WPRPrinter_wpReleaseObjectMutexSem WPObject_wpReleaseObjectMutexSem
#define WPRPrinter_wpRender WPObject_wpRender
#define WPRPrinter_wpRenderComplete WPObject_wpRenderComplete
#define WPRPrinter_wpReplaceObject WPObject_wpReplaceObject
#define WPRPrinter_wpRequestObjectMutexSem WPObject_wpRequestObjectMutexSem
#define WPRPrinter_wpRestore WPObject_wpRestore
#define WPRPrinter_wpRestoreData WPObject_wpRestoreData
#define WPRPrinter_wpRestoreLong WPObject_wpRestoreLong
#define WPRPrinter_wpRestoreString WPObject_wpRestoreString
#define WPRPrinter_wpSaveData WPObject_wpSaveData
#define WPRPrinter_wpSaveImmediate WPObject_wpSaveImmediate
#define WPRPrinter_wpSaveDeferred WPObject_wpSaveDeferred
#define WPRPrinter_wpSaveLong WPObject_wpSaveLong
#define WPRPrinter_wpSaveString WPObject_wpSaveString
#define WPRPrinter_wpScanSetupString WPObject_wpScanSetupString
#define WPRPrinter_wpSetConcurrentView WPObject_wpSetConcurrentView
#define WPRPrinter_wpSetButtonAppearance WPObject_wpSetButtonAppearance
#define WPRPrinter_wpSetDefaultHelp WPObject_wpSetDefaultHelp
#define WPRPrinter_wpSetDefaultView WPObject_wpSetDefaultView
#define WPRPrinter_wpSetError WPObject_wpSetError
#define WPRPrinter_wpSetIconHandle WPObject_wpSetIconHandle
#define WPRPrinter_wpQueryScreenGroupID WPObject_wpQueryScreenGroupID
#define WPRPrinter_wpSetupOnce WPObject_wpSetupOnce
#define WPRPrinter_wpSetIcon WPObject_wpSetIcon
#define WPRPrinter_wpSetIconData WPObject_wpSetIconData
#define WPRPrinter_wpSetMinWindow WPObject_wpSetMinWindow
#define WPRPrinter_wpSetStyle WPObject_wpSetStyle
#define WPRPrinter_wpModifyStyle WPObject_wpModifyStyle
#define WPRPrinter_wpSetTitle WPObject_wpSetTitle
#define WPRPrinter_wpSwitchTo WPObject_wpSwitchTo
#define WPRPrinter_wpViewObject WPObject_wpViewObject
#define WPRPrinter_wpQueryTrueStyle WPObject_wpQueryTrueStyle
#define WPRPrinter_wpQueryHandle WPObject_wpQueryHandle
#define WPRPrinter_wpUnlockObject WPObject_wpUnlockObject
#define WPRPrinter_wpObjectReady WPObject_wpObjectReady
#define WPRPrinter_wpIsObjectInitialized WPObject_wpIsObjectInitialized
#define WPRPrinter_wpCreateShadowObjectExt WPObject_wpCreateShadowObjectExt
#define WPRPrinter_wpCnrDeleteUseItem WPObject_wpCnrDeleteUseItem
#define WPRPrinter_wpIsDeleteable WPObject_wpIsDeleteable
#define WPRPrinter_wpQueryCoreRecord WPObject_wpQueryCoreRecord
#define WPRPrinter_wpSetObjectID WPObject_wpSetObjectID
#define WPRPrinter_wpQueryObjectID WPObject_wpQueryObjectID
#define WPRPrinter_wpSetDefaultIconPos WPObject_wpSetDefaultIconPos
#define WPRPrinter_wpQueryDefaultIconPos WPObject_wpQueryDefaultIconPos
#define WPRPrinter_wpCnrRefreshDetails WPObject_wpCnrRefreshDetails
#define WPRPrinter_wpFindViewItem WPObject_wpFindViewItem
#define WPRPrinter_wpLockObject WPObject_wpLockObject
#define WPRPrinter_wpIsLocked WPObject_wpIsLocked
#define WPRPrinter_wpQueryContainerFlagPtr WPObject_wpQueryContainerFlagPtr
#define WPRPrinter_wpWaitForClose WPObject_wpWaitForClose
#define WPRPrinter_somDefaultInit SOMObject_somDefaultInit
#define WPRPrinter_somDestruct SOMObject_somDestruct
#define WPRPrinter_somDefaultCopyInit SOMObject_somDefaultCopyInit
#define WPRPrinter_somDefaultAssign SOMObject_somDefaultAssign
#define WPRPrinter_somDefaultConstCopyInit SOMObject_somDefaultConstCopyInit
#define WPRPrinter_somDefaultVCopyInit SOMObject_somDefaultVCopyInit
#define WPRPrinter_somDefaultConstVCopyInit SOMObject_somDefaultConstVCopyInit
#define WPRPrinter_somDefaultConstAssign SOMObject_somDefaultConstAssign
#define WPRPrinter_somDefaultVAssign SOMObject_somDefaultVAssign
#define WPRPrinter_somDefaultConstVAssign SOMObject_somDefaultConstVAssign
#define WPRPrinter_somInit SOMObject_somInit
#define WPRPrinter_somFree SOMObject_somFree
#define WPRPrinter_somUninit SOMObject_somUninit
#define WPRPrinter_somGetClass SOMObject_somGetClass
#define WPRPrinter_somGetClassName SOMObject_somGetClassName
#define WPRPrinter_somGetSize SOMObject_somGetSize
#define WPRPrinter_somIsA SOMObject_somIsA
#define WPRPrinter_somIsInstanceOf SOMObject_somIsInstanceOf
#define WPRPrinter_somRespondsTo SOMObject_somRespondsTo
#define WPRPrinter_somDispatch SOMObject_somDispatch
#define WPRPrinter_somClassDispatch SOMObject_somClassDispatch
#define WPRPrinter_somCastObj SOMObject_somCastObj
#define WPRPrinter_somResetObj SOMObject_somResetObj
#define WPRPrinter_somPrintSelf SOMObject_somPrintSelf
#define WPRPrinter_somDumpSelf SOMObject_somDumpSelf
#define WPRPrinter_somDumpSelfInt SOMObject_somDumpSelfInt
#endif /* SOM_DONT_USE_INHERITED_MACROS */

#endif       /* SOM_WPRPrinter_h */

#ifndef SOM_M_WPRPrinter_h
#define SOM_M_WPRPrinter_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_WPRPrinter
#define M_WPRPrinter SOMObject
#endif
#include <wpprint.h>

/*
 * Start of bindings for IDL types
 */


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

#define M_WPRPrinter_MajorVersion 1
#define M_WPRPrinter_MinorVersion 1

/*
 * External name shortening if required
 */
#ifdef SOM_USE_SHORT_EXTERNAL_NAMES
#define M_WPRPrinterNewClass WPrprintc
#define M_WPRPrinterClassData WPrprintd
#define M_WPRPrinterCClassData WPrprintx
#endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
/*--------------Migration------------*/
#define M_WPRPrinter_classObj M_WPRPrinterClassData.classObject
#define _M_WPRPrinter M_WPRPrinter_classObj

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

/*
 * Declare the class data structure
 */
SOMEXTERN struct M_WPRPrinterClassDataStructure {
	SOMClass *classObject;
} SOMDLINK M_WPRPrinterClassData;

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

/*
 * New and Renew macros for M_WPRPrinter
 */
#define M_WPRPrinterNew() \
   (_somNew(_M_WPRPrinter ? _M_WPRPrinter : M_WPRPrinterNewClass(M_WPRPrinter_MajorVersion, M_WPRPrinter_MinorVersion)))
#define M_WPRPrinterRenew(buf) \
   (_somRenew(_M_WPRPrinter ? _M_WPRPrinter : M_WPRPrinterNewClass(M_WPRPrinter_MajorVersion, M_WPRPrinter_MinorVersion), buf))

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

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

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

/*
 * Override method: wpclsQueryStyle
 */
#define M_WPRPrinter_wpclsQueryStyle(somSelf) \
	M_WPObject_wpclsQueryStyle(somSelf)
#ifndef SOM_DONT_USE_INHERITED_MACROS
#define M_WPRPrinter_wpclsQuerySetting M_WPAbstract_wpclsQuerySetting
#define M_WPRPrinter_wpclsSetSetting M_WPAbstract_wpclsSetSetting
#define M_WPRPrinter_wpclsCreateDefaultTemplates M_WPObject_wpclsCreateDefaultTemplates
#define M_WPRPrinter_wpclsInitData M_WPObject_wpclsInitData
#define M_WPRPrinter_wpclsMakeAwake M_WPObject_wpclsMakeAwake
#define M_WPRPrinter_wpclsNew M_WPObject_wpclsNew
#define M_WPRPrinter_wpclsQueryDefaultHelp M_WPObject_wpclsQueryDefaultHelp
#define M_WPRPrinter_wpclsQueryDefaultView M_WPObject_wpclsQueryDefaultView
#define M_WPRPrinter_wpclsQueryDetails M_WPObject_wpclsQueryDetails
#define M_WPRPrinter_wpclsQueryDetailsInfo M_WPObject_wpclsQueryDetailsInfo
#define M_WPRPrinter_wpclsQueryExtendedCriteria M_WPObject_wpclsQueryExtendedCriteria
#define M_WPRPrinter_wpclsQueryFolder M_WPObject_wpclsQueryFolder
#define M_WPRPrinter_wpclsQuerySearchInfo M_WPObject_wpclsQuerySearchInfo
#define M_WPRPrinter_wpclsUnInitData M_WPObject_wpclsUnInitData
#define M_WPRPrinter_wpclsFindObjectFirst M_WPObject_wpclsFindObjectFirst
#define M_WPRPrinter_wpclsFindObjectNext M_WPObject_wpclsFindObjectNext
#define M_WPRPrinter_wpclsFindObjectEnd M_WPObject_wpclsFindObjectEnd
#define M_WPRPrinter_wpclsSetError M_WPObject_wpclsSetError
#define M_WPRPrinter_wpclsQueryError M_WPObject_wpclsQueryError
#define M_WPRPrinter_wpclsQuerySettingsPageSize M_WPObject_wpclsQuerySettingsPageSize
#define M_WPRPrinter_wpclsQueryObject M_WPObject_wpclsQueryObject
#define M_WPRPrinter_wpclsQueryButtonAppearance M_WPObject_wpclsQueryButtonAppearance
#define M_WPRPrinter_wpclsDecUsage M_WPObject_wpclsDecUsage
#define M_WPRPrinter_wpclsIncUsage M_WPObject_wpclsIncUsage
#define M_WPRPrinter_wpclsInsertMultipleObjects M_WPObject_wpclsInsertMultipleObjects
#define M_WPRPrinter_wpclsFindOneObject M_WPObject_wpclsFindOneObject
#define M_WPRPrinter_wpclsSetSettingsPageSize M_WPObject_wpclsSetSettingsPageSize
#define M_WPRPrinter_wpclsSetIconData M_WPObject_wpclsSetIconData
#define M_WPRPrinter_wpclsSetIcon M_WPObject_wpclsSetIcon
#define M_WPRPrinter_wpclsObjectFromHandle M_WPObject_wpclsObjectFromHandle
#define M_WPRPrinter_wpclsRemoveObjects M_WPObject_wpclsRemoveObjects
#define M_WPRPrinter__get_somDataAlignment SOMClass__get_somDataAlignment
#define M_WPRPrinter__get_somInstanceDataOffsets SOMClass__get_somInstanceDataOffsets
#define M_WPRPrinter__get_somDirectInitClasses SOMClass__get_somDirectInitClasses
#define M_WPRPrinter__set_somDirectInitClasses SOMClass__set_somDirectInitClasses
#define M_WPRPrinter_somNew SOMClass_somNew
#define M_WPRPrinter_somNewNoInit SOMClass_somNewNoInit
#define M_WPRPrinter_somRenew SOMClass_somRenew
#define M_WPRPrinter_somRenewNoInit SOMClass_somRenewNoInit
#define M_WPRPrinter_somRenewNoZero SOMClass_somRenewNoZero
#define M_WPRPrinter_somRenewNoInitNoZero SOMClass_somRenewNoInitNoZero
#define M_WPRPrinter_somAllocate SOMClass_somAllocate
#define M_WPRPrinter_somDeallocate SOMClass_somDeallocate
#define M_WPRPrinter_somGetInstanceInitMask SOMClass_somGetInstanceInitMask
#define M_WPRPrinter_somGetInstanceDestructionMask SOMClass_somGetInstanceDestructionMask
#define M_WPRPrinter_somGetInstanceAssignmentMask SOMClass_somGetInstanceAssignmentMask
#define M_WPRPrinter_somInitClass SOMClass_somInitClass
#define M_WPRPrinter_somInitMIClass SOMClass_somInitMIClass
#define M_WPRPrinter_somAddStaticMethod SOMClass_somAddStaticMethod
#define M_WPRPrinter_somAddDynamicMethod SOMClass_somAddDynamicMethod
#define M_WPRPrinter_somOverrideSMethod SOMClass_somOverrideSMethod
#define M_WPRPrinter_somClassReady SOMClass_somClassReady
#define M_WPRPrinter_somGetApplyStub SOMClass_somGetApplyStub
#define M_WPRPrinter_somGetClassData SOMClass_somGetClassData
#define M_WPRPrinter_somSetClassData SOMClass_somSetClassData
#define M_WPRPrinter_somGetClassMtab SOMClass_somGetClassMtab
#define M_WPRPrinter_somGetInstanceOffset SOMClass_somGetInstanceOffset
#define M_WPRPrinter_somGetInstancePartSize SOMClass_somGetInstancePartSize
#define M_WPRPrinter_somGetInstanceSize SOMClass_somGetInstanceSize
#define M_WPRPrinter_somGetInstanceToken SOMClass_somGetInstanceToken
#define M_WPRPrinter_somGetMemberToken SOMClass_somGetMemberToken
#define M_WPRPrinter_somGetMethodData SOMClass_somGetMethodData
#define M_WPRPrinter_somGetRdStub SOMClass_somGetRdStub
#define M_WPRPrinter_somGetMethodDescriptor SOMClass_somGetMethodDescriptor
#define M_WPRPrinter_somGetMethodIndex SOMClass_somGetMethodIndex
#define M_WPRPrinter_somGetMethodToken SOMClass_somGetMethodToken
#define M_WPRPrinter_somGetName SOMClass_somGetName
#define M_WPRPrinter_somGetNthMethodData SOMClass_somGetNthMethodData
#define M_WPRPrinter_somGetNthMethodInfo SOMClass_somGetNthMethodInfo
#define M_WPRPrinter_somGetNumMethods SOMClass_somGetNumMethods
#define M_WPRPrinter_somGetNumStaticMethods SOMClass_somGetNumStaticMethods
#define M_WPRPrinter_somGetParent SOMClass_somGetParent
#define M_WPRPrinter_somGetParents SOMClass_somGetParents
#define M_WPRPrinter_somGetPClsMtab SOMClass_somGetPClsMtab
#define M_WPRPrinter_somGetPClsMtabs SOMClass_somGetPClsMtabs
#define M_WPRPrinter_somGetVersionNumbers SOMClass_somGetVersionNumbers
#define M_WPRPrinter_somSetMethodDescriptor SOMClass_somSetMethodDescriptor
#define M_WPRPrinter_somFindMethod SOMClass_somFindMethod
#define M_WPRPrinter_somFindMethodOk SOMClass_somFindMethodOk
#define M_WPRPrinter_somFindSMethod SOMClass_somFindSMethod
#define M_WPRPrinter_somFindSMethodOk SOMClass_somFindSMethodOk
#define M_WPRPrinter_somLookupMethod SOMClass_somLookupMethod
#define M_WPRPrinter_somCheckVersion SOMClass_somCheckVersion
#define M_WPRPrinter_somDescendedFrom SOMClass_somDescendedFrom
#define M_WPRPrinter_somSupportsMethod SOMClass_somSupportsMethod
#define M_WPRPrinter_somDefinedMethod SOMClass_somDefinedMethod
#define M_WPRPrinter_somOverrideMtab SOMClass_somOverrideMtab
#define M_WPRPrinter_somDefaultInit SOMObject_somDefaultInit
#define M_WPRPrinter_somDestruct SOMObject_somDestruct
#define M_WPRPrinter_somDefaultCopyInit SOMObject_somDefaultCopyInit
#define M_WPRPrinter_somDefaultAssign SOMObject_somDefaultAssign
#define M_WPRPrinter_somDefaultConstCopyInit SOMObject_somDefaultConstCopyInit
#define M_WPRPrinter_somDefaultVCopyInit SOMObject_somDefaultVCopyInit
#define M_WPRPrinter_somDefaultConstVCopyInit SOMObject_somDefaultConstVCopyInit
#define M_WPRPrinter_somDefaultConstAssign SOMObject_somDefaultConstAssign
#define M_WPRPrinter_somDefaultVAssign SOMObject_somDefaultVAssign
#define M_WPRPrinter_somDefaultConstVAssign SOMObject_somDefaultConstVAssign
#define M_WPRPrinter_somInit SOMObject_somInit
#define M_WPRPrinter_somFree SOMObject_somFree
#define M_WPRPrinter_somUninit SOMObject_somUninit
#define M_WPRPrinter_somGetClass SOMObject_somGetClass
#define M_WPRPrinter_somGetClassName SOMObject_somGetClassName
#define M_WPRPrinter_somGetSize SOMObject_somGetSize
#define M_WPRPrinter_somIsA SOMObject_somIsA
#define M_WPRPrinter_somIsInstanceOf SOMObject_somIsInstanceOf
#define M_WPRPrinter_somRespondsTo SOMObject_somRespondsTo
#define M_WPRPrinter_somDispatch SOMObject_somDispatch
#define M_WPRPrinter_somClassDispatch SOMObject_somClassDispatch
#define M_WPRPrinter_somCastObj SOMObject_somCastObj
#define M_WPRPrinter_somResetObj SOMObject_somResetObj
#define M_WPRPrinter_somPrintSelf SOMObject_somPrintSelf
#define M_WPRPrinter_somDumpSelf SOMObject_somDumpSelf
#define M_WPRPrinter_somDumpSelfInt SOMObject_somDumpSelfInt
#endif /* SOM_DONT_USE_INHERITED_MACROS */

#endif       /* SOM_M_WPRPrinter_h */
