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

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


#ifndef SOM_WPTemplates_h
#define SOM_WPTemplates_h


#include <som.h>

/*
 * -- This emitter treats Method Tokens as Thunks by default.
 * -- Use the sc modifier "nothunks" to change this default
 */
#undef somresolve_
#define somresolve_(obj,mToken) ((somMethodProc*)((void)obj, mToken))

/*
 * Define the class name as an object type
 */
#ifndef WPTemplates
#define WPTemplates SOMObject
#endif
#include <wpfolder.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_WPFileSystem
    #define M_WPFileSystem SOMObject
#endif /* M_WPFileSystem */
#ifndef M_WPFolder
    #define M_WPFolder SOMObject
#endif /* M_WPFolder */
#ifndef M_WPTemplates
    #define M_WPTemplates SOMObject
#endif /* M_WPTemplates */

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

#define WPTemplates_MajorVersion 1
#define WPTemplates_MinorVersion 2

/*
 * External name shortening if required
 */
#ifdef SOM_USE_SHORT_EXTERNAL_NAMES
#define WPTemplatesNewClass WPTplFdrc
#pragma linkage(WPTplFdrc, system)
#define WPTemplatesClassData WPTplFdrd
#define WPTemplatesCClassData WPTplFdrx
#endif /* SOM_USE_SHORT_EXTERNAL_NAMES */

/*
 * Include the meta class file
 */
#include <wptemps.h>
/*--------------Migration------------*/
#define WPTemplates_classObj WPTemplatesClassData.classObject
#define _WPTemplates WPTemplates_classObj

/*
 * Declare the class creation procedure
 */
SOMEXTERN SOMClass * SOMLINK WPTemplatesNewClass(integer4 somtmajorVersion,
		integer4 somtminorVersion);
#pragma linkage(WPTemplatesNewClass, system)

/*
 * Declare the class data structure
 */
SOMEXTERN struct WPTemplatesClassDataStructure {
	SOMClass *classObject;
} SOMDLINK WPTemplatesClassData;

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

/*
 * New and Renew macros for WPTemplates
 */
#define WPTemplatesNew() \
   ( _WPTemplates ? \
	_somNew(_WPTemplates) \
	: ( WPTemplatesNewClass(\
		WPTemplates_MajorVersion, \
		WPTemplates_MinorVersion),\
	   _somNew(_WPTemplates)))
#define WPTemplatesRenew(buf) \
   ( _WPTemplates ? \
	_somRenew(_WPTemplates, buf) \
	: ( WPTemplatesNewClass(\
		WPTemplates_MajorVersion, \
		WPTemplates_MinorVersion),\
	   _somRenew(_WPTemplates, buf)))

/*
 * Override method: wpPopulate
 */
#define WPTemplates_wpPopulate(somSelf,ulReserved,pszPath,fFoldersOnly) \
	WPFolder_wpPopulate(somSelf,ulReserved,pszPath,fFoldersOnly)

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

/*
 * Override method: somDefaultInit
 */
#define WPTemplates_somDefaultInit(somSelf,ctrl) \
	SOMObject_somDefaultInit(somSelf,ctrl)

/*
 * Override method: somDestruct
 */
#define WPTemplates_somDestruct(somSelf,doFree,ctrl) \
	SOMObject_somDestruct(somSelf,doFree,ctrl)
