
/*
 * This file was generated by the SOM Compiler.
 * FileName: xfdesk.h.
 * Generated using:
 *     SOM Precompiler somipc: 2.29.1.2
 *     SOM Emitter emith: 2.41
 */

/*
 * 
 * xfdesk.idl:
 *      SOM interface description file for the following
 *      XFolder classes (in this order):
 *          XFldDesktop
 *      and the respective metaclasses.
 * 
 *      Check the other files starting with xf* for the
 *      other XFolder classes.
 * 
 *      XFldDesktop provides access to the eXtended
 *      shutdown feature by modifying popup menus and
 *      settings noteboks. Also, the Worker thread needs
 *      notifications when the Desktop has populated
 *      after startup.
 * 
 *      This class must always be installed.
 * 
 *      Copyright (C) 1997-99 Ulrich M”ller.
 *      This file is part of the XFolder source package.
 *      XFolder is free software; you can redistribute it and/or modify
 *      it under the terms of the GNU General Public License as published
 *      by the Free Software Foundation, in version 2 as it comes in the
 *      "COPYING" file of the XFolder main distribution.
 *      This program is distributed in the hope that it will be useful,
 *      but WITHOUT ANY WARRANTY; without even the implied warranty of
 *      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *      GNU General Public License for more details.
 */


#ifndef SOM_XFldDesktop_h
#define SOM_XFldDesktop_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 XFldDesktop
#define XFldDesktop SOMObject
#endif
#include <wpdesk.h>

/*
 * Start of user-defined 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_WPFileSystem
    #define M_WPFileSystem SOMObject
#endif /* M_WPFileSystem */
#ifndef M_WPFolder
    #define M_WPFolder SOMObject
#endif /* M_WPFolder */
#ifndef M_WPDesktop
    #define M_WPDesktop SOMObject
#endif /* M_WPDesktop */
#ifndef M_XFldDesktop
    #define M_XFldDesktop SOMObject
#endif /* M_XFldDesktop */

/*
 * End of user-defined types.
 */

#define XFldDesktop_MajorVersion 1
#define XFldDesktop_MinorVersion 1

/*
 * External name shortening if required
 */
#ifdef SOM_USE_SHORT_EXTERNAL_NAMES
#define XFldDesktopNewClass xfdeskc
#pragma linkage(xfdeskc, system)
#define XFldDesktopClassData xfdeskd
#define XFldDesktopCClassData xfdeskx
#endif /* SOM_USE_SHORT_EXTERNAL_NAMES */

/*
 * Include the meta class file
 */
#include <xfdesk.h>
/*--------------Migration------------*/
#define XFldDesktop_classObj XFldDesktopClassData.classObject
#define _XFldDesktop XFldDesktop_classObj

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

/*
 * Declare the class data structure
 */
SOMEXTERN struct XFldDesktopClassDataStructure {
	SOMAny *classObject;
	somMToken xfInitiateShutdown;
	somMToken xfRestartWPS;
} SOMDLINK XFldDesktopClassData;

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

/*
 * New and Renew macros for XFldDesktop
 */
#define XFldDesktopNew() \
   (_somNew(_XFldDesktop ? _XFldDesktop : XFldDesktopNewClass(XFldDesktop_MajorVersion, XFldDesktop_MinorVersion)))
#define XFldDesktopRenew(buf) \
   (_somRenew(_XFldDesktop ? _XFldDesktop : XFldDesktopNewClass(XFldDesktop_MajorVersion, XFldDesktop_MinorVersion), buf))

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

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

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

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

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

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

/*
 * New Method: xfInitiateShutdown
 */
typedef BOOL   SOMLINK somTP_XFldDesktop_xfInitiateShutdown(XFldDesktop *somSelf);
#pragma linkage(somTP_XFldDesktop_xfInitiateShutdown, system)
typedef somTP_XFldDesktop_xfInitiateShutdown *somTD_XFldDesktop_xfInitiateShutdown;
#define somMD_XFldDesktop_xfInitiateShutdown "::XFldDesktop::xfInitiateShutdown"
#define XFldDesktop_xfInitiateShutdown(somSelf) \
    (SOM_Resolve(somSelf, XFldDesktop, xfInitiateShutdown) \
	(somSelf))
#ifndef SOMGD_xfInitiateShutdown
    #if (defined(_xfInitiateShutdown) || defined(__xfInitiateShutdown))
        #undef _xfInitiateShutdown
        #undef __xfInitiateShutdown
        #define SOMGD_xfInitiateShutdown 1
    #else
        #define _xfInitiateShutdown XFldDesktop_xfInitiateShutdown
    #endif /* _xfInitiateShutdown */
#endif /* SOMGD_xfInitiateShutdown */

/*
 * New Method: xfRestartWPS
 */
