
/*
 * This file was generated by the SOM Compiler.
 * FileName: \odwin\h\PART.h.
 * Generated using:
 *     SOM Precompiler somipc: 2.29.1.3
 *     SOM Emitter emith.dll: 2.41
 */

/*
 * 
 *  Constants
 * 
 * 
 *  Classes defined in this interface
 * 
 */


#ifndef SOM_ODPart_h
#define SOM_ODPart_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 class data structures as resolution macros
 */
#define ODPartClassData (*resolve_ODPartClassData())
#define ODPartCClassData (*resolve_ODPartCClassData())

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

/*
 * Start of user-defined types:
 */
#ifndef SOMClass
    #define SOMClass SOMObject
#endif /* SOMClass */
#ifndef ODObject
    #define ODObject SOMObject
#endif /* ODObject */
#ifndef ODExtension
    #define ODExtension SOMObject
#endif /* ODExtension */
#ifndef ODRefCntObject
    #define ODRefCntObject SOMObject
#endif /* ODRefCntObject */
#ifndef ODPersistentObject
    #define ODPersistentObject SOMObject
#endif /* ODPersistentObject */
#ifndef ODStorageUnit
    #define ODStorageUnit SOMObject
#endif /* ODStorageUnit */
#ifndef ODFrame
    #define ODFrame SOMObject
#endif /* ODFrame */
#ifndef ODPart
    #define ODPart SOMObject
#endif /* ODPart */
#ifndef ODPartWrapper
    #define ODPartWrapper SOMObject
#endif /* ODPartWrapper */
#ifndef ODCanvas
    #define ODCanvas SOMObject
#endif /* ODCanvas */
#ifndef ODFacet
    #define ODFacet SOMObject
#endif /* ODFacet */
#ifndef ODLink
    #define ODLink SOMObject
#endif /* ODLink */
#ifndef ODLinkSource
    #define ODLinkSource SOMObject
#endif /* ODLinkSource */
#ifndef ODShape
    #define ODShape SOMObject
#endif /* ODShape */
#ifndef ODStorageUnitView
    #define ODStorageUnitView SOMObject
#endif /* ODStorageUnitView */
#ifndef ODDragItemIterator
    #define ODDragItemIterator SOMObject
#endif /* ODDragItemIterator */
#ifndef ODTypeList
    #define ODTypeList SOMObject
#endif /* ODTypeList */
#ifndef ODEmbeddedFramesIterator
    #define ODEmbeddedFramesIterator SOMObject
#endif /* ODEmbeddedFramesIterator */
#ifndef ODObjectSpec
    #define ODObjectSpec SOMObject
#endif /* ODObjectSpec */

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

#define ODPart_MajorVersion 0
#define ODPart_MinorVersion 0

/*
 * External name shortening if required
 */
#ifdef SOM_USE_SHORT_EXTERNAL_NAMES
#define ODPartNewClass c
#define ODPartClassData d
#define ODPartCClassData x
#endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
/*--------------Migration------------*/
#define ODPart_classObj ODPartClassData.classObject
#define _ODPart ODPart_classObj

/*
 * Declare the class creation procedure
 */
SOMEXTERN SOMClass * SOMLINK ODPartNewClass(integer4 somntmajorVersion,
		integer4 somntminorVersion);

/*
 * Declare the class data structure
 */
SOMEXTERN struct ODPartClassDataStructure {
	SOMClass *classObject;
	somMToken FulfillPromise;
	somMToken DropCompleted;
	somMToken DragEnter;
	somMToken DragWithin;
	somMToken DragLeave;
	somMToken Drop;
	somMToken ContainingPartPropertiesChanged;
	somMToken GetContainingPartProperties;
	somMToken RevealFrame;
	somMToken EmbeddedFrameSpec;
	somMToken CreateEmbeddedFramesIterator;
	somMToken DisplayFrameAdded;
	somMToken DisplayFrameRemoved;
	somMToken DisplayFrameConnected;
	somMToken DisplayFrameClosed;
	somMToken AttachSourceFrame;
	somMToken FrameShapeChanged;
	somMToken ViewTypeChanged;
	somMToken PresentationChanged;
	somMToken SequenceChanged;
	somMToken WritePartInfo;
	somMToken ReadPartInfo;
	somMToken Open;
	somMToken RequestEmbeddedFrame;
	somMToken RemoveEmbeddedFrame;
	somMToken RequestFrameShape;
	somMToken UsedShapeChanged;
	somMToken AdjustBorderShape;
	somMToken FacetAdded;
	somMToken FacetRemoved;
	somMToken CanvasChanged;
	somMToken GeometryChanged;
	somMToken Draw;
	somMToken CanvasUpdated;
	somMToken HighlightChanged;
	somMToken GetPrintResolution;
	somMToken CreateLink;
	somMToken LinkUpdated;
	somMToken RevealLink;
	somMToken EmbeddedFrameChanged;
	somMToken LinkStatusChanged;
	somMToken BeginRelinquishFocus;
	somMToken CommitRelinquishFocus;
	somMToken AbortRelinquishFocus;
	somMToken FocusAcquired;
	somMToken FocusLost;
	somMToken ExternalizeKinds;
	somMToken ChangeKind;
	somMToken HandleEvent;
	somMToken HandleEventInEmbedded;
	somMToken MouseEnter;
	somMToken MouseWithin;
	somMToken MouseLeave;
	somMToken AdjustMenus;
	somMToken UndoAction;
	somMToken RedoAction;
	somMToken DisposeActionState;
	somMToken WriteActionState;
	somMToken ReadActionState;
	somMToken InitPart;
	somMToken InitPartFromStorage;
}  _ODPartClassData;
SOMEXTERN struct ODPartClassDataStructure * SOMLINK resolve_ODPartClassData(void);

/*
 * Declare the C specific class data structure
 */
SOMEXTERN struct ODPartCClassDataStructure {
	somMethodTabs parentMtab;
	somDToken instanceDataToken;
}  _ODPartCClassData;
SOMEXTERN struct ODPartCClassDataStructure * SOMLINK resolve_ODPartCClassData(void);

/*
 * New and Renew macros for ODPart
 */
#define ODPartNew() \
   (_somNew(_ODPart ? _ODPart : ODPartNewClass(ODPart_MajorVersion, ODPart_MinorVersion)))
#define ODPartRenew(buf) \
   (_somRenew(_ODPart ? _ODPart : ODPartNewClass(ODPart_MajorVersion, ODPart_MinorVersion), buf))

/*
 * Override method: somInit
 */
#define ODPart_somInit(somSelf) \
	SOMObject_somInit(somSelf)

/*
 * Override method: somUninit
 */
#define ODPart_somUninit(somSelf) \
	SOMObject_somUninit(somSelf)

/*
 * New Method: FulfillPromise
 */
typedef void   (SOMLINK * somTD_ODPart_FulfillPromise)(ODPart *somSelf, Environment *ev,
		ODStorageUnitView* promiseSUView);
#define somMD_ODPart_FulfillPromise "::ODPart::FulfillPromise"
#define ODPart_FulfillPromise(somSelf,ev,promiseSUView) \
    (SOM_Resolve(somSelf, ODPart, FulfillPromise) \
	(somSelf,ev,promiseSUView))
#ifndef SOMGD_FulfillPromise
    #if (defined(_FulfillPromise) || defined(__FulfillPromise))
        #undef _FulfillPromise
        #undef __FulfillPromise
        #define SOMGD_FulfillPromise 1
    #else
        #define _FulfillPromise ODPart_FulfillPromise
    #endif /* _FulfillPromise */
#endif /* SOMGD_FulfillPromise */

/*
 * New Method: DropCompleted
 */
typedef void   (SOMLINK * somTD_ODPart_DropCompleted)(ODPart *somSelf, Environment *ev,
		ODPart* destPart,
		ODDropResult dropResult);
#define somMD_ODPart_DropCompleted "::ODPart::DropCompleted"
#define ODPart_DropCompleted(somSelf,ev,destPart,dropResult) \
    (SOM_Resolve(somSelf, ODPart, DropCompleted) \
	(somSelf,ev,destPart,dropResult))
#ifndef SOMGD_DropCompleted
    #if (defined(_DropCompleted) || defined(__DropCompleted))
        #undef _DropCompleted
        #undef __DropCompleted
        #define SOMGD_DropCompleted 1
    #else
        #define _DropCompleted ODPart_DropCompleted
    #endif /* _DropCompleted */
#endif /* SOMGD_DropCompleted */