#ifndef SOM_DONT_USE_INHERITED_MACROS
#define WPTemplates_wpSetFldrFlags WPFolder_wpSetFldrFlags
#define WPTemplates_wpQueryFldrFlags WPFolder_wpQueryFldrFlags
#define WPTemplates_wpSetFldrFont WPFolder_wpSetFldrFont
#define WPTemplates_wpQueryFldrFont WPFolder_wpQueryFldrFont
#define WPTemplates_wpSetFldrAttr WPFolder_wpSetFldrAttr
#define WPTemplates_wpQueryFldrAttr WPFolder_wpQueryFldrAttr
#define WPTemplates_wpSetNextIconPos WPFolder_wpSetNextIconPos
#define WPTemplates_wpQueryNextIconPos WPFolder_wpQueryNextIconPos
#define WPTemplates_wpQueryContent WPFolder_wpQueryContent
#define WPTemplates_wpAddFolderView1Page WPFolder_wpAddFolderView1Page
#define WPTemplates_wpAddFolderView2Page WPFolder_wpAddFolderView2Page
#define WPTemplates_wpAddFolderView3Page WPFolder_wpAddFolderView3Page
#define WPTemplates_wpAddFolderIncludePage WPFolder_wpAddFolderIncludePage
#define WPTemplates_wpAddFolderSortPage WPFolder_wpAddFolderSortPage
#define WPTemplates_wpAddFolderBackgroundPage WPFolder_wpAddFolderBackgroundPage
#define WPTemplates_wpAddFolderMenu2Page WPFolder_wpAddFolderMenu2Page
#define WPTemplates_wpAddFolderSelfClosePage WPFolder_wpAddFolderSelfClosePage
#define WPTemplates_wpInitIconPosData WPFolder_wpInitIconPosData
#define WPTemplates_wpFreeIconPosData WPFolder_wpFreeIconPosData
#define WPTemplates_wpStoreIconPosData WPFolder_wpStoreIconPosData
#define WPTemplates_wpQueryIconPosition WPFolder_wpQueryIconPosition
#define WPTemplates_wpSetFldrSort WPFolder_wpSetFldrSort
#define WPTemplates_wpQueryFldrSort WPFolder_wpQueryFldrSort
#define WPTemplates_wpRestoreFldrRunObjs WPFolder_wpRestoreFldrRunObjs
#define WPTemplates_wpStoreFldrRunObjs WPFolder_wpStoreFldrRunObjs
#define WPTemplates_wpHideFldrRunObjs WPFolder_wpHideFldrRunObjs
#define WPTemplates_wpDeleteContents WPFolder_wpDeleteContents
#define WPTemplates_wpSetFldrDetailsClass WPFolder_wpSetFldrDetailsClass
#define WPTemplates_wpQueryFldrDetailsClass WPFolder_wpQueryFldrDetailsClass
#define WPTemplates_wpSearchFolder WPFolder_wpSearchFolder
#define WPTemplates_wpContainsFolders WPFolder_wpContainsFolders
#define WPTemplates_wpQueryOpenFolders WPFolder_wpQueryOpenFolders
#define WPTemplates_wpModifyFldrFlags WPFolder_wpModifyFldrFlags
#define WPTemplates_wpAddToContent WPFolder_wpAddToContent
#define WPTemplates_wpDeleteFromContent WPFolder_wpDeleteFromContent
#define WPTemplates_wpSetDetailsColumnVisibility WPFolder_wpSetDetailsColumnVisibility
#define WPTemplates_wpIsDetailsColumnVisible WPFolder_wpIsDetailsColumnVisible
#define WPTemplates_wpSetFldrSortClass WPFolder_wpSetFldrSortClass
#define WPTemplates_wpQueryFldrSortClass WPFolder_wpQueryFldrSortClass
#define WPTemplates_wpSetSortAttribAvailable WPFolder_wpSetSortAttribAvailable
#define WPTemplates_wpIsSortAttribAvailable WPFolder_wpIsSortAttribAvailable
#define WPTemplates_wpQueryIconViewPos WPFolder_wpQueryIconViewPos
#define WPTemplates_wpAddFirstChild WPFolder_wpAddFirstChild
#define WPTemplates_wpFlushNotifications WPFolder_wpFlushNotifications
#define WPTemplates_wpSetMenuBarVisibility WPFolder_wpSetMenuBarVisibility
#define WPTemplates_wpQueryMenuBarVisibility WPFolder_wpQueryMenuBarVisibility
#define WPTemplates_wpQueryIconTextBackgroundColor WPFolder_wpQueryIconTextBackgroundColor
#define WPTemplates_wpSetIconTextBackgroundColor WPFolder_wpSetIconTextBackgroundColor
#define WPTemplates_wpQueryIconTextColor WPFolder_wpQueryIconTextColor
#define WPTemplates_wpSetIconTextColor WPFolder_wpSetIconTextColor
#define WPTemplates_wpQueryShadowTextColor WPFolder_wpQueryShadowTextColor
#define WPTemplates_wpSetShadowTextColor WPFolder_wpSetShadowTextColor
#define WPTemplates_wpQueryIconTextVisibility WPFolder_wpQueryIconTextVisibility
#define WPTemplates_wpSetIconTextVisibility WPFolder_wpSetIconTextVisibility
#define WPTemplates_wpQueryFldrBackground WPFolder_wpQueryFldrBackground
#define WPTemplates_wpSetFldrBackground WPFolder_wpSetFldrBackground
#define WPTemplates_wpInitData WPObject_wpInitData
#define WPTemplates_wpUnInitData WPObject_wpUnInitData
#define WPTemplates_wpFree WPObject_wpFree
#define WPTemplates_wpDelete WPObject_wpDelete
#define WPTemplates_wpConfirmDelete WPObject_wpConfirmDelete
#define WPTemplates_wpSaveState WPObject_wpSaveState
#define WPTemplates_wpRestoreState WPObject_wpRestoreState
#define WPTemplates_wpMenuItemSelected WPObject_wpMenuItemSelected
#define WPTemplates_wpAddSettingsPages WPObject_wpAddSettingsPages
#define WPTemplates_wpOpen WPObject_wpOpen
#define WPTemplates_wpMoveObject WPObject_wpMoveObject
#define WPTemplates_wpDrop WPObject_wpDrop
#define WPTemplates_wpDragOver WPObject_wpDragOver
#define WPTemplates_wpMenuItemHelpSelected WPObject_wpMenuItemHelpSelected
#define WPTemplates_wpAddFile3Page WPFileSystem_wpAddFile3Page
#define WPTemplates_wpAddFile2Page WPFileSystem_wpAddFile2Page
#define WPTemplates_wpFormatDragItem WPObject_wpFormatDragItem
#define WPTemplates_wpRender WPObject_wpRender
#define WPTemplates_wpRefresh WPFileSystem_wpRefresh
#define WPTemplates_wpQueryDefaultView WPObject_wpQueryDefaultView
#define WPTemplates_wpRenderComplete WPObject_wpRenderComplete
#define WPTemplates_wpAddFileMenuPage WPFileSystem_wpAddFileMenuPage
#define WPTemplates_wpQueryDefaultHelp WPObject_wpQueryDefaultHelp
#define WPTemplates_wpObjectReady WPObject_wpObjectReady
#define WPTemplates_wpAddObjectWindowPage WPObject_wpAddObjectWindowPage
#define WPTemplates_wpModifyMenu WPObject_wpModifyMenu
#define WPTemplates_wpFilterMenu WPObject_wpFilterMenu
#define WPTemplates_wpDisplayMenu WPObject_wpDisplayMenu
#define WPTemplates_wpSetIconData WPObject_wpSetIconData
#define WPTemplates_wpSetRealName WPFileSystem_wpSetRealName
#define WPTemplates_wpSetType WPFileSystem_wpSetType
#define WPTemplates_wpQueryType WPFileSystem_wpQueryType
#define WPTemplates_wpSetAttr WPFileSystem_wpSetAttr
#define WPTemplates_wpQueryAttr WPFileSystem_wpQueryAttr
#define WPTemplates_wpAddFile1Page WPFileSystem_wpAddFile1Page
#define WPTemplates_wpQueryCreation WPFileSystem_wpQueryCreation
#define WPTemplates_wpQueryLastAccess WPFileSystem_wpQueryLastAccess
#define WPTemplates_wpQueryLastWrite WPFileSystem_wpQueryLastWrite
#define WPTemplates_wpQueryFileSize WPFileSystem_wpQueryFileSize
#define WPTemplates_wpQueryEASize WPFileSystem_wpQueryEASize
#define WPTemplates_wpSetDateInfo WPFileSystem_wpSetDateInfo
#define WPTemplates_wpSetFileSizeInfo WPFileSystem_wpSetFileSizeInfo
#define WPTemplates_wpQueryRefreshFlags WPFileSystem_wpQueryRefreshFlags
#define WPTemplates_wpSetRefreshFlags WPFileSystem_wpSetRefreshFlags
#define WPTemplates_wpPrintPlainTextFile WPFileSystem_wpPrintPlainTextFile
#define WPTemplates_wpSetTitleAndRenameFile WPFileSystem_wpSetTitleAndRenameFile
#define WPTemplates_wpConfirmRenameFileWithExt WPFileSystem_wpConfirmRenameFileWithExt
#define WPTemplates_wpVerifyUpdateAccess WPFileSystem_wpVerifyUpdateAccess
#define WPTemplates_wpQueryEASupport WPFileSystem_wpQueryEASupport
#define WPTemplates_wpAddUserItemsToPopupMenu WPFileSystem_wpAddUserItemsToPopupMenu
#define WPTemplates_wpIsDiskSwapped WPFileSystem_wpIsDiskSwapped
#define WPTemplates_wpQueryRealName WPFileSystem_wpQueryRealName
#define WPTemplates_wpQueryFilename WPFileSystem_wpQueryFilename
#define WPTemplates_wpQueryDisk WPFileSystem_wpQueryDisk
#define WPTemplates_wpQueryDateInfo WPFileSystem_wpQueryDateInfo
#define WPTemplates_wpConfirmKeepAssoc WPFileSystem_wpConfirmKeepAssoc
#define WPTemplates_wpQueryHandle WPObject_wpQueryHandle
#define WPTemplates_wpSaveImmediate WPObject_wpSaveImmediate
#define WPTemplates_wpSetTitle WPObject_wpSetTitle
#define WPTemplates_wpViewObject WPObject_wpViewObject
#define WPTemplates_wpSwitchTo WPObject_wpSwitchTo
#define WPTemplates_wpCopyObject WPObject_wpCopyObject
#define WPTemplates_wpCreateFromTemplate WPObject_wpCreateFromTemplate
#define WPTemplates_wpQueryIcon WPObject_wpQueryIcon
#define WPTemplates_wpQueryIconData WPObject_wpQueryIconData
#define WPTemplates_wpQueryDetailsData WPObject_wpQueryDetailsData
#define WPTemplates_wpDraggedOverObject WPObject_wpDraggedOverObject
#define WPTemplates_wpDroppedOnObject WPObject_wpDroppedOnObject
#define WPTemplates_wpQueryNameClashOptions WPObject_wpQueryNameClashOptions
#define WPTemplates_wpAppendObject WPObject_wpAppendObject
#define WPTemplates_wpReplaceObject WPObject_wpReplaceObject
#define WPTemplates_wpQueryStyle WPObject_wpQueryStyle
#define WPTemplates_wpDoesObjectMatch WPObject_wpDoesObjectMatch
#define WPTemplates_wpIdentify WPObject_wpIdentify
#define WPTemplates_wpIsDeleteable WPObject_wpIsDeleteable
#define WPTemplates_wpAddObjectGeneralPage WPObject_wpAddObjectGeneralPage
#define WPTemplates_wpAddObjectGeneralPage2 WPObject_wpAddObjectGeneralPage2
#define WPTemplates_wpAddToObjUseList WPObject_wpAddToObjUseList
#define WPTemplates_wpAllocMem WPObject_wpAllocMem
#define WPTemplates_wpAssertObjectMutexSem WPObject_wpAssertObjectMutexSem
#define WPTemplates_wpClose WPObject_wpClose
#define WPTemplates_wpCnrInsertObject WPObject_wpCnrInsertObject
#define WPTemplates_wpCnrRemoveObject WPObject_wpCnrRemoveObject
#define WPTemplates_wpCnrSetEmphasis WPObject_wpCnrSetEmphasis
#define WPTemplates_wpConfirmObjectTitle WPObject_wpConfirmObjectTitle
#define WPTemplates_wpCopiedFromTemplate WPObject_wpCopiedFromTemplate
#define WPTemplates_wpCreateAnother WPObject_wpCreateAnother
#define WPTemplates_wpCreateShadowObject WPObject_wpCreateShadowObject
#define WPTemplates_wpDeleteFromObjUseList WPObject_wpDeleteFromObjUseList
#define WPTemplates_wpDisplayHelp WPObject_wpDisplayHelp
#define WPTemplates_wpEndConversation WPObject_wpEndConversation
#define WPTemplates_wpFilterPopupMenu WPObject_wpFilterPopupMenu
#define WPTemplates_wpFindUseItem WPObject_wpFindUseItem
#define WPTemplates_wpFreeMem WPObject_wpFreeMem
#define WPTemplates_wpHide WPObject_wpHide
#define WPTemplates_wpInsertPopupMenuItems WPObject_wpInsertPopupMenuItems
#define WPTemplates_wpInsertMenuItems WPObject_wpInsertMenuItems
#define WPTemplates_wpInsertSettingsPage WPObject_wpInsertSettingsPage
#define WPTemplates_wpModifyPopupMenu WPObject_wpModifyPopupMenu
#define WPTemplates_wpPrintObject WPObject_wpPrintObject
#define WPTemplates_wpQueryConcurrentView WPObject_wpQueryConcurrentView
#define WPTemplates_wpQueryButtonAppearance WPObject_wpQueryButtonAppearance
#define WPTemplates_wpQueryConfirmations WPObject_wpQueryConfirmations
#define WPTemplates_wpQueryError WPObject_wpQueryError
#define WPTemplates_wpSetFolder WPObject_wpSetFolder
#define WPTemplates_wpQueryFolder WPObject_wpQueryFolder
#define WPTemplates_wpQueryMinWindow WPObject_wpQueryMinWindow
#define WPTemplates_wpSetTaskRec WPObject_wpSetTaskRec
#define WPTemplates_wpFindTaskRec WPObject_wpFindTaskRec
#define WPTemplates_wpQueryTitle WPObject_wpQueryTitle
#define WPTemplates_wpRegisterView WPObject_wpRegisterView
#define WPTemplates_wpReleaseObjectMutexSem WPObject_wpReleaseObjectMutexSem
#define WPTemplates_wpRequestObjectMutexSem WPObject_wpRequestObjectMutexSem
#define WPTemplates_wpRestore WPObject_wpRestore
#define WPTemplates_wpRestoreData WPObject_wpRestoreData
#define WPTemplates_wpRestoreLong WPObject_wpRestoreLong
#define WPTemplates_wpRestoreString WPObject_wpRestoreString
#define WPTemplates_wpSaveData WPObject_wpSaveData
#define WPTemplates_wpSaveDeferred WPObject_wpSaveDeferred
#define WPTemplates_wpSaveLong WPObject_wpSaveLong
#define WPTemplates_wpSaveString WPObject_wpSaveString
#define WPTemplates_wpScanSetupString WPObject_wpScanSetupString
#define WPTemplates_wpSetConcurrentView WPObject_wpSetConcurrentView
#define WPTemplates_wpSetButtonAppearance WPObject_wpSetButtonAppearance
#define WPTemplates_wpSetDefaultHelp WPObject_wpSetDefaultHelp
#define WPTemplates_wpSetDefaultView WPObject_wpSetDefaultView
#define WPTemplates_wpSetError WPObject_wpSetError
#define WPTemplates_wpQueryScreenGroupID WPObject_wpQueryScreenGroupID
#define WPTemplates_wpSetupOnce WPObject_wpSetupOnce
#define WPTemplates_wpSetIcon WPObject_wpSetIcon
#define WPTemplates_wpSetMinWindow WPObject_wpSetMinWindow
#define WPTemplates_wpModifyStyle WPObject_wpModifyStyle
#define WPTemplates_wpQueryTrueStyle WPObject_wpQueryTrueStyle
#define WPTemplates_wpUnlockObject WPObject_wpUnlockObject
#define WPTemplates_wpIsObjectInitialized WPObject_wpIsObjectInitialized
#define WPTemplates_wpCreateShadowObjectExt WPObject_wpCreateShadowObjectExt
#define WPTemplates_wpCnrDeleteUseItem WPObject_wpCnrDeleteUseItem
#define WPTemplates_wpQueryCoreRecord WPObject_wpQueryCoreRecord
#define WPTemplates_wpSetObjectID WPObject_wpSetObjectID
#define WPTemplates_wpQueryObjectID WPObject_wpQueryObjectID
#define WPTemplates_wpSetDefaultIconPos WPObject_wpSetDefaultIconPos
#define WPTemplates_wpQueryDefaultIconPos WPObject_wpQueryDefaultIconPos
#define WPTemplates_wpCnrRefreshDetails WPObject_wpCnrRefreshDetails
#define WPTemplates_wpFindViewItem WPObject_wpFindViewItem
#define WPTemplates_wpLockObject WPObject_wpLockObject
#define WPTemplates_wpIsLocked WPObject_wpIsLocked
#define WPTemplates_wpQueryContainerFlagPtr WPObject_wpQueryContainerFlagPtr
#define WPTemplates_wpWaitForClose WPObject_wpWaitForClose
#define WPTemplates_wpSetMenuStyle WPObject_wpSetMenuStyle
#define WPTemplates_wpQueryMenuStyle WPObject_wpQueryMenuStyle
#define WPTemplates_wpSetStyle WPObject_wpSetStyle
#define WPTemplates_somInit SOMObject_somInit
#define WPTemplates_somUninit SOMObject_somUninit
#define WPTemplates_somDefaultCopyInit SOMObject_somDefaultCopyInit
#define WPTemplates_somDefaultAssign SOMObject_somDefaultAssign
#define WPTemplates_somDefaultConstCopyInit SOMObject_somDefaultConstCopyInit
#define WPTemplates_somDefaultVCopyInit SOMObject_somDefaultVCopyInit
#define WPTemplates_somDefaultConstVCopyInit SOMObject_somDefaultConstVCopyInit
#define WPTemplates_somDefaultConstAssign SOMObject_somDefaultConstAssign
#define WPTemplates_somDefaultVAssign SOMObject_somDefaultVAssign
#define WPTemplates_somDefaultConstVAssign SOMObject_somDefaultConstVAssign
#define WPTemplates_somFree SOMObject_somFree
#define WPTemplates_somGetClass SOMObject_somGetClass
#define WPTemplates_somGetClassName SOMObject_somGetClassName
#define WPTemplates_somGetSize SOMObject_somGetSize
#define WPTemplates_somIsA SOMObject_somIsA
#define WPTemplates_somIsInstanceOf SOMObject_somIsInstanceOf
#define WPTemplates_somRespondsTo SOMObject_somRespondsTo
#define WPTemplates_somDispatch SOMObject_somDispatch
#define WPTemplates_somClassDispatch SOMObject_somClassDispatch
#define WPTemplates_somCastObj SOMObject_somCastObj
#define WPTemplates_somResetObj SOMObject_somResetObj
#define WPTemplates_somDispatchV SOMObject_somDispatchV
#define WPTemplates_somDispatchL SOMObject_somDispatchL
#define WPTemplates_somDispatchA SOMObject_somDispatchA
#define WPTemplates_somDispatchD SOMObject_somDispatchD
#define WPTemplates_somPrintSelf SOMObject_somPrintSelf
#define WPTemplates_somDumpSelf SOMObject_somDumpSelf
#define WPTemplates_somDumpSelfInt SOMObject_somDumpSelfInt
#endif /* SOM_DONT_USE_INHERITED_MACROS */