typedef BOOL   SOMLINK somTP_XFldDesktop_xfRestartWPS(XFldDesktop *somSelf);
#pragma linkage(somTP_XFldDesktop_xfRestartWPS, system)
typedef somTP_XFldDesktop_xfRestartWPS *somTD_XFldDesktop_xfRestartWPS;
#define somMD_XFldDesktop_xfRestartWPS "::XFldDesktop::xfRestartWPS"
#define XFldDesktop_xfRestartWPS(somSelf) \
    (SOM_Resolve(somSelf, XFldDesktop, xfRestartWPS) \
	(somSelf))
#ifndef SOMGD_xfRestartWPS
    #if (defined(_xfRestartWPS) || defined(__xfRestartWPS))
        #undef _xfRestartWPS
        #undef __xfRestartWPS
        #define SOMGD_xfRestartWPS 1
    #else
        #define _xfRestartWPS XFldDesktop_xfRestartWPS
    #endif /* _xfRestartWPS */
#endif /* SOMGD_xfRestartWPS */
#ifndef SOM_DONT_USE_INHERITED_MACROS
#define XFldDesktop_wpIsCurrentDesktop WPDesktop_wpIsCurrentDesktop
#define XFldDesktop_wpAddDesktopLockup1Page WPDesktop_wpAddDesktopLockup1Page
#define XFldDesktop_wpAddDesktopLockup2Page WPDesktop_wpAddDesktopLockup2Page
#define XFldDesktop_wpAddDesktopLockup3Page WPDesktop_wpAddDesktopLockup3Page
#define XFldDesktop_wpAddDesktopArcRest1Page WPDesktop_wpAddDesktopArcRest1Page
#define XFldDesktop_wpAddDesktopDefDT1Page WPDesktop_wpAddDesktopDefDT1Page
#define XFldDesktop_wpSetFldrFlags WPFolder_wpSetFldrFlags
#define XFldDesktop_wpQueryFldrFlags WPFolder_wpQueryFldrFlags
#define XFldDesktop_wpSetFldrFont WPFolder_wpSetFldrFont
#define XFldDesktop_wpQueryFldrFont WPFolder_wpQueryFldrFont
#define XFldDesktop_wpSetFldrAttr WPFolder_wpSetFldrAttr
#define XFldDesktop_wpQueryFldrAttr WPFolder_wpQueryFldrAttr
#define XFldDesktop_wpSetNextIconPos WPFolder_wpSetNextIconPos
#define XFldDesktop_wpQueryNextIconPos WPFolder_wpQueryNextIconPos
#define XFldDesktop_wpPopulate WPFolder_wpPopulate
#define XFldDesktop_wpQueryContent WPFolder_wpQueryContent
#define XFldDesktop_wpAddFolderView1Page WPFolder_wpAddFolderView1Page
#define XFldDesktop_wpAddFolderView2Page WPFolder_wpAddFolderView2Page
#define XFldDesktop_wpAddFolderView3Page WPFolder_wpAddFolderView3Page
#define XFldDesktop_wpAddFolderIncludePage WPFolder_wpAddFolderIncludePage
#define XFldDesktop_wpAddFolderSortPage WPFolder_wpAddFolderSortPage
#define XFldDesktop_wpAddFolderBackgroundPage WPFolder_wpAddFolderBackgroundPage
#define XFldDesktop_wpAddFolderSelfClosePage WPFolder_wpAddFolderSelfClosePage
#define XFldDesktop_wpInitIconPosData WPFolder_wpInitIconPosData
#define XFldDesktop_wpFreeIconPosData WPFolder_wpFreeIconPosData
#define XFldDesktop_wpStoreIconPosData WPFolder_wpStoreIconPosData
#define XFldDesktop_wpQueryIconPosition WPFolder_wpQueryIconPosition
#define XFldDesktop_wpSetFldrSort WPFolder_wpSetFldrSort
#define XFldDesktop_wpQueryFldrSort WPFolder_wpQueryFldrSort
#define XFldDesktop_wpRestoreFldrRunObjs WPFolder_wpRestoreFldrRunObjs
#define XFldDesktop_wpStoreFldrRunObjs WPFolder_wpStoreFldrRunObjs
#define XFldDesktop_wpHideFldrRunObjs WPFolder_wpHideFldrRunObjs
#define XFldDesktop_wpDeleteContents WPFolder_wpDeleteContents
#define XFldDesktop_wpSetFldrDetailsClass WPFolder_wpSetFldrDetailsClass
#define XFldDesktop_wpQueryFldrDetailsClass WPFolder_wpQueryFldrDetailsClass
#define XFldDesktop_wpSearchFolder WPFolder_wpSearchFolder
#define XFldDesktop_wpContainsFolders WPFolder_wpContainsFolders
#define XFldDesktop_wpQueryOpenFolders WPFolder_wpQueryOpenFolders
#define XFldDesktop_wpModifyFldrFlags WPFolder_wpModifyFldrFlags
#define XFldDesktop_wpAddToContent WPFolder_wpAddToContent
#define XFldDesktop_wpDeleteFromContent WPFolder_wpDeleteFromContent
#define XFldDesktop_wpSetDetailsColumnVisibility WPFolder_wpSetDetailsColumnVisibility
#define XFldDesktop_wpIsDetailsColumnVisible WPFolder_wpIsDetailsColumnVisible
#define XFldDesktop_wpSetFldrSortClass WPFolder_wpSetFldrSortClass
#define XFldDesktop_wpQueryFldrSortClass WPFolder_wpQueryFldrSortClass
#define XFldDesktop_wpSetSortAttribAvailable WPFolder_wpSetSortAttribAvailable
#define XFldDesktop_wpIsSortAttribAvailable WPFolder_wpIsSortAttribAvailable
#define XFldDesktop_wpQueryIconViewPos WPFolder_wpQueryIconViewPos
#define XFldDesktop_wpAddFirstChild WPFolder_wpAddFirstChild
#define XFldDesktop_wpSetRealName WPFileSystem_wpSetRealName
#define XFldDesktop_wpSetType WPFileSystem_wpSetType
#define XFldDesktop_wpQueryType WPFileSystem_wpQueryType
#define XFldDesktop_wpSetAttr WPFileSystem_wpSetAttr
#define XFldDesktop_wpQueryAttr WPFileSystem_wpQueryAttr
#define XFldDesktop_wpAddFile1Page WPFileSystem_wpAddFile1Page
#define XFldDesktop_wpAddFile2Page WPFileSystem_wpAddFile2Page
#define XFldDesktop_wpAddFile3Page WPFileSystem_wpAddFile3Page
#define XFldDesktop_wpAddFileMenuPage WPFileSystem_wpAddFileMenuPage
#define XFldDesktop_wpQueryCreation WPFileSystem_wpQueryCreation
#define XFldDesktop_wpQueryLastAccess WPFileSystem_wpQueryLastAccess
#define XFldDesktop_wpQueryLastWrite WPFileSystem_wpQueryLastWrite
#define XFldDesktop_wpQueryFileSize WPFileSystem_wpQueryFileSize
#define XFldDesktop_wpQueryEASize WPFileSystem_wpQueryEASize
#define XFldDesktop_wpSetDateInfo WPFileSystem_wpSetDateInfo
#define XFldDesktop_wpSetFileSizeInfo WPFileSystem_wpSetFileSizeInfo
#define XFldDesktop_wpRefresh WPFileSystem_wpRefresh
#define XFldDesktop_wpQueryRefreshFlags WPFileSystem_wpQueryRefreshFlags
#define XFldDesktop_wpSetRefreshFlags WPFileSystem_wpSetRefreshFlags
#define XFldDesktop_wpPrintPlainTextFile WPFileSystem_wpPrintPlainTextFile
#define XFldDesktop_wpSetTitleAndRenameFile WPFileSystem_wpSetTitleAndRenameFile
#define XFldDesktop_wpConfirmRenameFileWithExt WPFileSystem_wpConfirmRenameFileWithExt
#define XFldDesktop_wpVerifyUpdateAccess WPFileSystem_wpVerifyUpdateAccess
#define XFldDesktop_wpAddUserItemsToPopupMenu WPFileSystem_wpAddUserItemsToPopupMenu
#define XFldDesktop_wpIsDiskSwapped WPFileSystem_wpIsDiskSwapped
#define XFldDesktop_wpQueryRealName WPFileSystem_wpQueryRealName
#define XFldDesktop_wpQueryFilename WPFileSystem_wpQueryFilename
#define XFldDesktop_wpQueryDisk WPFileSystem_wpQueryDisk
#define XFldDesktop_wpQueryDateInfo WPFileSystem_wpQueryDateInfo
#define XFldDesktop_wpConfirmKeepAssoc WPFileSystem_wpConfirmKeepAssoc
#define XFldDesktop_wpAddObjectGeneralPage WPObject_wpAddObjectGeneralPage
#define XFldDesktop_wpAddObjectGeneralPage2 WPObject_wpAddObjectGeneralPage2
#define XFldDesktop_wpAddObjectWindowPage WPObject_wpAddObjectWindowPage
#define XFldDesktop_wpAddToObjUseList WPObject_wpAddToObjUseList
#define XFldDesktop_wpAllocMem WPObject_wpAllocMem
#define XFldDesktop_wpAppendObject WPObject_wpAppendObject
#define XFldDesktop_wpAssertObjectMutexSem WPObject_wpAssertObjectMutexSem
#define XFldDesktop_wpClose WPObject_wpClose
#define XFldDesktop_wpCnrInsertObject WPObject_wpCnrInsertObject
#define XFldDesktop_wpCnrRemoveObject WPObject_wpCnrRemoveObject
#define XFldDesktop_wpCnrSetEmphasis WPObject_wpCnrSetEmphasis
#define XFldDesktop_wpConfirmDelete WPObject_wpConfirmDelete
#define XFldDesktop_wpConfirmObjectTitle WPObject_wpConfirmObjectTitle
#define XFldDesktop_wpCopiedFromTemplate WPObject_wpCopiedFromTemplate
#define XFldDesktop_wpCopyObject WPObject_wpCopyObject
#define XFldDesktop_wpCreateAnother WPObject_wpCreateAnother
#define XFldDesktop_wpCreateFromTemplate WPObject_wpCreateFromTemplate
#define XFldDesktop_wpCreateShadowObject WPObject_wpCreateShadowObject
#define XFldDesktop_wpDelete WPObject_wpDelete
#define XFldDesktop_wpDeleteFromObjUseList WPObject_wpDeleteFromObjUseList
#define XFldDesktop_wpDisplayHelp WPObject_wpDisplayHelp
#define XFldDesktop_wpDisplayMenu WPObject_wpDisplayMenu
#define XFldDesktop_wpDoesObjectMatch WPObject_wpDoesObjectMatch
#define XFldDesktop_wpDraggedOverObject WPObject_wpDraggedOverObject
#define XFldDesktop_wpDragOver WPObject_wpDragOver
#define XFldDesktop_wpDrop WPObject_wpDrop
#define XFldDesktop_wpDroppedOnObject WPObject_wpDroppedOnObject
#define XFldDesktop_wpEndConversation WPObject_wpEndConversation
#define XFldDesktop_wpFindUseItem WPObject_wpFindUseItem
#define XFldDesktop_wpFormatDragItem WPObject_wpFormatDragItem
#define XFldDesktop_wpFree WPObject_wpFree
#define XFldDesktop_wpFreeMem WPObject_wpFreeMem
#define XFldDesktop_wpHide WPObject_wpHide
#define XFldDesktop_wpInsertPopupMenuItems WPObject_wpInsertPopupMenuItems
#define XFldDesktop_wpInsertSettingsPage WPObject_wpInsertSettingsPage
#define XFldDesktop_wpMenuItemHelpSelected WPObject_wpMenuItemHelpSelected
#define XFldDesktop_wpMoveObject WPObject_wpMoveObject
#define XFldDesktop_wpPrintObject WPObject_wpPrintObject
#define XFldDesktop_wpQueryConcurrentView WPObject_wpQueryConcurrentView
#define XFldDesktop_wpQueryButtonAppearance WPObject_wpQueryButtonAppearance
#define XFldDesktop_wpQueryConfirmations WPObject_wpQueryConfirmations
#define XFldDesktop_wpQueryDefaultHelp WPObject_wpQueryDefaultHelp
#define XFldDesktop_wpQueryDefaultView WPObject_wpQueryDefaultView
#define XFldDesktop_wpQueryDetailsData WPObject_wpQueryDetailsData
#define XFldDesktop_wpQueryError WPObject_wpQueryError
#define XFldDesktop_wpSetFolder WPObject_wpSetFolder
#define XFldDesktop_wpQueryFolder WPObject_wpQueryFolder
#define XFldDesktop_wpQueryIcon WPObject_wpQueryIcon
#define XFldDesktop_wpQueryIconData WPObject_wpQueryIconData
#define XFldDesktop_wpQueryMinWindow WPObject_wpQueryMinWindow
#define XFldDesktop_wpQueryNameClashOptions WPObject_wpQueryNameClashOptions
#define XFldDesktop_wpQueryStyle WPObject_wpQueryStyle
#define XFldDesktop_wpSetTaskRec WPObject_wpSetTaskRec
#define XFldDesktop_wpFindTaskRec WPObject_wpFindTaskRec
#define XFldDesktop_wpQueryTitle WPObject_wpQueryTitle
#define XFldDesktop_wpRegisterView WPObject_wpRegisterView
#define XFldDesktop_wpReleaseObjectMutexSem WPObject_wpReleaseObjectMutexSem
#define XFldDesktop_wpRender WPObject_wpRender
#define XFldDesktop_wpRenderComplete WPObject_wpRenderComplete
#define XFldDesktop_wpReplaceObject WPObject_wpReplaceObject
#define XFldDesktop_wpRequestObjectMutexSem WPObject_wpRequestObjectMutexSem
#define XFldDesktop_wpRestore WPObject_wpRestore
#define XFldDesktop_wpRestoreData WPObject_wpRestoreData
#define XFldDesktop_wpRestoreLong WPObject_wpRestoreLong
#define XFldDesktop_wpRestoreState WPObject_wpRestoreState
#define XFldDesktop_wpRestoreString WPObject_wpRestoreString
#define XFldDesktop_wpSaveData WPObject_wpSaveData
#define XFldDesktop_wpSaveImmediate WPObject_wpSaveImmediate
#define XFldDesktop_wpSaveDeferred WPObject_wpSaveDeferred
#define XFldDesktop_wpSaveLong WPObject_wpSaveLong
#define XFldDesktop_wpSaveState WPObject_wpSaveState
#define XFldDesktop_wpSaveString WPObject_wpSaveString
#define XFldDesktop_wpScanSetupString WPObject_wpScanSetupString
#define XFldDesktop_wpSetConcurrentView WPObject_wpSetConcurrentView
#define XFldDesktop_wpSetButtonAppearance WPObject_wpSetButtonAppearance
#define XFldDesktop_wpSetDefaultHelp WPObject_wpSetDefaultHelp
#define XFldDesktop_wpSetDefaultView WPObject_wpSetDefaultView
#define XFldDesktop_wpSetError WPObject_wpSetError
#define XFldDesktop_wpSetIconHandle WPObject_wpSetIconHandle
#define XFldDesktop_wpQueryScreenGroupID WPObject_wpQueryScreenGroupID
#define XFldDesktop_wpSetupOnce WPObject_wpSetupOnce
#define XFldDesktop_wpSetIcon WPObject_wpSetIcon
#define XFldDesktop_wpSetIconData WPObject_wpSetIconData
#define XFldDesktop_wpSetMinWindow WPObject_wpSetMinWindow
#define XFldDesktop_wpSetStyle WPObject_wpSetStyle
#define XFldDesktop_wpModifyStyle WPObject_wpModifyStyle
#define XFldDesktop_wpSetTitle WPObject_wpSetTitle
#define XFldDesktop_wpSetup WPObject_wpSetup
#define XFldDesktop_wpSwitchTo WPObject_wpSwitchTo
#define XFldDesktop_wpUnInitData WPObject_wpUnInitData
#define XFldDesktop_wpViewObject WPObject_wpViewObject
#define XFldDesktop_wpQueryTrueStyle WPObject_wpQueryTrueStyle
#define XFldDesktop_wpQueryHandle WPObject_wpQueryHandle
#define XFldDesktop_wpUnlockObject WPObject_wpUnlockObject
#define XFldDesktop_wpObjectReady WPObject_wpObjectReady
#define XFldDesktop_wpIsObjectInitialized WPObject_wpIsObjectInitialized
#define XFldDesktop_wpCreateShadowObjectExt WPObject_wpCreateShadowObjectExt
#define XFldDesktop_wpCnrDeleteUseItem WPObject_wpCnrDeleteUseItem
#define XFldDesktop_wpIsDeleteable WPObject_wpIsDeleteable
#define XFldDesktop_wpQueryCoreRecord WPObject_wpQueryCoreRecord
#define XFldDesktop_wpSetObjectID WPObject_wpSetObjectID
#define XFldDesktop_wpQueryObjectID WPObject_wpQueryObjectID
#define XFldDesktop_wpSetDefaultIconPos WPObject_wpSetDefaultIconPos
#define XFldDesktop_wpQueryDefaultIconPos WPObject_wpQueryDefaultIconPos
#define XFldDesktop_wpCnrRefreshDetails WPObject_wpCnrRefreshDetails
#define XFldDesktop_wpFindViewItem WPObject_wpFindViewItem
#define XFldDesktop_wpLockObject WPObject_wpLockObject
#define XFldDesktop_wpIsLocked WPObject_wpIsLocked
#define XFldDesktop_wpQueryContainerFlagPtr WPObject_wpQueryContainerFlagPtr
#define XFldDesktop_wpWaitForClose WPObject_wpWaitForClose
#define XFldDesktop_somDefaultInit SOMObject_somDefaultInit
#define XFldDesktop_somDestruct SOMObject_somDestruct
#define XFldDesktop_somDefaultCopyInit SOMObject_somDefaultCopyInit
#define XFldDesktop_somDefaultAssign SOMObject_somDefaultAssign
#define XFldDesktop_somDefaultConstCopyInit SOMObject_somDefaultConstCopyInit
#define XFldDesktop_somDefaultVCopyInit SOMObject_somDefaultVCopyInit
#define XFldDesktop_somDefaultConstVCopyInit SOMObject_somDefaultConstVCopyInit
#define XFldDesktop_somDefaultConstAssign SOMObject_somDefaultConstAssign
#define XFldDesktop_somDefaultVAssign SOMObject_somDefaultVAssign
#define XFldDesktop_somDefaultConstVAssign SOMObject_somDefaultConstVAssign
#define XFldDesktop_somInit SOMObject_somInit
#define XFldDesktop_somFree SOMObject_somFree
#define XFldDesktop_somUninit SOMObject_somUninit
#define XFldDesktop_somGetClass SOMObject_somGetClass
#define XFldDesktop_somGetClassName SOMObject_somGetClassName
#define XFldDesktop_somGetSize SOMObject_somGetSize
#define XFldDesktop_somIsA SOMObject_somIsA
#define XFldDesktop_somIsInstanceOf SOMObject_somIsInstanceOf
#define XFldDesktop_somRespondsTo SOMObject_somRespondsTo
#define XFldDesktop_somDispatch SOMObject_somDispatch
#define XFldDesktop_somClassDispatch SOMObject_somClassDispatch
#define XFldDesktop_somCastObj SOMObject_somCastObj
#define XFldDesktop_somResetObj SOMObject_somResetObj
#define XFldDesktop_somDispatchV SOMObject_somDispatchV
#define XFldDesktop_somDispatchL SOMObject_somDispatchL
#define XFldDesktop_somDispatchA SOMObject_somDispatchA
#define XFldDesktop_somDispatchD SOMObject_somDispatchD
#define XFldDesktop_somPrintSelf SOMObject_somPrintSelf
#define XFldDesktop_somDumpSelf SOMObject_somDumpSelf
#define XFldDesktop_somDumpSelfInt SOMObject_somDumpSelfInt
#endif /* SOM_DONT_USE_INHERITED_MACROS */