/*
 * New Method: DragEnter
 */
typedef ODDragResult   (SOMLINK * somTD_ODPart_DragEnter)(ODPart *somSelf, Environment *ev,
		ODDragItemIterator* dragInfo,
		ODFacet* facet,
		ODPoint* where);
#define somMD_ODPart_DragEnter "::ODPart::DragEnter"
#define ODPart_DragEnter(somSelf,ev,dragInfo,facet,where) \
    (SOM_Resolve(somSelf, ODPart, DragEnter) \
	(somSelf,ev,dragInfo,facet,where))
#ifndef SOMGD_DragEnter
    #if (defined(_DragEnter) || defined(__DragEnter))
        #undef _DragEnter
        #undef __DragEnter
        #define SOMGD_DragEnter 1
    #else
        #define _DragEnter ODPart_DragEnter
    #endif /* _DragEnter */
#endif /* SOMGD_DragEnter */

/*
 * New Method: DragWithin
 */
typedef ODDragResult   (SOMLINK * somTD_ODPart_DragWithin)(ODPart *somSelf, Environment *ev,
		ODDragItemIterator* dragInfo,
		ODFacet* facet,
		ODPoint* where);
#define somMD_ODPart_DragWithin "::ODPart::DragWithin"
#define ODPart_DragWithin(somSelf,ev,dragInfo,facet,where) \
    (SOM_Resolve(somSelf, ODPart, DragWithin) \
	(somSelf,ev,dragInfo,facet,where))
#ifndef SOMGD_DragWithin
    #if (defined(_DragWithin) || defined(__DragWithin))
        #undef _DragWithin
        #undef __DragWithin
        #define SOMGD_DragWithin 1
    #else
        #define _DragWithin ODPart_DragWithin
    #endif /* _DragWithin */
#endif /* SOMGD_DragWithin */

/*
 * New Method: DragLeave
 */
typedef void   (SOMLINK * somTD_ODPart_DragLeave)(ODPart *somSelf, Environment *ev,
		ODFacet* facet,
		ODPoint* where);
#define somMD_ODPart_DragLeave "::ODPart::DragLeave"
#define ODPart_DragLeave(somSelf,ev,facet,where) \
    (SOM_Resolve(somSelf, ODPart, DragLeave) \
	(somSelf,ev,facet,where))
#ifndef SOMGD_DragLeave
    #if (defined(_DragLeave) || defined(__DragLeave))
        #undef _DragLeave
        #undef __DragLeave
        #define SOMGD_DragLeave 1
    #else
        #define _DragLeave ODPart_DragLeave
    #endif /* _DragLeave */
#endif /* SOMGD_DragLeave */

/*
 * New Method: Drop
 */
typedef ODDropResult   (SOMLINK * somTD_ODPart_Drop)(ODPart *somSelf, Environment *ev,
		ODDragItemIterator* dropInfo,
		ODFacet* facet,
		ODPoint* where);
#define somMD_ODPart_Drop "::ODPart::Drop"
#define ODPart_Drop(somSelf,ev,dropInfo,facet,where) \
    (SOM_Resolve(somSelf, ODPart, Drop) \
	(somSelf,ev,dropInfo,facet,where))
#ifndef SOMGD_Drop
    #if (defined(_Drop) || defined(__Drop))
        #undef _Drop
        #undef __Drop
        #define SOMGD_Drop 1
    #else
        #define _Drop ODPart_Drop
    #endif /* _Drop */
#endif /* SOMGD_Drop */

/*
 * New Method: ContainingPartPropertiesChanged
 */
typedef void   (SOMLINK * somTD_ODPart_ContainingPartPropertiesChanged)(ODPart *somSelf, Environment *ev,
		ODFrame* frame,
		ODStorageUnit* propertyUnit);
#define somMD_ODPart_ContainingPartPropertiesChanged "::ODPart::ContainingPartPropertiesChanged"
#define ODPart_ContainingPartPropertiesChanged(somSelf,ev,frame,propertyUnit) \
    (SOM_Resolve(somSelf, ODPart, ContainingPartPropertiesChanged) \
	(somSelf,ev,frame,propertyUnit))
#ifndef SOMGD_ContainingPartPropertiesChanged
    #if (defined(_ContainingPartPropertiesChanged) || defined(__ContainingPartPropertiesChanged))
        #undef _ContainingPartPropertiesChanged
        #undef __ContainingPartPropertiesChanged
        #define SOMGD_ContainingPartPropertiesChanged 1
    #else
        #define _ContainingPartPropertiesChanged ODPart_ContainingPartPropertiesChanged
    #endif /* _ContainingPartPropertiesChanged */
#endif /* SOMGD_ContainingPartPropertiesChanged */

/*
 * New Method: GetContainingPartProperties
 */
typedef ODStorageUnit*   (SOMLINK * somTD_ODPart_GetContainingPartProperties)(ODPart *somSelf, Environment *ev,
		ODFrame* frame);
#define somMD_ODPart_GetContainingPartProperties "::ODPart::GetContainingPartProperties"
#define ODPart_GetContainingPartProperties(somSelf,ev,frame) \
    (SOM_Resolve(somSelf, ODPart, GetContainingPartProperties) \
	(somSelf,ev,frame))
#ifndef SOMGD_GetContainingPartProperties
    #if (defined(_GetContainingPartProperties) || defined(__GetContainingPartProperties))
        #undef _GetContainingPartProperties
        #undef __GetContainingPartProperties
        #define SOMGD_GetContainingPartProperties 1
    #else
        #define _GetContainingPartProperties ODPart_GetContainingPartProperties
    #endif /* _GetContainingPartProperties */
#endif /* SOMGD_GetContainingPartProperties */

/*
 * New Method: RevealFrame
 */
typedef ODBoolean   (SOMLINK * somTD_ODPart_RevealFrame)(ODPart *somSelf, Environment *ev,
		ODFrame* embeddedFrame,
		ODShape* revealShape);
#define somMD_ODPart_RevealFrame "::ODPart::RevealFrame"
#define ODPart_RevealFrame(somSelf,ev,embeddedFrame,revealShape) \
    (SOM_Resolve(somSelf, ODPart, RevealFrame) \
	(somSelf,ev,embeddedFrame,revealShape))
#ifndef SOMGD_RevealFrame
    #if (defined(_RevealFrame) || defined(__RevealFrame))
        #undef _RevealFrame
        #undef __RevealFrame
        #define SOMGD_RevealFrame 1
    #else
        #define _RevealFrame ODPart_RevealFrame
    #endif /* _RevealFrame */
#endif /* SOMGD_RevealFrame */

/*
 * New Method: EmbeddedFrameSpec
 */
typedef void   (SOMLINK * somTD_ODPart_EmbeddedFrameSpec)(ODPart *somSelf, Environment *ev,
		ODFrame* embeddedFrame,
		ODObjectSpec* spec);
#define somMD_ODPart_EmbeddedFrameSpec "::ODPart::EmbeddedFrameSpec"
#define ODPart_EmbeddedFrameSpec(somSelf,ev,embeddedFrame,spec) \
    (SOM_Resolve(somSelf, ODPart, EmbeddedFrameSpec) \
	(somSelf,ev,embeddedFrame,spec))
#ifndef SOMGD_EmbeddedFrameSpec
    #if (defined(_EmbeddedFrameSpec) || defined(__EmbeddedFrameSpec))
        #undef _EmbeddedFrameSpec
        #undef __EmbeddedFrameSpec
        #define SOMGD_EmbeddedFrameSpec 1
    #else
        #define _EmbeddedFrameSpec ODPart_EmbeddedFrameSpec
    #endif /* _EmbeddedFrameSpec */
#endif /* SOMGD_EmbeddedFrameSpec */

/*
 * New Method: CreateEmbeddedFramesIterator
 */
typedef ODEmbeddedFramesIterator*   (SOMLINK * somTD_ODPart_CreateEmbeddedFramesIterator)(ODPart *somSelf, Environment *ev,
		ODFrame* frame);
#define somMD_ODPart_CreateEmbeddedFramesIterator "::ODPart::CreateEmbeddedFramesIterator"
#define ODPart_CreateEmbeddedFramesIterator(somSelf,ev,frame) \
    (SOM_Resolve(somSelf, ODPart, CreateEmbeddedFramesIterator) \
	(somSelf,ev,frame))