#endif       /* SOM_WPTemplates_h */

#ifndef SOM_M_WPTemplates_h
#define SOM_M_WPTemplates_h


#include <som.h>

/*
 * -- This emitter treats Method Tokens as Thunks by default.
 * -- Use the sc modifier "nothunks" to change this default
 */
#undef somresolve_
#define somresolve_(obj,mToken) ((somMethodProc*)((void)obj, mToken))

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

/*
 * Start of bindings for IDL types
 */


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

#define M_WPTemplates_MajorVersion 1
#define M_WPTemplates_MinorVersion 2

/*
 * External name shortening if required
 */
#ifdef SOM_USE_SHORT_EXTERNAL_NAMES
#define M_WPTemplatesNewClass WPTplFdrc
#pragma linkage(WPTplFdrc, system)
#define M_WPTemplatesClassData WPTplFdrd
#define M_WPTemplatesCClassData WPTplFdrx
#endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
/*--------------Migration------------*/
#define M_WPTemplates_classObj M_WPTemplatesClassData.classObject
#define _M_WPTemplates M_WPTemplates_classObj

/*
 * Declare the class creation procedure
 */
SOMEXTERN SOMClass * SOMLINK M_WPTemplatesNewClass(integer4 somtmajorVersion,
		integer4 somtminorVersion);