#endif       /* SOM_XFldDesktop_h */

#ifndef SOM_M_XFldDesktop_h
#define SOM_M_XFldDesktop_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_XFldDesktop
#define M_XFldDesktop SOMObject
#endif
#include <wpdesk.h>

/*
 * Start of user-defined types:
 */

/*
 * End of user-defined types.
 */

#define M_XFldDesktop_MajorVersion 1
#define M_XFldDesktop_MinorVersion 1

/*
 * External name shortening if required
 */
#ifdef SOM_USE_SHORT_EXTERNAL_NAMES
#define M_XFldDesktopNewClass xfdeskMc
#pragma linkage(xfdeskMc, system)
#define M_XFldDesktopClassData xfdeskMd
#define M_XFldDesktopCClassData xfdeskMx
#endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
/*--------------Migration------------*/
#define M_XFldDesktop_classObj M_XFldDesktopClassData.classObject
#define _M_XFldDesktop M_XFldDesktop_classObj

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

/*
 * Declare the class data structure
 */
SOMEXTERN struct M_XFldDesktopClassDataStructure {
	SOMAny *classObject;
} SOMDLINK M_XFldDesktopClassData;

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

/*
 * New and Renew macros for M_XFldDesktop
 */
#define M_XFldDesktopNew() \
   (_somNew(_M_XFldDesktop ? _M_XFldDesktop : M_XFldDesktopNewClass(M_XFldDesktop_MajorVersion, M_XFldDesktop_MinorVersion)))