#ifndef SOMGD_CreateEmbeddedFramesIterator
    #if (defined(_CreateEmbeddedFramesIterator) || defined(__CreateEmbeddedFramesIterator))
        #undef _CreateEmbeddedFramesIterator
        #undef __CreateEmbeddedFramesIterator
        #define SOMGD_CreateEmbeddedFramesIterator 1
    #else
        #define _CreateEmbeddedFramesIterator ODPart_CreateEmbeddedFramesIterator
    #endif /* _CreateEmbeddedFramesIterator */
#endif /* SOMGD_CreateEmbeddedFramesIterator */

/*
 * New Method: DisplayFrameAdded
 */
typedef void   (SOMLINK * somTD_ODPart_DisplayFrameAdded)(ODPart *somSelf, Environment *ev,
		ODFrame* frame);
#define somMD_ODPart_DisplayFrameAdded "::ODPart::DisplayFrameAdded"
#define ODPart_DisplayFrameAdded(somSelf,ev,frame) \
    (SOM_Resolve(somSelf, ODPart, DisplayFrameAdded) \
	(somSelf,ev,frame))
#ifndef SOMGD_DisplayFrameAdded
    #if (defined(_DisplayFrameAdded) || defined(__DisplayFrameAdded))
        #undef _DisplayFrameAdded
        #undef __DisplayFrameAdded
        #define SOMGD_DisplayFrameAdded 1
    #else
        #define _DisplayFrameAdded ODPart_DisplayFrameAdded
    #endif /* _DisplayFrameAdded */
#endif /* SOMGD_DisplayFrameAdded */

/*
 * New Method: DisplayFrameRemoved
 */
typedef void   (SOMLINK * somTD_ODPart_DisplayFrameRemoved)(ODPart *somSelf, Environment *ev,
		ODFrame* frame);
#define somMD_ODPart_DisplayFrameRemoved "::ODPart::DisplayFrameRemoved"
#define ODPart_DisplayFrameRemoved(somSelf,ev,frame) \
    (SOM_Resolve(somSelf, ODPart, DisplayFrameRemoved) \
	(somSelf,ev,frame))
#ifndef SOMGD_DisplayFrameRemoved
    #if (defined(_DisplayFrameRemoved) || defined(__DisplayFrameRemoved))
        #undef _DisplayFrameRemoved
        #undef __DisplayFrameRemoved
        #define SOMGD_DisplayFrameRemoved 1
    #else
        #define _DisplayFrameRemoved ODPart_DisplayFrameRemoved
    #endif /* _DisplayFrameRemoved */
#endif /* SOMGD_DisplayFrameRemoved */

/*
 * New Method: DisplayFrameConnected
 */
typedef void   (SOMLINK * somTD_ODPart_DisplayFrameConnected)(ODPart *somSelf, Environment *ev,
		ODFrame* frame);
#define somMD_ODPart_DisplayFrameConnected "::ODPart::DisplayFrameConnected"
#define ODPart_DisplayFrameConnected(somSelf,ev,frame) \
    (SOM_Resolve(somSelf, ODPart, DisplayFrameConnected) \
	(somSelf,ev,frame))
#ifndef SOMGD_DisplayFrameConnected
    #if (defined(_DisplayFrameConnected) || defined(__DisplayFrameConnected))
        #undef _DisplayFrameConnected
        #undef __DisplayFrameConnected
        #define SOMGD_DisplayFrameConnected 1
    #else
        #define _DisplayFrameConnected ODPart_DisplayFrameConnected
    #endif /* _DisplayFrameConnected */
#endif /* SOMGD_DisplayFrameConnected */

/*
 * New Method: DisplayFrameClosed
 */
typedef void   (SOMLINK * somTD_ODPart_DisplayFrameClosed)(ODPart *somSelf, Environment *ev,
		ODFrame* frame);
#define somMD_ODPart_DisplayFrameClosed "::ODPart::DisplayFrameClosed"
#define ODPart_DisplayFrameClosed(somSelf,ev,frame) \
    (SOM_Resolve(somSelf, ODPart, DisplayFrameClosed) \
	(somSelf,ev,frame))
#ifndef SOMGD_DisplayFrameClosed
    #if (defined(_DisplayFrameClosed) || defined(__DisplayFrameClosed))
        #undef _DisplayFrameClosed
        #undef __DisplayFrameClosed
        #define SOMGD_DisplayFrameClosed 1
    #else
        #define _DisplayFrameClosed ODPart_DisplayFrameClosed
    #endif /* _DisplayFrameClosed */
#endif /* SOMGD_DisplayFrameClosed */

/*
 * New Method: AttachSourceFrame
 */
typedef void   (SOMLINK * somTD_ODPart_AttachSourceFrame)(ODPart *somSelf, Environment *ev,
		ODFrame* frame,
		ODFrame* sourceFrame);
#define somMD_ODPart_AttachSourceFrame "::ODPart::AttachSourceFrame"
#define ODPart_AttachSourceFrame(somSelf,ev,frame,sourceFrame) \
    (SOM_Resolve(somSelf, ODPart, AttachSourceFrame) \
	(somSelf,ev,frame,sourceFrame))
#ifndef SOMGD_AttachSourceFrame
    #if (defined(_AttachSourceFrame) || defined(__AttachSourceFrame))
        #undef _AttachSourceFrame
        #undef __AttachSourceFrame
        #define SOMGD_AttachSourceFrame 1
    #else
        #define _AttachSourceFrame ODPart_AttachSourceFrame
    #endif /* _AttachSourceFrame */
#endif /* SOMGD_AttachSourceFrame */

/*
 * New Method: FrameShapeChanged
 */
typedef void   (SOMLINK * somTD_ODPart_FrameShapeChanged)(ODPart *somSelf, Environment *ev,
		ODFrame* frame);
#define somMD_ODPart_FrameShapeChanged "::ODPart::FrameShapeChanged"
#define ODPart_FrameShapeChanged(somSelf,ev,frame) \
    (SOM_Resolve(somSelf, ODPart, FrameShapeChanged) \
	(somSelf,ev,frame))
#ifndef SOMGD_FrameShapeChanged
    #if (defined(_FrameShapeChanged) || defined(__FrameShapeChanged))
        #undef _FrameShapeChanged
        #undef __FrameShapeChanged
        #define SOMGD_FrameShapeChanged 1
    #else
        #define _FrameShapeChanged ODPart_FrameShapeChanged
    #endif /* _FrameShapeChanged */
#endif /* SOMGD_FrameShapeChanged */

/*
 * New Method: ViewTypeChanged
 */
typedef void   (SOMLINK * somTD_ODPart_ViewTypeChanged)(ODPart *somSelf, Environment *ev,
		ODFrame* frame);
#define somMD_ODPart_ViewTypeChanged "::ODPart::ViewTypeChanged"
#define ODPart_ViewTypeChanged(somSelf,ev,frame) \
    (SOM_Resolve(somSelf, ODPart, ViewTypeChanged) \
	(somSelf,ev,frame))
#ifndef SOMGD_ViewTypeChanged
    #if (defined(_ViewTypeChanged) || defined(__ViewTypeChanged))
        #undef _ViewTypeChanged
        #undef __ViewTypeChanged
        #define SOMGD_ViewTypeChanged 1
    #else
        #define _ViewTypeChanged ODPart_ViewTypeChanged
    #endif /* _ViewTypeChanged */
#endif /* SOMGD_ViewTypeChanged */

/*
 * New Method: PresentationChanged
 */
typedef void   (SOMLINK * somTD_ODPart_PresentationChanged)(ODPart *somSelf, Environment *ev,
		ODFrame* frame);
#define somMD_ODPart_PresentationChanged "::ODPart::PresentationChanged"
#define ODPart_PresentationChanged(somSelf,ev,frame) \
    (SOM_Resolve(somSelf, ODPart, PresentationChanged) \
	(somSelf,ev,frame))
#ifndef SOMGD_PresentationChanged
    #if (defined(_PresentationChanged) || defined(__PresentationChanged))
        #undef _PresentationChanged
        #undef __PresentationChanged
        #define SOMGD_PresentationChanged 1
    #else
        #define _PresentationChanged ODPart_PresentationChanged
    #endif /* _PresentationChanged */
#endif /* SOMGD_PresentationChanged */

/*
 * New Method: SequenceChanged
 */
typedef void   (SOMLINK * somTD_ODPart_SequenceChanged)(ODPart *somSelf, Environment *ev,
		ODFrame* frame);
#define somMD_ODPart_SequenceChanged "::ODPart::SequenceChanged"
#define ODPart_SequenceChanged(somSelf,ev,frame) \
    (SOM_Resolve(somSelf, ODPart, SequenceChanged) \
	(somSelf,ev,frame))