#pragma linkage(M_WPTemplatesNewClass, system)

/*
 * Declare the class data structure
 */
SOMEXTERN struct M_WPTemplatesClassDataStructure {
	SOMClass *classObject;
} SOMDLINK M_WPTemplatesClassData;

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

/*
 * New and Renew macros for M_WPTemplates
 */
#define M_WPTemplatesNew() \
   ( _M_WPTemplates ? \
	_somNew(_M_WPTemplates) \
	: ( M_WPTemplatesNewClass(\
		M_WPTemplates_MajorVersion, \
		M_WPTemplates_MinorVersion),\
	   _somNew(_M_WPTemplates)))
#define M_WPTemplatesRenew(buf) \
   ( _M_WPTemplates ? \
	_somRenew(_M_WPTemplates, buf) \
	: ( M_WPTemplatesNewClass(\
		M_WPTemplates_MajorVersion, \
		M_WPTemplates_MinorVersion),\
	   _somRenew(_M_WPTemplates, buf)))

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

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

/*
 * Override method: wpclsQueryIconDataN
 */
#define M_WPTemplates_wpclsQueryIconDataN(somSelf,pIconInfo,ulIconIndex) \
	M_WPFolder_wpclsQueryIconDataN(somSelf,pIconInfo,ulIconIndex)