#define M_XFldDesktopRenew(buf) \
   (_somRenew(_M_XFldDesktop ? _M_XFldDesktop : M_XFldDesktopNewClass(M_XFldDesktop_MajorVersion, M_XFldDesktop_MinorVersion), buf))

/*
 * Override method: wpclsInitData
 */
#define M_XFldDesktop_wpclsInitData(somSelf) \
	M_WPObject_wpclsInitData(somSelf)

/*
 * Override method: wpclsQuerySettingsPageSize
 */
#define M_XFldDesktop_wpclsQuerySettingsPageSize(somSelf,pSizl) \
	M_WPObject_wpclsQuerySettingsPageSize(somSelf,pSizl)

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

/*
 * Override method: wpclsQueryIconDataN
 */
#define M_XFldDesktop_wpclsQueryIconDataN(somSelf,pIconInfo,ulIconIndex) \
	M_WPFolder_wpclsQueryIconDataN(somSelf,pIconInfo,ulIconIndex)
#ifndef SOM_DONT_USE_INHERITED_MACROS
#define M_XFldDesktop_wpclsQueryObjectFromFrame M_WPDesktop_wpclsQueryObjectFromFrame
#define M_XFldDesktop_wpclsQueryActiveDesktopHWND M_WPDesktop_wpclsQueryActiveDesktopHWND
#define M_XFldDesktop_wpclsQueryActiveDesktop M_WPDesktop_wpclsQueryActiveDesktop
#define M_XFldDesktop_wpclsQueryIconN M_WPFolder_wpclsQueryIconN
#define M_XFldDesktop_wpclsQueryOpenFolders M_WPFolder_wpclsQueryOpenFolders
#define M_XFldDesktop_wpclsQueryAwakeObject M_WPFileSystem_wpclsQueryAwakeObject
#define M_XFldDesktop_wpclsFileSysExists M_WPFileSystem_wpclsFileSysExists
#define M_XFldDesktop_wpclsQueryObjectFromPath M_WPFileSystem_wpclsQueryObjectFromPath
#define M_XFldDesktop_wpclsQueryInstanceType M_WPFileSystem_wpclsQueryInstanceType
#define M_XFldDesktop_wpclsQueryInstanceFilter M_WPFileSystem_wpclsQueryInstanceFilter
#define M_XFldDesktop_wpclsCreateDefaultTemplates M_WPObject_wpclsCreateDefaultTemplates
#define M_XFldDesktop_wpclsMakeAwake M_WPObject_wpclsMakeAwake
#define M_XFldDesktop_wpclsNew M_WPObject_wpclsNew
#define M_XFldDesktop_wpclsQueryDefaultHelp M_WPObject_wpclsQueryDefaultHelp
#define M_XFldDesktop_wpclsQueryDefaultView M_WPObject_wpclsQueryDefaultView
#define M_XFldDesktop_wpclsQueryDetails M_WPObject_wpclsQueryDetails
#define M_XFldDesktop_wpclsQueryDetailsInfo M_WPObject_wpclsQueryDetailsInfo
#define M_XFldDesktop_wpclsQueryExtendedCriteria M_WPObject_wpclsQueryExtendedCriteria
#define M_XFldDesktop_wpclsQueryFolder M_WPObject_wpclsQueryFolder
#define M_XFldDesktop_wpclsQueryIcon M_WPObject_wpclsQueryIcon
#define M_XFldDesktop_wpclsQuerySearchInfo M_WPObject_wpclsQuerySearchInfo
#define M_XFldDesktop_wpclsQueryStyle M_WPObject_wpclsQueryStyle
#define M_XFldDesktop_wpclsQueryTitle M_WPObject_wpclsQueryTitle
#define M_XFldDesktop_wpclsUnInitData M_WPObject_wpclsUnInitData
#define M_XFldDesktop_wpclsFindObjectFirst M_WPObject_wpclsFindObjectFirst
#define M_XFldDesktop_wpclsFindObjectNext M_WPObject_wpclsFindObjectNext
#define M_XFldDesktop_wpclsFindObjectEnd M_WPObject_wpclsFindObjectEnd
#define M_XFldDesktop_wpclsSetError M_WPObject_wpclsSetError
#define M_XFldDesktop_wpclsQueryError M_WPObject_wpclsQueryError
#define M_XFldDesktop_wpclsQueryObject M_WPObject_wpclsQueryObject
#define M_XFldDesktop_wpclsQueryButtonAppearance M_WPObject_wpclsQueryButtonAppearance
#define M_XFldDesktop_wpclsDecUsage M_WPObject_wpclsDecUsage
#define M_XFldDesktop_wpclsIncUsage M_WPObject_wpclsIncUsage
#define M_XFldDesktop_wpclsInsertMultipleObjects M_WPObject_wpclsInsertMultipleObjects
#define M_XFldDesktop_wpclsFindOneObject M_WPObject_wpclsFindOneObject
#define M_XFldDesktop_wpclsSetSettingsPageSize M_WPObject_wpclsSetSettingsPageSize
#define M_XFldDesktop_wpclsSetIconData M_WPObject_wpclsSetIconData
#define M_XFldDesktop_wpclsSetIcon M_WPObject_wpclsSetIcon
#define M_XFldDesktop_wpclsObjectFromHandle M_WPObject_wpclsObjectFromHandle
#define M_XFldDesktop_wpclsRemoveObjects M_WPObject_wpclsRemoveObjects
#define M_XFldDesktop__get_somDataAlignment SOMClass__get_somDataAlignment
#define M_XFldDesktop__get_somInstanceDataOffsets SOMClass__get_somInstanceDataOffsets
#define M_XFldDesktop__get_somDirectInitClasses SOMClass__get_somDirectInitClasses
#define M_XFldDesktop__set_somDirectInitClasses SOMClass__set_somDirectInitClasses
#define M_XFldDesktop_somNew SOMClass_somNew
#define M_XFldDesktop_somNewNoInit SOMClass_somNewNoInit
#define M_XFldDesktop_somRenew SOMClass_somRenew
#define M_XFldDesktop_somRenewNoInit SOMClass_somRenewNoInit
#define M_XFldDesktop_somRenewNoZero SOMClass_somRenewNoZero
#define M_XFldDesktop_somRenewNoInitNoZero SOMClass_somRenewNoInitNoZero
#define M_XFldDesktop_somAllocate SOMClass_somAllocate
#define M_XFldDesktop_somDeallocate SOMClass_somDeallocate
#define M_XFldDesktop__get_somClassAllocate SOMClass__get_somClassAllocate
#define M_XFldDesktop__get_somClassDeallocate SOMClass__get_somClassDeallocate
#define M_XFldDesktop_somGetInstanceInitMask SOMClass_somGetInstanceInitMask
#define M_XFldDesktop_somGetInstanceDestructionMask SOMClass_somGetInstanceDestructionMask
#define M_XFldDesktop_somGetInstanceAssignmentMask SOMClass_somGetInstanceAssignmentMask
#define M_XFldDesktop_somInitClass SOMClass_somInitClass
#define M_XFldDesktop_somInitMIClass SOMClass_somInitMIClass
#define M_XFldDesktop_somAddStaticMethod SOMClass_somAddStaticMethod
#define M_XFldDesktop_somAddDynamicMethod SOMClass_somAddDynamicMethod
#define M_XFldDesktop_somOverrideSMethod SOMClass_somOverrideSMethod
#define M_XFldDesktop_somClassReady SOMClass_somClassReady
#define M_XFldDesktop_somGetApplyStub SOMClass_somGetApplyStub
#define M_XFldDesktop_somGetClassData SOMClass_somGetClassData
#define M_XFldDesktop_somSetClassData SOMClass_somSetClassData
#define M_XFldDesktop_somGetClassMtab SOMClass_somGetClassMtab
#define M_XFldDesktop_somGetInstanceOffset SOMClass_somGetInstanceOffset
#define M_XFldDesktop_somGetInstancePartSize SOMClass_somGetInstancePartSize
#define M_XFldDesktop_somGetInstanceSize SOMClass_somGetInstanceSize
#define M_XFldDesktop_somGetInstanceToken SOMClass_somGetInstanceToken
#define M_XFldDesktop_somGetMemberToken SOMClass_somGetMemberToken
#define M_XFldDesktop_somGetMethodData SOMClass_somGetMethodData
#define M_XFldDesktop_somGetRdStub SOMClass_somGetRdStub
#define M_XFldDesktop_somGetMethodDescriptor SOMClass_somGetMethodDescriptor
#define M_XFldDesktop_somGetMethodIndex SOMClass_somGetMethodIndex
#define M_XFldDesktop_somGetMethodToken SOMClass_somGetMethodToken
#define M_XFldDesktop_somGetName SOMClass_somGetName
#define M_XFldDesktop_somGetNthMethodData SOMClass_somGetNthMethodData
#define M_XFldDesktop_somGetNthMethodInfo SOMClass_somGetNthMethodInfo
#define M_XFldDesktop_somGetNumMethods SOMClass_somGetNumMethods
#define M_XFldDesktop_somGetNumStaticMethods SOMClass_somGetNumStaticMethods
#define M_XFldDesktop_somGetParent SOMClass_somGetParent
#define M_XFldDesktop_somGetParents SOMClass_somGetParents
#define M_XFldDesktop_somGetPClsMtab SOMClass_somGetPClsMtab
#define M_XFldDesktop_somGetPClsMtabs SOMClass_somGetPClsMtabs
#define M_XFldDesktop_somGetVersionNumbers SOMClass_somGetVersionNumbers
#define M_XFldDesktop_somSetMethodDescriptor SOMClass_somSetMethodDescriptor
#define M_XFldDesktop_somFindMethod SOMClass_somFindMethod
#define M_XFldDesktop_somFindMethodOk SOMClass_somFindMethodOk
#define M_XFldDesktop_somFindSMethod SOMClass_somFindSMethod
#define M_XFldDesktop_somFindSMethodOk SOMClass_somFindSMethodOk
#define M_XFldDesktop_somLookupMethod SOMClass_somLookupMethod
#define M_XFldDesktop_somCheckVersion SOMClass_somCheckVersion
#define M_XFldDesktop_somDescendedFrom SOMClass_somDescendedFrom
#define M_XFldDesktop_somSupportsMethod SOMClass_somSupportsMethod
#define M_XFldDesktop_somDefinedMethod SOMClass_somDefinedMethod
#define M_XFldDesktop_somOverrideMtab SOMClass_somOverrideMtab
#define M_XFldDesktop_somDefaultInit SOMObject_somDefaultInit
#define M_XFldDesktop_somDestruct SOMObject_somDestruct
#define M_XFldDesktop_somDefaultCopyInit SOMObject_somDefaultCopyInit
#define M_XFldDesktop_somDefaultAssign SOMObject_somDefaultAssign
#define M_XFldDesktop_somDefaultConstCopyInit SOMObject_somDefaultConstCopyInit
#define M_XFldDesktop_somDefaultVCopyInit SOMObject_somDefaultVCopyInit
#define M_XFldDesktop_somDefaultConstVCopyInit SOMObject_somDefaultConstVCopyInit
#define M_XFldDesktop_somDefaultConstAssign SOMObject_somDefaultConstAssign
#define M_XFldDesktop_somDefaultVAssign SOMObject_somDefaultVAssign
#define M_XFldDesktop_somDefaultConstVAssign SOMObject_somDefaultConstVAssign
#define M_XFldDesktop_somInit SOMObject_somInit
#define M_XFldDesktop_somFree SOMObject_somFree
#define M_XFldDesktop_somUninit SOMObject_somUninit
#define M_XFldDesktop_somGetClass SOMObject_somGetClass
#define M_XFldDesktop_somGetClassName SOMObject_somGetClassName
#define M_XFldDesktop_somGetSize SOMObject_somGetSize
#define M_XFldDesktop_somIsA SOMObject_somIsA
#define M_XFldDesktop_somIsInstanceOf SOMObject_somIsInstanceOf
#define M_XFldDesktop_somRespondsTo SOMObject_somRespondsTo
#define M_XFldDesktop_somDispatch SOMObject_somDispatch
#define M_XFldDesktop_somClassDispatch SOMObject_somClassDispatch
#define M_XFldDesktop_somCastObj SOMObject_somCastObj
#define M_XFldDesktop_somResetObj SOMObject_somResetObj
#define M_XFldDesktop_somDispatchV SOMObject_somDispatchV
#define M_XFldDesktop_somDispatchL SOMObject_somDispatchL
#define M_XFldDesktop_somDispatchA SOMObject_somDispatchA
#define M_XFldDesktop_somDispatchD SOMObject_somDispatchD
#define M_XFldDesktop_somPrintSelf SOMObject_somPrintSelf
#define M_XFldDesktop_somDumpSelf SOMObject_somDumpSelf
#define M_XFldDesktop_somDumpSelfInt SOMObject_somDumpSelfInt
#endif /* SOM_DONT_USE_INHERITED_MACROS */

#endif       /* SOM_M_XFldDesktop_h */