#ifndef SOMGD_SequenceChanged
    #if (defined(_SequenceChanged) || defined(__SequenceChanged))
        #undef _SequenceChanged
        #undef __SequenceChanged
        #define SOMGD_SequenceChanged 1
    #else
        #define _SequenceChanged ODPart_SequenceChanged
    #endif /* _SequenceChanged */
#endif /* SOMGD_SequenceChanged */

/*
 * New Method: WritePartInfo
 */
typedef void   (SOMLINK * somTD_ODPart_WritePartInfo)(ODPart *somSelf, Environment *ev,
		ODPtr partInfo,
		ODStorageUnitView* storageUnitView);
#define somMD_ODPart_WritePartInfo "::ODPart::WritePartInfo"
#define ODPart_WritePartInfo(somSelf,ev,partInfo,storageUnitView) \
    (SOM_Resolve(somSelf, ODPart, WritePartInfo) \
	(somSelf,ev,partInfo,storageUnitView))
#ifndef SOMGD_WritePartInfo
    #if (defined(_WritePartInfo) || defined(__WritePartInfo))
        #undef _WritePartInfo
        #undef __WritePartInfo
        #define SOMGD_WritePartInfo 1
    #else
        #define _WritePartInfo ODPart_WritePartInfo
    #endif /* _WritePartInfo */
#endif /* SOMGD_WritePartInfo */

/*
 * New Method: ReadPartInfo
 */
typedef ODPtr   (SOMLINK * somTD_ODPart_ReadPartInfo)(ODPart *somSelf, Environment *ev,
		ODFrame* frame,
		ODStorageUnitView* storageUnitView);
#define somMD_ODPart_ReadPartInfo "::ODPart::ReadPartInfo"
#define ODPart_ReadPartInfo(somSelf,ev,frame,storageUnitView) \
    (SOM_Resolve(somSelf, ODPart, ReadPartInfo) \
	(somSelf,ev,frame,storageUnitView))
#ifndef SOMGD_ReadPartInfo
    #if (defined(_ReadPartInfo) || defined(__ReadPartInfo))
        #undef _ReadPartInfo
        #undef __ReadPartInfo
        #define SOMGD_ReadPartInfo 1
    #else
        #define _ReadPartInfo ODPart_ReadPartInfo
    #endif /* _ReadPartInfo */
#endif /* SOMGD_ReadPartInfo */

/*
 * New Method: Open
 */
typedef ODID   (SOMLINK * somTD_ODPart_Open)(ODPart *somSelf, Environment *ev,
		ODFrame* frame);
#define somMD_ODPart_Open "::ODPart::Open"
#define ODPart_Open(somSelf,ev,frame) \
    (SOM_Resolve(somSelf, ODPart, Open) \
	(somSelf,ev,frame))
#ifndef SOMGD_Open
    #if (defined(_Open) || defined(__Open))
        #undef _Open
        #undef __Open
        #define SOMGD_Open 1
    #else
        #define _Open ODPart_Open
    #endif /* _Open */
#endif /* SOMGD_Open */

/*
 * New Method: RequestEmbeddedFrame
 */
typedef ODFrame*   (SOMLINK * somTD_ODPart_RequestEmbeddedFrame)(ODPart *somSelf, Environment *ev,
		ODFrame* containingFrame,
		ODFrame* baseFrame,
		ODShape* frameShape,
		ODPart* embedPart,
		ODTypeToken viewType,
		ODTypeToken presentation,
		ODBoolean isOverlaid);
#define somMD_ODPart_RequestEmbeddedFrame "::ODPart::RequestEmbeddedFrame"
#define ODPart_RequestEmbeddedFrame(somSelf,ev,containingFrame,baseFrame,frameShape,embedPart,viewType,presentation,isOverlaid) \
    (SOM_Resolve(somSelf, ODPart, RequestEmbeddedFrame) \
	(somSelf,ev,containingFrame,baseFrame,frameShape,embedPart,viewType,presentation,isOverlaid))
#ifndef SOMGD_RequestEmbeddedFrame
    #if (defined(_RequestEmbeddedFrame) || defined(__RequestEmbeddedFrame))
        #undef _RequestEmbeddedFrame
        #undef __RequestEmbeddedFrame
        #define SOMGD_RequestEmbeddedFrame 1
    #else
        #define _RequestEmbeddedFrame ODPart_RequestEmbeddedFrame
    #endif /* _RequestEmbeddedFrame */
#endif /* SOMGD_RequestEmbeddedFrame */

/*
 * New Method: RemoveEmbeddedFrame
 */
typedef void   (SOMLINK * somTD_ODPart_RemoveEmbeddedFrame)(ODPart *somSelf, Environment *ev,
		ODFrame* embeddedFrame);
#define somMD_ODPart_RemoveEmbeddedFrame "::ODPart::RemoveEmbeddedFrame"
#define ODPart_RemoveEmbeddedFrame(somSelf,ev,embeddedFrame) \
    (SOM_Resolve(somSelf, ODPart, RemoveEmbeddedFrame) \
	(somSelf,ev,embeddedFrame))
#ifndef SOMGD_RemoveEmbeddedFrame
    #if (defined(_RemoveEmbeddedFrame) || defined(__RemoveEmbeddedFrame))
        #undef _RemoveEmbeddedFrame
        #undef __RemoveEmbeddedFrame
        #define SOMGD_RemoveEmbeddedFrame 1
    #else
        #define _RemoveEmbeddedFrame ODPart_RemoveEmbeddedFrame
    #endif /* _RemoveEmbeddedFrame */
#endif /* SOMGD_RemoveEmbeddedFrame */

/*
 * New Method: RequestFrameShape
 */
typedef ODShape*   (SOMLINK * somTD_ODPart_RequestFrameShape)(ODPart *somSelf, Environment *ev,
		ODFrame* embeddedFrame,
		ODShape* frameShape);
#define somMD_ODPart_RequestFrameShape "::ODPart::RequestFrameShape"
#define ODPart_RequestFrameShape(somSelf,ev,embeddedFrame,frameShape) \
    (SOM_Resolve(somSelf, ODPart, RequestFrameShape) \
	(somSelf,ev,embeddedFrame,frameShape))
#ifndef SOMGD_RequestFrameShape
    #if (defined(_RequestFrameShape) || defined(__RequestFrameShape))
        #undef _RequestFrameShape
        #undef __RequestFrameShape
        #define SOMGD_RequestFrameShape 1
    #else
        #define _RequestFrameShape ODPart_RequestFrameShape
    #endif /* _RequestFrameShape */
#endif /* SOMGD_RequestFrameShape */

/*
 * New Method: UsedShapeChanged
 */
typedef void   (SOMLINK * somTD_ODPart_UsedShapeChanged)(ODPart *somSelf, Environment *ev,
		ODFrame* embeddedFrame);
#define somMD_ODPart_UsedShapeChanged "::ODPart::UsedShapeChanged"
#define ODPart_UsedShapeChanged(somSelf,ev,embeddedFrame) \
    (SOM_Resolve(somSelf, ODPart, UsedShapeChanged) \
	(somSelf,ev,embeddedFrame))
#ifndef SOMGD_UsedShapeChanged
    #if (defined(_UsedShapeChanged) || defined(__UsedShapeChanged))
        #undef _UsedShapeChanged
        #undef __UsedShapeChanged
        #define SOMGD_UsedShapeChanged 1
    #else
        #define _UsedShapeChanged ODPart_UsedShapeChanged
    #endif /* _UsedShapeChanged */
#endif /* SOMGD_UsedShapeChanged */

/*
 * New Method: AdjustBorderShape
 */
typedef ODShape*   (SOMLINK * somTD_ODPart_AdjustBorderShape)(ODPart *somSelf, Environment *ev,
		ODFacet* embeddedFacet,
		ODShape* shape);
#define somMD_ODPart_AdjustBorderShape "::ODPart::AdjustBorderShape"
#define ODPart_AdjustBorderShape(somSelf,ev,embeddedFacet,shape) \
    (SOM_Resolve(somSelf, ODPart, AdjustBorderShape) \
	(somSelf,ev,embeddedFacet,shape))
#ifndef SOMGD_AdjustBorderShape
    #if (defined(_AdjustBorderShape) || defined(__AdjustBorderShape))
        #undef _AdjustBorderShape
        #undef __AdjustBorderShape
        #define SOMGD_AdjustBorderShape 1
    #else
        #define _AdjustBorderShape ODPart_AdjustBorderShape
    #endif /* _AdjustBorderShape */