/*
 * Override method: wpclsQueryStyle
 */
#define M_WPTemplates_wpclsQueryStyle(somSelf) \
	M_WPObject_wpclsQueryStyle(somSelf)
#ifndef SOM_DONT_USE_INHERITED_MACROS
#define M_WPTemplates_wpclsQueryIconN M_WPFolder_wpclsQueryIconN
#define M_WPTemplates_wpclsQueryOpenFolders M_WPFolder_wpclsQueryOpenFolders
#define M_WPTemplates_wpclsInitData M_WPObject_wpclsInitData
#define M_WPTemplates_wpclsQueryDefaultView M_WPObject_wpclsQueryDefaultView
#define M_WPTemplates_wpclsQueryDefaultHelp M_WPObject_wpclsQueryDefaultHelp
#define M_WPTemplates_wpclsQuerySettingsPageSize M_WPObject_wpclsQuerySettingsPageSize
#define M_WPTemplates_wpclsQueryAwakeObject M_WPFileSystem_wpclsQueryAwakeObject
#define M_WPTemplates_wpclsFileSysExists M_WPFileSystem_wpclsFileSysExists
#define M_WPTemplates_wpclsQueryObjectFromPath M_WPFileSystem_wpclsQueryObjectFromPath
#define M_WPTemplates_wpclsQueryInstanceType M_WPFileSystem_wpclsQueryInstanceType
#define M_WPTemplates_wpclsQueryInstanceFilter M_WPFileSystem_wpclsQueryInstanceFilter
#define M_WPTemplates_wpclsQueryInstanceClass M_WPFileSystem_wpclsQueryInstanceClass
#define M_WPTemplates_wpclsQueryDetailsInfo M_WPObject_wpclsQueryDetailsInfo
#define M_WPTemplates_wpclsQuerySearchInfo M_WPObject_wpclsQuerySearchInfo
#define M_WPTemplates_wpclsQueryExtendedCriteria M_WPObject_wpclsQueryExtendedCriteria
#define M_WPTemplates_wpclsNew M_WPObject_wpclsNew
#define M_WPTemplates_wpclsObjectFromHandle M_WPObject_wpclsObjectFromHandle
#define M_WPTemplates_wpclsCreateDefaultTemplates M_WPObject_wpclsCreateDefaultTemplates
#define M_WPTemplates_wpclsMakeAwake M_WPObject_wpclsMakeAwake
#define M_WPTemplates_wpclsQueryDetails M_WPObject_wpclsQueryDetails
#define M_WPTemplates_wpclsQueryFolder M_WPObject_wpclsQueryFolder
#define M_WPTemplates_wpclsQueryIcon M_WPObject_wpclsQueryIcon
#define M_WPTemplates_wpclsUnInitData M_WPObject_wpclsUnInitData
#define M_WPTemplates_wpclsFindObjectFirst M_WPObject_wpclsFindObjectFirst
#define M_WPTemplates_wpclsFindObjectNext M_WPObject_wpclsFindObjectNext
#define M_WPTemplates_wpclsFindObjectEnd M_WPObject_wpclsFindObjectEnd
#define M_WPTemplates_wpclsSetError M_WPObject_wpclsSetError
#define M_WPTemplates_wpclsQueryError M_WPObject_wpclsQueryError
#define M_WPTemplates_wpclsQueryObject M_WPObject_wpclsQueryObject
#define M_WPTemplates_wpclsQueryButtonAppearance M_WPObject_wpclsQueryButtonAppearance
#define M_WPTemplates_wpclsDecUsage M_WPObject_wpclsDecUsage
#define M_WPTemplates_wpclsIncUsage M_WPObject_wpclsIncUsage
#define M_WPTemplates_wpclsInsertMultipleObjects M_WPObject_wpclsInsertMultipleObjects
#define M_WPTemplates_wpclsFindOneObject M_WPObject_wpclsFindOneObject
#define M_WPTemplates_wpclsSetSettingsPageSize M_WPObject_wpclsSetSettingsPageSize
#define M_WPTemplates_wpclsSetIconData M_WPObject_wpclsSetIconData
#define M_WPTemplates_wpclsSetIcon M_WPObject_wpclsSetIcon
#define M_WPTemplates_wpclsRemoveObjects M_WPObject_wpclsRemoveObjects
#define M_WPTemplates_somUninit SOMObject_somUninit
#define M_WPTemplates_somClassReady SOMClass_somClassReady
#define M_WPTemplates_somNew SOMClass_somNew
#define M_WPTemplates_somRenew SOMClass_somRenew
#define M_WPTemplates__get_somDataAlignment SOMClass__get_somDataAlignment
#define M_WPTemplates__get_somInstanceDataOffsets SOMClass__get_somInstanceDataOffsets
#define M_WPTemplates__get_somDirectInitClasses SOMClass__get_somDirectInitClasses
#define M_WPTemplates__set_somDirectInitClasses SOMClass__set_somDirectInitClasses
#define M_WPTemplates_somNewNoInit SOMClass_somNewNoInit
#define M_WPTemplates_somRenewNoInit SOMClass_somRenewNoInit
#define M_WPTemplates_somRenewNoZero SOMClass_somRenewNoZero
#define M_WPTemplates_somRenewNoInitNoZero SOMClass_somRenewNoInitNoZero
#define M_WPTemplates_somAllocate SOMClass_somAllocate
#define M_WPTemplates_somDeallocate SOMClass_somDeallocate
#define M_WPTemplates__get_somClassAllocate SOMClass__get_somClassAllocate
#define M_WPTemplates__get_somClassDeallocate SOMClass__get_somClassDeallocate
#define M_WPTemplates_somGetInstanceInitMask SOMClass_somGetInstanceInitMask
#define M_WPTemplates_somGetInstanceDestructionMask SOMClass_somGetInstanceDestructionMask
#define M_WPTemplates_somGetInstanceAssignmentMask SOMClass_somGetInstanceAssignmentMask
#define M_WPTemplates_somInitClass SOMClass_somInitClass
#define M_WPTemplates_somInitMIClass SOMClass_somInitMIClass
#define M_WPTemplates_somAddStaticMethod SOMClass_somAddStaticMethod
#define M_WPTemplates_somAddDynamicMethod SOMClass_somAddDynamicMethod
#define M_WPTemplates_somOverrideSMethod SOMClass_somOverrideSMethod
#define M_WPTemplates_somGetApplyStub SOMClass_somGetApplyStub
#define M_WPTemplates_somGetClassData SOMClass_somGetClassData
#define M_WPTemplates_somSetClassData SOMClass_somSetClassData
#define M_WPTemplates_somGetClassMtab SOMClass_somGetClassMtab
#define M_WPTemplates_somGetInstanceOffset SOMClass_somGetInstanceOffset
#define M_WPTemplates_somGetInstancePartSize SOMClass_somGetInstancePartSize
#define M_WPTemplates_somGetInstanceSize SOMClass_somGetInstanceSize
#define M_WPTemplates_somGetInstanceToken SOMClass_somGetInstanceToken
#define M_WPTemplates_somGetMemberToken SOMClass_somGetMemberToken
#define M_WPTemplates_somGetMethodData SOMClass_somGetMethodData
#define M_WPTemplates_somGetRdStub SOMClass_somGetRdStub
#define M_WPTemplates_somGetMethodDescriptor SOMClass_somGetMethodDescriptor
#define M_WPTemplates_somGetMethodIndex SOMClass_somGetMethodIndex
#define M_WPTemplates_somGetMethodToken SOMClass_somGetMethodToken
#define M_WPTemplates_somGetName SOMClass_somGetName
#define M_WPTemplates_somGetNthMethodData SOMClass_somGetNthMethodData
#define M_WPTemplates_somGetNthMethodInfo SOMClass_somGetNthMethodInfo
#define M_WPTemplates_somGetNumMethods SOMClass_somGetNumMethods
#define M_WPTemplates_somGetNumStaticMethods SOMClass_somGetNumStaticMethods
#define M_WPTemplates_somGetParent SOMClass_somGetParent
#define M_WPTemplates_somGetParents SOMClass_somGetParents
#define M_WPTemplates_somGetPClsMtab SOMClass_somGetPClsMtab
#define M_WPTemplates_somGetPClsMtabs SOMClass_somGetPClsMtabs
#define M_WPTemplates_somGetVersionNumbers SOMClass_somGetVersionNumbers
#define M_WPTemplates_somSetMethodDescriptor SOMClass_somSetMethodDescriptor
#define M_WPTemplates_somFindMethod SOMClass_somFindMethod
#define M_WPTemplates_somFindMethodOk SOMClass_somFindMethodOk
#define M_WPTemplates_somFindSMethod SOMClass_somFindSMethod
#define M_WPTemplates_somFindSMethodOk SOMClass_somFindSMethodOk
#define M_WPTemplates_somLookupMethod SOMClass_somLookupMethod
#define M_WPTemplates_somCheckVersion SOMClass_somCheckVersion
#define M_WPTemplates_somDescendedFrom SOMClass_somDescendedFrom
#define M_WPTemplates_somSupportsMethod SOMClass_somSupportsMethod
#define M_WPTemplates_somDefinedMethod SOMClass_somDefinedMethod
#define M_WPTemplates_somOverrideMtab SOMClass_somOverrideMtab
#define M_WPTemplates_somDefaultInit SOMObject_somDefaultInit
#define M_WPTemplates_somDestruct SOMObject_somDestruct
#define M_WPTemplates_somDefaultCopyInit SOMObject_somDefaultCopyInit
#define M_WPTemplates_somDefaultAssign SOMObject_somDefaultAssign
#define M_WPTemplates_somDefaultConstCopyInit SOMObject_somDefaultConstCopyInit
#define M_WPTemplates_somDefaultVCopyInit SOMObject_somDefaultVCopyInit
#define M_WPTemplates_somDefaultConstVCopyInit SOMObject_somDefaultConstVCopyInit
#define M_WPTemplates_somDefaultConstAssign SOMObject_somDefaultConstAssign
#define M_WPTemplates_somDefaultVAssign SOMObject_somDefaultVAssign
#define M_WPTemplates_somDefaultConstVAssign SOMObject_somDefaultConstVAssign
#define M_WPTemplates_somInit SOMObject_somInit
#define M_WPTemplates_somFree SOMObject_somFree
#define M_WPTemplates_somGetClass SOMObject_somGetClass
#define M_WPTemplates_somGetClassName SOMObject_somGetClassName
#define M_WPTemplates_somGetSize SOMObject_somGetSize
#define M_WPTemplates_somIsA SOMObject_somIsA
#define M_WPTemplates_somIsInstanceOf SOMObject_somIsInstanceOf
#define M_WPTemplates_somRespondsTo SOMObject_somRespondsTo
#define M_WPTemplates_somDispatch SOMObject_somDispatch
#define M_WPTemplates_somClassDispatch SOMObject_somClassDispatch
#define M_WPTemplates_somCastObj SOMObject_somCastObj
#define M_WPTemplates_somResetObj SOMObject_somResetObj
#define M_WPTemplates_somDispatchV SOMObject_somDispatchV
#define M_WPTemplates_somDispatchL SOMObject_somDispatchL
#define M_WPTemplates_somDispatchA SOMObject_somDispatchA
#define M_WPTemplates_somDispatchD SOMObject_somDispatchD
#define M_WPTemplates_somPrintSelf SOMObject_somPrintSelf
#define M_WPTemplates_somDumpSelf SOMObject_somDumpSelf
#define M_WPTemplates_somDumpSelfInt SOMObject_somDumpSelfInt
#endif /* SOM_DONT_USE_INHERITED_MACROS */

#endif       /* SOM_M_WPTemplates_h */