#endif /* SOMGD_AdjustBorderShape */

/*
 * New Method: FacetAdded
 */
typedef void   (SOMLINK * somTD_ODPart_FacetAdded)(ODPart *somSelf, Environment *ev,
		ODFacet* facet);
#define somMD_ODPart_FacetAdded "::ODPart::FacetAdded"
#define ODPart_FacetAdded(somSelf,ev,facet) \
    (SOM_Resolve(somSelf, ODPart, FacetAdded) \
	(somSelf,ev,facet))
#ifndef SOMGD_FacetAdded
    #if (defined(_FacetAdded) || defined(__FacetAdded))
        #undef _FacetAdded
        #undef __FacetAdded
        #define SOMGD_FacetAdded 1
    #else
        #define _FacetAdded ODPart_FacetAdded
    #endif /* _FacetAdded */
#endif /* SOMGD_FacetAdded */

/*
 * New Method: FacetRemoved
 */
typedef void   (SOMLINK * somTD_ODPart_FacetRemoved)(ODPart *somSelf, Environment *ev,
		ODFacet* facet);
#define somMD_ODPart_FacetRemoved "::ODPart::FacetRemoved"
#define ODPart_FacetRemoved(somSelf,ev,facet) \
    (SOM_Resolve(somSelf, ODPart, FacetRemoved) \
	(somSelf,ev,facet))
#ifndef SOMGD_FacetRemoved
    #if (defined(_FacetRemoved) || defined(__FacetRemoved))
        #undef _FacetRemoved
        #undef __FacetRemoved
        #define SOMGD_FacetRemoved 1
    #else
        #define _FacetRemoved ODPart_FacetRemoved
    #endif /* _FacetRemoved */
#endif /* SOMGD_FacetRemoved */

/*
 * New Method: CanvasChanged
 */
typedef void   (SOMLINK * somTD_ODPart_CanvasChanged)(ODPart *somSelf, Environment *ev,
		ODFacet* facet);
#define somMD_ODPart_CanvasChanged "::ODPart::CanvasChanged"
#define ODPart_CanvasChanged(somSelf,ev,facet) \
    (SOM_Resolve(somSelf, ODPart, CanvasChanged) \
	(somSelf,ev,facet))
#ifndef SOMGD_CanvasChanged
    #if (defined(_CanvasChanged) || defined(__CanvasChanged))
        #undef _CanvasChanged
        #undef __CanvasChanged
        #define SOMGD_CanvasChanged 1
    #else
        #define _CanvasChanged ODPart_CanvasChanged
    #endif /* _CanvasChanged */
#endif /* SOMGD_CanvasChanged */

/*
 * New Method: GeometryChanged
 */
typedef void   (SOMLINK * somTD_ODPart_GeometryChanged)(ODPart *somSelf, Environment *ev,
		ODFacet* facet,
		ODBoolean clipShapeChanged,
		ODBoolean externalTransformChanged);
#define somMD_ODPart_GeometryChanged "::ODPart::GeometryChanged"
#define ODPart_GeometryChanged(somSelf,ev,facet,clipShapeChanged,externalTransformChanged) \
    (SOM_Resolve(somSelf, ODPart, GeometryChanged) \
	(somSelf,ev,facet,clipShapeChanged,externalTransformChanged))
#ifndef SOMGD_GeometryChanged
    #if (defined(_GeometryChanged) || defined(__GeometryChanged))
        #undef _GeometryChanged
        #undef __GeometryChanged
        #define SOMGD_GeometryChanged 1
    #else
        #define _GeometryChanged ODPart_GeometryChanged
    #endif /* _GeometryChanged */
#endif /* SOMGD_GeometryChanged */

/*
 * New Method: Draw
 */
typedef void   (SOMLINK * somTD_ODPart_Draw)(ODPart *somSelf, Environment *ev,
		ODFacet* facet,
		ODShape* invalidShape);
#define somMD_ODPart_Draw "::ODPart::Draw"
#define ODPart_Draw(somSelf,ev,facet,invalidShape) \
    (SOM_Resolve(somSelf, ODPart, Draw) \
	(somSelf,ev,facet,invalidShape))
#ifndef SOMGD_Draw
    #if (defined(_Draw) || defined(__Draw))
        #undef _Draw
        #undef __Draw
        #define SOMGD_Draw 1
    #else
        #define _Draw ODPart_Draw
    #endif /* _Draw */
#endif /* SOMGD_Draw */

/*
 * New Method: CanvasUpdated
 */
typedef void   (SOMLINK * somTD_ODPart_CanvasUpdated)(ODPart *somSelf, Environment *ev,
		ODCanvas* canvas);
#define somMD_ODPart_CanvasUpdated "::ODPart::CanvasUpdated"
#define ODPart_CanvasUpdated(somSelf,ev,canvas) \
    (SOM_Resolve(somSelf, ODPart, CanvasUpdated) \
	(somSelf,ev,canvas))
#ifndef SOMGD_CanvasUpdated
    #if (defined(_CanvasUpdated) || defined(__CanvasUpdated))
        #undef _CanvasUpdated
        #undef __CanvasUpdated
        #define SOMGD_CanvasUpdated 1
    #else
        #define _CanvasUpdated ODPart_CanvasUpdated
    #endif /* _CanvasUpdated */
#endif /* SOMGD_CanvasUpdated */

/*
 * New Method: HighlightChanged
 */
typedef void   (SOMLINK * somTD_ODPart_HighlightChanged)(ODPart *somSelf, Environment *ev,
		ODFacet* facet);
#define somMD_ODPart_HighlightChanged "::ODPart::HighlightChanged"
#define ODPart_HighlightChanged(somSelf,ev,facet) \
    (SOM_Resolve(somSelf, ODPart, HighlightChanged) \
	(somSelf,ev,facet))
#ifndef SOMGD_HighlightChanged
    #if (defined(_HighlightChanged) || defined(__HighlightChanged))
        #undef _HighlightChanged
        #undef __HighlightChanged
        #define SOMGD_HighlightChanged 1
    #else
        #define _HighlightChanged ODPart_HighlightChanged
    #endif /* _HighlightChanged */
#endif /* SOMGD_HighlightChanged */

/*
 * New Method: GetPrintResolution
 */
typedef ODULong   (SOMLINK * somTD_ODPart_GetPrintResolution)(ODPart *somSelf, Environment *ev,
		ODFrame* frame);
#define somMD_ODPart_GetPrintResolution "::ODPart::GetPrintResolution"
#define ODPart_GetPrintResolution(somSelf,ev,frame) \
    (SOM_Resolve(somSelf, ODPart, GetPrintResolution) \
	(somSelf,ev,frame))
#ifndef SOMGD_GetPrintResolution
    #if (defined(_GetPrintResolution) || defined(__GetPrintResolution))
        #undef _GetPrintResolution
        #undef __GetPrintResolution
        #define SOMGD_GetPrintResolution 1
    #else
        #define _GetPrintResolution ODPart_GetPrintResolution
    #endif /* _GetPrintResolution */
#endif /* SOMGD_GetPrintResolution */

/*
 * New Method: CreateLink
 */
typedef ODLink*   (SOMLINK * somTD_ODPart_CreateLink)(ODPart *somSelf, Environment *ev,
		ODPtr data,
		ODULong size);
#define somMD_ODPart_CreateLink "::ODPart::CreateLink"
#define ODPart_CreateLink(somSelf,ev,data,size) \
    (SOM_Resolve(somSelf, ODPart, CreateLink) \
	(somSelf,ev,data,size))
#ifndef SOMGD_CreateLink
    #if (defined(_CreateLink) || defined(__CreateLink))
        #undef _CreateLink
        #undef __CreateLink
        #define SOMGD_CreateLink 1
    #else
        #define _CreateLink ODPart_CreateLink
    #endif /* _CreateLink */
#endif /* SOMGD_CreateLink */

/*
 * New Method: LinkUpdated
 */
typedef void   (SOMLINK * somTD_ODPart_LinkUpdated)(ODPart *somSelf, Environment *ev,
		ODLink* updatedLink,
		ODChangeID id);
#define somMD_ODPart_LinkUpdated "::ODPart::LinkUpdated"
#define ODPart_LinkUpdated(somSelf,ev,updatedLink,id) \
    (SOM_Resolve(somSelf, ODPart, LinkUpdated) \
	(somSelf,ev,updatedLink,id))
#ifndef SOMGD_LinkUpdated
    #if (defined(_LinkUpdated) || defined(__LinkUpdated))
        #undef _LinkUpdated
        #undef __LinkUpdated
        #define SOMGD_LinkUpdated 1
    #else
        #define _LinkUpdated ODPart_LinkUpdated
    #endif /* _LinkUpdated */
#endif /* SOMGD_LinkUpdated */

/*
 * New Method: RevealLink
 */
typedef void   (SOMLINK * somTD_ODPart_RevealLink)(ODPart *somSelf, Environment *ev,
		ODLinkSource* linkSource);
#define somMD_ODPart_RevealLink "::ODPart::RevealLink"
#define ODPart_RevealLink(somSelf,ev,linkSource) \
    (SOM_Resolve(somSelf, ODPart, RevealLink) \
	(somSelf,ev,linkSource))
#ifndef SOMGD_RevealLink
    #if (defined(_RevealLink) || defined(__RevealLink))
        #undef _RevealLink
        #undef __RevealLink
        #define SOMGD_RevealLink 1
    #else
        #define _RevealLink ODPart_RevealLink
    #endif /* _RevealLink */
#endif /* SOMGD_RevealLink */

/*
 * New Method: EmbeddedFrameChanged
 */
typedef void   (SOMLINK * somTD_ODPart_EmbeddedFrameChanged)(ODPart *somSelf, Environment *ev,
		ODFrame* frame,
		ODChangeID change);
#define somMD_ODPart_EmbeddedFrameChanged "::ODPart::EmbeddedFrameChanged"
#define ODPart_EmbeddedFrameChanged(somSelf,ev,frame,change) \
    (SOM_Resolve(somSelf, ODPart, EmbeddedFrameChanged) \
	(somSelf,ev,frame,change))
#ifndef SOMGD_EmbeddedFrameChanged
    #if (defined(_EmbeddedFrameChanged) || defined(__EmbeddedFrameChanged))
        #undef _EmbeddedFrameChanged
        #undef __EmbeddedFrameChanged
        #define SOMGD_EmbeddedFrameChanged 1
    #else
        #define _EmbeddedFrameChanged ODPart_EmbeddedFrameChanged
    #endif /* _EmbeddedFrameChanged */
#endif /* SOMGD_EmbeddedFrameChanged */

/*
 * New Method: LinkStatusChanged
 */
typedef void   (SOMLINK * somTD_ODPart_LinkStatusChanged)(ODPart *somSelf, Environment *ev,
		ODFrame* frame);
#define somMD_ODPart_LinkStatusChanged "::ODPart::LinkStatusChanged"
#define ODPart_LinkStatusChanged(somSelf,ev,frame) \
    (SOM_Resolve(somSelf, ODPart, LinkStatusChanged) \
	(somSelf,ev,frame))
#ifndef SOMGD_LinkStatusChanged
    #if (defined(_LinkStatusChanged) || defined(__LinkStatusChanged))
        #undef _LinkStatusChanged
        #undef __LinkStatusChanged
        #define SOMGD_LinkStatusChanged 1
    #else
        #define _LinkStatusChanged ODPart_LinkStatusChanged
    #endif /* _LinkStatusChanged */
#endif /* SOMGD_LinkStatusChanged */

/*
 * New Method: BeginRelinquishFocus
 */
typedef ODBoolean   (SOMLINK * somTD_ODPart_BeginRelinquishFocus)(ODPart *somSelf, Environment *ev,
		ODTypeToken focus,
		ODFrame* ownerFrame,
		ODFrame* proposedFrame);
#define somMD_ODPart_BeginRelinquishFocus "::ODPart::BeginRelinquishFocus"
#define ODPart_BeginRelinquishFocus(somSelf,ev,focus,ownerFrame,proposedFrame) \
    (SOM_Resolve(somSelf, ODPart, BeginRelinquishFocus) \
	(somSelf,ev,focus,ownerFrame,proposedFrame))
#ifndef SOMGD_BeginRelinquishFocus
    #if (defined(_BeginRelinquishFocus) || defined(__BeginRelinquishFocus))
        #undef _BeginRelinquishFocus
        #undef __BeginRelinquishFocus
        #define SOMGD_BeginRelinquishFocus 1
    #else
        #define _BeginRelinquishFocus ODPart_BeginRelinquishFocus
    #endif /* _BeginRelinquishFocus */
#endif /* SOMGD_BeginRelinquishFocus */

/*
 * New Method: CommitRelinquishFocus
 */
typedef void   (SOMLINK * somTD_ODPart_CommitRelinquishFocus)(ODPart *somSelf, Environment *ev,
		ODTypeToken focus,
		ODFrame* ownerFrame,
		ODFrame* proposedFrame);
#define somMD_ODPart_CommitRelinquishFocus "::ODPart::CommitRelinquishFocus"
#define ODPart_CommitRelinquishFocus(somSelf,ev,focus,ownerFrame,proposedFrame) \
    (SOM_Resolve(somSelf, ODPart, CommitRelinquishFocus) \
	(somSelf,ev,focus,ownerFrame,proposedFrame))
#ifndef SOMGD_CommitRelinquishFocus
    #if (defined(_CommitRelinquishFocus) || defined(__CommitRelinquishFocus))
        #undef _CommitRelinquishFocus
        #undef __CommitRelinquishFocus
        #define SOMGD_CommitRelinquishFocus 1
    #else
        #define _CommitRelinquishFocus ODPart_CommitRelinquishFocus
    #endif /* _CommitRelinquishFocus */
#endif /* SOMGD_CommitRelinquishFocus */

/*
 * New Method: AbortRelinquishFocus
 */
typedef void   (SOMLINK * somTD_ODPart_AbortRelinquishFocus)(ODPart *somSelf, Environment *ev,
		ODTypeToken focus,
		ODFrame* ownerFrame,
		ODFrame* proposedFrame);
#define somMD_ODPart_AbortRelinquishFocus "::ODPart::AbortRelinquishFocus"
#define ODPart_AbortRelinquishFocus(somSelf,ev,focus,ownerFrame,proposedFrame) \
    (SOM_Resolve(somSelf, ODPart, AbortRelinquishFocus) \
	(somSelf,ev,focus,ownerFrame,proposedFrame))
#ifndef SOMGD_AbortRelinquishFocus
    #if (defined(_AbortRelinquishFocus) || defined(__AbortRelinquishFocus))
        #undef _AbortRelinquishFocus
        #undef __AbortRelinquishFocus
        #define SOMGD_AbortRelinquishFocus 1
    #else
        #define _AbortRelinquishFocus ODPart_AbortRelinquishFocus
    #endif /* _AbortRelinquishFocus */
#endif /* SOMGD_AbortRelinquishFocus */

/*
 * New Method: FocusAcquired
 */
typedef void   (SOMLINK * somTD_ODPart_FocusAcquired)(ODPart *somSelf, Environment *ev,
		ODTypeToken focus,
		ODFrame* ownerFrame);
#define somMD_ODPart_FocusAcquired "::ODPart::FocusAcquired"
#define ODPart_FocusAcquired(somSelf,ev,focus,ownerFrame) \
    (SOM_Resolve(somSelf, ODPart, FocusAcquired) \
	(somSelf,ev,focus,ownerFrame))
#ifndef SOMGD_FocusAcquired
    #if (defined(_FocusAcquired) || defined(__FocusAcquired))
        #undef _FocusAcquired
        #undef __FocusAcquired
        #define SOMGD_FocusAcquired 1
    #else
        #define _FocusAcquired ODPart_FocusAcquired
    #endif /* _FocusAcquired */
#endif /* SOMGD_FocusAcquired */

/*
 * New Method: FocusLost
 */
typedef void   (SOMLINK * somTD_ODPart_FocusLost)(ODPart *somSelf, Environment *ev,
		ODTypeToken focus,
		ODFrame* ownerFrame);
#define somMD_ODPart_FocusLost "::ODPart::FocusLost"
#define ODPart_FocusLost(somSelf,ev,focus,ownerFrame) \
    (SOM_Resolve(somSelf, ODPart, FocusLost) \
	(somSelf,ev,focus,ownerFrame))
#ifndef SOMGD_FocusLost
    #if (defined(_FocusLost) || defined(__FocusLost))
        #undef _FocusLost
        #undef __FocusLost
        #define SOMGD_FocusLost 1
    #else
        #define _FocusLost ODPart_FocusLost
    #endif /* _FocusLost */
#endif /* SOMGD_FocusLost */

/*
 * New Method: ExternalizeKinds
 */
typedef void   (SOMLINK * somTD_ODPart_ExternalizeKinds)(ODPart *somSelf, Environment *ev,
		ODTypeList* kindset);
#define somMD_ODPart_ExternalizeKinds "::ODPart::ExternalizeKinds"
#define ODPart_ExternalizeKinds(somSelf,ev,kindset) \
    (SOM_Resolve(somSelf, ODPart, ExternalizeKinds) \
	(somSelf,ev,kindset))
#ifndef SOMGD_ExternalizeKinds
    #if (defined(_ExternalizeKinds) || defined(__ExternalizeKinds))
        #undef _ExternalizeKinds
        #undef __ExternalizeKinds
        #define SOMGD_ExternalizeKinds 1
    #else
        #define _ExternalizeKinds ODPart_ExternalizeKinds
    #endif /* _ExternalizeKinds */
#endif /* SOMGD_ExternalizeKinds */

/*
 * New Method: ChangeKind
 */
typedef void   (SOMLINK * somTD_ODPart_ChangeKind)(ODPart *somSelf, Environment *ev,
		ODType kind);
#define somMD_ODPart_ChangeKind "::ODPart::ChangeKind"
#define ODPart_ChangeKind(somSelf,ev,kind) \
    (SOM_Resolve(somSelf, ODPart, ChangeKind) \
	(somSelf,ev,kind))
#ifndef SOMGD_ChangeKind
    #if (defined(_ChangeKind) || defined(__ChangeKind))
        #undef _ChangeKind
        #undef __ChangeKind
        #define SOMGD_ChangeKind 1
    #else
        #define _ChangeKind ODPart_ChangeKind
    #endif /* _ChangeKind */
#endif /* SOMGD_ChangeKind */

/*
 * New Method: HandleEvent
 */
typedef ODBoolean   (SOMLINK * somTD_ODPart_HandleEvent)(ODPart *somSelf, Environment *ev,
		ODEventData* event,
		ODFrame* frame,
		ODFacet* facet);
#define somMD_ODPart_HandleEvent "::ODPart::HandleEvent"
#define ODPart_HandleEvent(somSelf,ev,event,frame,facet) \
    (SOM_Resolve(somSelf, ODPart, HandleEvent) \
	(somSelf,ev,event,frame,facet))
#ifndef SOMGD_HandleEvent
    #if (defined(_HandleEvent) || defined(__HandleEvent))
        #undef _HandleEvent
        #undef __HandleEvent
        #define SOMGD_HandleEvent 1
    #else
        #define _HandleEvent ODPart_HandleEvent
    #endif /* _HandleEvent */
#endif /* SOMGD_HandleEvent */

/*
 * New Method: HandleEventInEmbedded
 */
typedef ODBoolean   (SOMLINK * somTD_ODPart_HandleEventInEmbedded)(ODPart *somSelf, Environment *ev,
		ODEventData* event,
		ODFrame* frame,
		ODFacet* facet,
		ODFrame* embeddedFrame,
		ODFacet* embeddedFacet);
#define somMD_ODPart_HandleEventInEmbedded "::ODPart::HandleEventInEmbedded"
#define ODPart_HandleEventInEmbedded(somSelf,ev,event,frame,facet,embeddedFrame,embeddedFacet) \
    (SOM_Resolve(somSelf, ODPart, HandleEventInEmbedded) \
	(somSelf,ev,event,frame,facet,embeddedFrame,embeddedFacet))
#ifndef SOMGD_HandleEventInEmbedded
    #if (defined(_HandleEventInEmbedded) || defined(__HandleEventInEmbedded))
        #undef _HandleEventInEmbedded
        #undef __HandleEventInEmbedded
        #define SOMGD_HandleEventInEmbedded 1
    #else
        #define _HandleEventInEmbedded ODPart_HandleEventInEmbedded
    #endif /* _HandleEventInEmbedded */
#endif /* SOMGD_HandleEventInEmbedded */

/*
 * New Method: MouseEnter
 */
typedef void   (SOMLINK * somTD_ODPart_MouseEnter)(ODPart *somSelf, Environment *ev,
		ODFacet* facet,
		ODPoint* where);
#define somMD_ODPart_MouseEnter "::ODPart::MouseEnter"
#define ODPart_MouseEnter(somSelf,ev,facet,where) \
    (SOM_Resolve(somSelf, ODPart, MouseEnter) \
	(somSelf,ev,facet,where))
#ifndef SOMGD_MouseEnter
    #if (defined(_MouseEnter) || defined(__MouseEnter))
        #undef _MouseEnter
        #undef __MouseEnter
        #define SOMGD_MouseEnter 1
    #else
        #define _MouseEnter ODPart_MouseEnter
    #endif /* _MouseEnter */
#endif /* SOMGD_MouseEnter */

/*
 * New Method: MouseWithin
 */
typedef void   (SOMLINK * somTD_ODPart_MouseWithin)(ODPart *somSelf, Environment *ev,
		ODFacet* facet,
		ODPoint* where);
#define somMD_ODPart_MouseWithin "::ODPart::MouseWithin"
#define ODPart_MouseWithin(somSelf,ev,facet,where) \
    (SOM_Resolve(somSelf, ODPart, MouseWithin) \
	(somSelf,ev,facet,where))
#ifndef SOMGD_MouseWithin
    #if (defined(_MouseWithin) || defined(__MouseWithin))
        #undef _MouseWithin
        #undef __MouseWithin
        #define SOMGD_MouseWithin 1
    #else
        #define _MouseWithin ODPart_MouseWithin
    #endif /* _MouseWithin */
#endif /* SOMGD_MouseWithin */

/*
 * New Method: MouseLeave
 */
typedef void   (SOMLINK * somTD_ODPart_MouseLeave)(ODPart *somSelf, Environment *ev,
		ODFacet* facet);
#define somMD_ODPart_MouseLeave "::ODPart::MouseLeave"
#define ODPart_MouseLeave(somSelf,ev,facet) \
    (SOM_Resolve(somSelf, ODPart, MouseLeave) \
	(somSelf,ev,facet))
#ifndef SOMGD_MouseLeave
    #if (defined(_MouseLeave) || defined(__MouseLeave))
        #undef _MouseLeave
        #undef __MouseLeave
        #define SOMGD_MouseLeave 1
    #else
        #define _MouseLeave ODPart_MouseLeave
    #endif /* _MouseLeave */
#endif /* SOMGD_MouseLeave */

/*
 * New Method: AdjustMenus
 */
typedef void   (SOMLINK * somTD_ODPart_AdjustMenus)(ODPart *somSelf, Environment *ev,
		ODFrame* frame);
#define somMD_ODPart_AdjustMenus "::ODPart::AdjustMenus"
#define ODPart_AdjustMenus(somSelf,ev,frame) \
    (SOM_Resolve(somSelf, ODPart, AdjustMenus) \
	(somSelf,ev,frame))
#ifndef SOMGD_AdjustMenus
    #if (defined(_AdjustMenus) || defined(__AdjustMenus))
        #undef _AdjustMenus
        #undef __AdjustMenus
        #define SOMGD_AdjustMenus 1
    #else
        #define _AdjustMenus ODPart_AdjustMenus
    #endif /* _AdjustMenus */
#endif /* SOMGD_AdjustMenus */

/*
 * New Method: UndoAction
 */
typedef void   (SOMLINK * somTD_ODPart_UndoAction)(ODPart *somSelf, Environment *ev,
		ODActionData actionState);
#define somMD_ODPart_UndoAction "::ODPart::UndoAction"
#define ODPart_UndoAction(somSelf,ev,actionState) \
    (SOM_Resolve(somSelf, ODPart, UndoAction) \
	(somSelf,ev,actionState))
#ifndef SOMGD_UndoAction
    #if (defined(_UndoAction) || defined(__UndoAction))
        #undef _UndoAction
        #undef __UndoAction
        #define SOMGD_UndoAction 1
    #else
        #define _UndoAction ODPart_UndoAction
    #endif /* _UndoAction */
#endif /* SOMGD_UndoAction */

/*
 * New Method: RedoAction
 */
typedef void   (SOMLINK * somTD_ODPart_RedoAction)(ODPart *somSelf, Environment *ev,
		ODActionData actionState);
#define somMD_ODPart_RedoAction "::ODPart::RedoAction"
#define ODPart_RedoAction(somSelf,ev,actionState) \
    (SOM_Resolve(somSelf, ODPart, RedoAction) \
	(somSelf,ev,actionState))
#ifndef SOMGD_RedoAction
    #if (defined(_RedoAction) || defined(__RedoAction))
        #undef _RedoAction
        #undef __RedoAction
        #define SOMGD_RedoAction 1
    #else
        #define _RedoAction ODPart_RedoAction
    #endif /* _RedoAction */
#endif /* SOMGD_RedoAction */

/*
 * New Method: DisposeActionState
 */
typedef void   (SOMLINK * somTD_ODPart_DisposeActionState)(ODPart *somSelf, Environment *ev,
		ODActionData actionState,
		ODDoneState doneState);
#define somMD_ODPart_DisposeActionState "::ODPart::DisposeActionState"
#define ODPart_DisposeActionState(somSelf,ev,actionState,doneState) \
    (SOM_Resolve(somSelf, ODPart, DisposeActionState) \
	(somSelf,ev,actionState,doneState))
#ifndef SOMGD_DisposeActionState
    #if (defined(_DisposeActionState) || defined(__DisposeActionState))
        #undef _DisposeActionState
        #undef __DisposeActionState
        #define SOMGD_DisposeActionState 1
    #else
        #define _DisposeActionState ODPart_DisposeActionState
    #endif /* _DisposeActionState */
#endif /* SOMGD_DisposeActionState */

/*
 * New Method: WriteActionState
 */
typedef void   (SOMLINK * somTD_ODPart_WriteActionState)(ODPart *somSelf, Environment *ev,
		ODPtr actionState,
		ODStorageUnitView* storageUnitView);
#define somMD_ODPart_WriteActionState "::ODPart::WriteActionState"
#define ODPart_WriteActionState(somSelf,ev,actionState,storageUnitView) \
    (SOM_Resolve(somSelf, ODPart, WriteActionState) \
	(somSelf,ev,actionState,storageUnitView))
#ifndef SOMGD_WriteActionState
    #if (defined(_WriteActionState) || defined(__WriteActionState))
        #undef _WriteActionState
        #undef __WriteActionState
        #define SOMGD_WriteActionState 1
    #else
        #define _WriteActionState ODPart_WriteActionState
    #endif /* _WriteActionState */
#endif /* SOMGD_WriteActionState */

/*
 * New Method: ReadActionState
 */
typedef ODPtr   (SOMLINK * somTD_ODPart_ReadActionState)(ODPart *somSelf, Environment *ev,
		ODStorageUnitView* storageUnitView);
#define somMD_ODPart_ReadActionState "::ODPart::ReadActionState"
#define ODPart_ReadActionState(somSelf,ev,storageUnitView) \
    (SOM_Resolve(somSelf, ODPart, ReadActionState) \
	(somSelf,ev,storageUnitView))
#ifndef SOMGD_ReadActionState
    #if (defined(_ReadActionState) || defined(__ReadActionState))
        #undef _ReadActionState
        #undef __ReadActionState
        #define SOMGD_ReadActionState 1
    #else
        #define _ReadActionState ODPart_ReadActionState
    #endif /* _ReadActionState */
#endif /* SOMGD_ReadActionState */

/*
 * New Method: InitPart
 */
typedef void   (SOMLINK * somTD_ODPart_InitPart)(ODPart *somSelf, Environment *ev,
		ODStorageUnit* storageUnit,
		ODPartWrapper* partWrapper);
#define somMD_ODPart_InitPart "::ODPart::InitPart"
#define ODPart_InitPart(somSelf,ev,storageUnit,partWrapper) \
    (SOM_Resolve(somSelf, ODPart, InitPart) \
	(somSelf,ev,storageUnit,partWrapper))
#ifndef SOMGD_InitPart
    #if (defined(_InitPart) || defined(__InitPart))
        #undef _InitPart
        #undef __InitPart
        #define SOMGD_InitPart 1
    #else
        #define _InitPart ODPart_InitPart
    #endif /* _InitPart */
#endif /* SOMGD_InitPart */

/*
 * New Method: InitPartFromStorage
 */
typedef void   (SOMLINK * somTD_ODPart_InitPartFromStorage)(ODPart *somSelf, Environment *ev,
		ODStorageUnit* storageUnit,
		ODPartWrapper* partWrapper);
#define somMD_ODPart_InitPartFromStorage "::ODPart::InitPartFromStorage"
#define ODPart_InitPartFromStorage(somSelf,ev,storageUnit,partWrapper) \
    (SOM_Resolve(somSelf, ODPart, InitPartFromStorage) \
	(somSelf,ev,storageUnit,partWrapper))
#ifndef SOMGD_InitPartFromStorage
    #if (defined(_InitPartFromStorage) || defined(__InitPartFromStorage))
        #undef _InitPartFromStorage
        #undef __InitPartFromStorage
        #define SOMGD_InitPartFromStorage 1
    #else
        #define _InitPartFromStorage ODPart_InitPartFromStorage
    #endif /* _InitPartFromStorage */
#endif /* SOMGD_InitPartFromStorage */
#ifndef SOM_DONT_USE_INHERITED_MACROS
#define ODPart_InitPersistentObject ODPersistentObject_InitPersistentObject
#define ODPart_InitPersistentObjectFromStorage ODPersistentObject_InitPersistentObjectFromStorage
#define ODPart_ReleaseAll ODPersistentObject_ReleaseAll
#define ODPart_Externalize ODPersistentObject_Externalize
#define ODPart_GetStorageUnit ODPersistentObject_GetStorageUnit
#define ODPart_GetID ODPersistentObject_GetID
#define ODPart_CloneInto ODPersistentObject_CloneInto
#define ODPart_InitRefCntObject ODRefCntObject_InitRefCntObject
#define ODPart_IncrementRefCount ODRefCntObject_IncrementRefCount
#define ODPart_Release ODRefCntObject_Release
#define ODPart_GetRefCount ODRefCntObject_GetRefCount
#define ODPart_InitObject ODObject_InitObject
#define ODPart_IsInitialized ODObject_IsInitialized
#define ODPart_HasExtension ODObject_HasExtension
#define ODPart_GetExtension ODObject_GetExtension
#define ODPart_ReleaseExtension ODObject_ReleaseExtension
#define ODPart_Purge ODObject_Purge
#define ODPart_IsEqualTo ODObject_IsEqualTo
#define ODPart_SubClassResponsibility ODObject_SubClassResponsibility
#define ODPart_somDefaultInit SOMObject_somDefaultInit
#define ODPart_somDestruct SOMObject_somDestruct
#define ODPart_somDefaultCopyInit SOMObject_somDefaultCopyInit
#define ODPart_somDefaultAssign SOMObject_somDefaultAssign
#define ODPart_somDefaultConstCopyInit SOMObject_somDefaultConstCopyInit
#define ODPart_somDefaultVCopyInit SOMObject_somDefaultVCopyInit
#define ODPart_somDefaultConstVCopyInit SOMObject_somDefaultConstVCopyInit
#define ODPart_somDefaultConstAssign SOMObject_somDefaultConstAssign
#define ODPart_somDefaultVAssign SOMObject_somDefaultVAssign
#define ODPart_somDefaultConstVAssign SOMObject_somDefaultConstVAssign
#define ODPart_somFree SOMObject_somFree
#define ODPart_somGetClass SOMObject_somGetClass
#define ODPart_somGetClassName SOMObject_somGetClassName
#define ODPart_somGetSize SOMObject_somGetSize
#define ODPart_somIsA SOMObject_somIsA
#define ODPart_somIsInstanceOf SOMObject_somIsInstanceOf
#define ODPart_somRespondsTo SOMObject_somRespondsTo
#define ODPart_somDispatch SOMObject_somDispatch
#define ODPart_somClassDispatch SOMObject_somClassDispatch
#define ODPart_somCastObj SOMObject_somCastObj
#define ODPart_somResetObj SOMObject_somResetObj
#define ODPart_somDispatchV SOMObject_somDispatchV
#define ODPart_somDispatchL SOMObject_somDispatchL
#define ODPart_somDispatchA SOMObject_somDispatchA
#define ODPart_somDispatchD SOMObject_somDispatchD
#define ODPart_somPrintSelf SOMObject_somPrintSelf
#define ODPart_somDumpSelf SOMObject_somDumpSelf
#define ODPart_somDumpSelfInt SOMObject_somDumpSelfInt
#endif /* SOM_DONT_USE_INHERITED_MACROS */

#endif       /* SOM_ODPart_h */
