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

/*
 * 
 *  Theory of Operation
 * 
 * 
 *   This file defines class ODPersistentObject.  This class is the common base
 *   class for all OpenDoc classes whose objects require persistent storage.
 * 
 *  Classes defined in this interface
 * 
 */


#ifndef SOM_ODFrame_h
#define SOM_ODFrame_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 ODFrameClassData (*resolve_ODFrameClassData())
#define ODFrameCClassData (*resolve_ODFrameCClassData())

/*
 * Define the class name as an object type
 */
#ifndef ODFrame
#define ODFrame 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 ODFrameFacetIterator
    #define ODFrameFacetIterator SOMObject
#endif /* ODFrameFacetIterator */
#ifndef ODCanvas
    #define ODCanvas SOMObject
#endif /* ODCanvas */
#ifndef ODDraft
    #define ODDraft SOMObject
#endif /* ODDraft */
#ifndef ODFacet
    #define ODFacet SOMObject
#endif /* ODFacet */
#ifndef ODPart
    #define ODPart SOMObject
#endif /* ODPart */
#ifndef ODShape
    #define ODShape SOMObject
#endif /* ODShape */
#ifndef ODTransform
    #define ODTransform SOMObject
#endif /* ODTransform */
#ifndef ODDragItemIterator
    #define ODDragItemIterator SOMObject
#endif /* ODDragItemIterator */
#ifndef ODWindow
    #define ODWindow SOMObject
#endif /* ODWindow */

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

#define ODFrame_MajorVersion 0
#define ODFrame_MinorVersion 0

/*
 * External name shortening if required
 */
#ifdef SOM_USE_SHORT_EXTERNAL_NAMES
#define ODFrameNewClass c
#define ODFrameClassData d
#define ODFrameCClassData x
#endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
/*--------------Migration------------*/
#define ODFrame_classObj ODFrameClassData.classObject
#define _ODFrame ODFrame_classObj

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

/*
 * Declare the class data structure
 */
SOMEXTERN struct ODFrameClassDataStructure {
	SOMClass *classObject;
	somMToken GetContainingFrame;
	somMToken SetContainingFrame;
	somMToken GetWindow;
	somMToken SetWindow;
	somMToken GetFrameGroup;
	somMToken SetFrameGroup;
	somMToken GetSequenceNumber;
	somMToken SetSequenceNumber;
	somMToken IsRoot;
	somMToken IsSubframe;
	somMToken SetSubframe;
	somMToken IsOverlaid;
	somMToken IsFrozen;
	somMToken SetFrozen;
	somMToken DoesPropagateEvents;
	somMToken SetPropagateEvents;
	somMToken GetPart;
	somMToken ChangePart;
	somMToken GetPartInfo;
	somMToken SetPartInfo;
	somMToken GetViewType;
	somMToken SetViewType;
	somMToken ChangeViewType;
	somMToken GetPresentation;
	somMToken SetPresentation;
	somMToken ChangePresentation;
	somMToken FacetAdded;
	somMToken FacetRemoved;
	somMToken CreateFacetIterator;
	somMToken CreateShape;
	somMToken GetFrameShape;
	somMToken ChangeFrameShape;
	somMToken RequestFrameShape;
	somMToken GetUsedShape;
	somMToken ChangeUsedShape;
	somMToken CreateTransform;
	somMToken GetInternalTransform;
	somMToken ChangeInternalTransform;
	somMToken GetContentExtent;
	somMToken ChangeContentExtent;
	somMToken IsDroppable;
	somMToken SetDroppable;
	somMToken IsDragging;
	somMToken SetDragging;
	somMToken ContentChanged;
	somMToken ChangeLinkStatus;
	somMToken GetLinkStatus;
	somMToken Invalidate;
	somMToken Validate;
	somMToken InvalidateActiveBorder;
	somMToken DrawActiveBorder;
	somMToken Close;
	somMToken Remove;
	somMToken GetFacets;
	somMToken CommonInitFrame;
	somMToken InitFrame;
	somMToken InitFrameFromStorage;
	somMToken InitFrameNonPersistent;
}  _ODFrameClassData;
SOMEXTERN struct ODFrameClassDataStructure * SOMLINK resolve_ODFrameClassData(void);

/*
 * Declare the C specific class data structure
 */
SOMEXTERN struct ODFrameCClassDataStructure {
	somMethodTabs parentMtab;
	somDToken instanceDataToken;
}  _ODFrameCClassData;
SOMEXTERN struct ODFrameCClassDataStructure * SOMLINK resolve_ODFrameCClassData(void);

/*
 * New and Renew macros for ODFrame
 */
#define ODFrameNew() \
   (_somNew(_ODFrame ? _ODFrame : ODFrameNewClass(ODFrame_MajorVersion, ODFrame_MinorVersion)))
#define ODFrameRenew(buf) \
   (_somRenew(_ODFrame ? _ODFrame : ODFrameNewClass(ODFrame_MajorVersion, ODFrame_MinorVersion), buf))

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

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

/*
 * Override method: Purge
 */
#define ODFrame_Purge(somSelf,ev,size) \
	ODObject_Purge(somSelf,ev,size)

/*
 * Override method: Release
 */
#define ODFrame_Release(somSelf,ev) \
	ODRefCntObject_Release(somSelf,ev)

/*
 * Override method: ReleaseAll
 */
#define ODFrame_ReleaseAll(somSelf,ev) \
	ODPersistentObject_ReleaseAll(somSelf,ev)

/*
 * Override method: Externalize
 */
#define ODFrame_Externalize(somSelf,ev) \
	ODPersistentObject_Externalize(somSelf,ev)

/*
 * Override method: GetID
 */
#define ODFrame_GetID(somSelf,ev) \
	ODPersistentObject_GetID(somSelf,ev)

/*
 * Override method: CloneInto
 */
#define ODFrame_CloneInto(somSelf,ev,key,toSU,scope) \
	ODPersistentObject_CloneInto(somSelf,ev,key,toSU,scope)

/*
 * New Method: GetContainingFrame
 */
typedef ODFrame*   (SOMLINK * somTD_ODFrame_GetContainingFrame)(ODFrame *somSelf, Environment *ev);
#define somMD_ODFrame_GetContainingFrame "::ODFrame::GetContainingFrame"
#define ODFrame_GetContainingFrame(somSelf,ev) \
    (SOM_Resolve(somSelf, ODFrame, GetContainingFrame) \
	(somSelf,ev))
#ifndef SOMGD_GetContainingFrame
    #if (defined(_GetContainingFrame) || defined(__GetContainingFrame))
        #undef _GetContainingFrame
        #undef __GetContainingFrame
        #define SOMGD_GetContainingFrame 1
    #else
        #define _GetContainingFrame ODFrame_GetContainingFrame
    #endif /* _GetContainingFrame */
#endif /* SOMGD_GetContainingFrame */

/*
 * New Method: SetContainingFrame
 */
typedef void   (SOMLINK * somTD_ODFrame_SetContainingFrame)(ODFrame *somSelf, Environment *ev,
		ODFrame* frame);
#define somMD_ODFrame_SetContainingFrame "::ODFrame::SetContainingFrame"
#define ODFrame_SetContainingFrame(somSelf,ev,frame) \
    (SOM_Resolve(somSelf, ODFrame, SetContainingFrame) \
	(somSelf,ev,frame))
#ifndef SOMGD_SetContainingFrame
    #if (defined(_SetContainingFrame) || defined(__SetContainingFrame))
        #undef _SetContainingFrame
        #undef __SetContainingFrame
        #define SOMGD_SetContainingFrame 1
    #else
        #define _SetContainingFrame ODFrame_SetContainingFrame
    #endif /* _SetContainingFrame */
#endif /* SOMGD_SetContainingFrame */

/*
 * New Method: GetWindow
 */
typedef ODWindow*   (SOMLINK * somTD_ODFrame_GetWindow)(ODFrame *somSelf, Environment *ev);
#define somMD_ODFrame_GetWindow "::ODFrame::GetWindow"
#define ODFrame_GetWindow(somSelf,ev) \
    (SOM_Resolve(somSelf, ODFrame, GetWindow) \
	(somSelf,ev))
#ifndef SOMGD_GetWindow
    #if (defined(_GetWindow) || defined(__GetWindow))
        #undef _GetWindow
        #undef __GetWindow
        #define SOMGD_GetWindow 1
    #else
        #define _GetWindow ODFrame_GetWindow
    #endif /* _GetWindow */
#endif /* SOMGD_GetWindow */

/*
 * New Method: SetWindow
 */
typedef void   (SOMLINK * somTD_ODFrame_SetWindow)(ODFrame *somSelf, Environment *ev,
		ODWindow* window);
#define somMD_ODFrame_SetWindow "::ODFrame::SetWindow"
#define ODFrame_SetWindow(somSelf,ev,window) \
    (SOM_Resolve(somSelf, ODFrame, SetWindow) \
	(somSelf,ev,window))
#ifndef SOMGD_SetWindow
    #if (defined(_SetWindow) || defined(__SetWindow))
        #undef _SetWindow
        #undef __SetWindow
        #define SOMGD_SetWindow 1
    #else
        #define _SetWindow ODFrame_SetWindow
    #endif /* _SetWindow */
#endif /* SOMGD_SetWindow */

/*
 * New Method: GetFrameGroup
 */
typedef ODULong   (SOMLINK * somTD_ODFrame_GetFrameGroup)(ODFrame *somSelf, Environment *ev);
#define somMD_ODFrame_GetFrameGroup "::ODFrame::GetFrameGroup"
#define ODFrame_GetFrameGroup(somSelf,ev) \
    (SOM_Resolve(somSelf, ODFrame, GetFrameGroup) \
	(somSelf,ev))
#ifndef SOMGD_GetFrameGroup
    #if (defined(_GetFrameGroup) || defined(__GetFrameGroup))
        #undef _GetFrameGroup
        #undef __GetFrameGroup
        #define SOMGD_GetFrameGroup 1
    #else
        #define _GetFrameGroup ODFrame_GetFrameGroup
    #endif /* _GetFrameGroup */
#endif /* SOMGD_GetFrameGroup */

/*
 * New Method: SetFrameGroup
 */
typedef void   (SOMLINK * somTD_ODFrame_SetFrameGroup)(ODFrame *somSelf, Environment *ev,
		ODULong groupID);
#define somMD_ODFrame_SetFrameGroup "::ODFrame::SetFrameGroup"
#define ODFrame_SetFrameGroup(somSelf,ev,groupID) \
    (SOM_Resolve(somSelf, ODFrame, SetFrameGroup) \
	(somSelf,ev,groupID))
#ifndef SOMGD_SetFrameGroup
    #if (defined(_SetFrameGroup) || defined(__SetFrameGroup))
        #undef _SetFrameGroup
        #undef __SetFrameGroup
        #define SOMGD_SetFrameGroup 1
    #else
        #define _SetFrameGroup ODFrame_SetFrameGroup
    #endif /* _SetFrameGroup */
#endif /* SOMGD_SetFrameGroup */

/*
 * New Method: GetSequenceNumber
 */
typedef ODULong   (SOMLINK * somTD_ODFrame_GetSequenceNumber)(ODFrame *somSelf, Environment *ev);
#define somMD_ODFrame_GetSequenceNumber "::ODFrame::GetSequenceNumber"
#define ODFrame_GetSequenceNumber(somSelf,ev) \
    (SOM_Resolve(somSelf, ODFrame, GetSequenceNumber) \
	(somSelf,ev))
#ifndef SOMGD_GetSequenceNumber
    #if (defined(_GetSequenceNumber) || defined(__GetSequenceNumber))
        #undef _GetSequenceNumber
        #undef __GetSequenceNumber
        #define SOMGD_GetSequenceNumber 1
    #else
        #define _GetSequenceNumber ODFrame_GetSequenceNumber
    #endif /* _GetSequenceNumber */
#endif /* SOMGD_GetSequenceNumber */

/*
 * New Method: SetSequenceNumber
 */
typedef void   (SOMLINK * somTD_ODFrame_SetSequenceNumber)(ODFrame *somSelf, Environment *ev,
		ODULong sequenceNumber);
#define somMD_ODFrame_SetSequenceNumber "::ODFrame::SetSequenceNumber"
#define ODFrame_SetSequenceNumber(somSelf,ev,sequenceNumber) \
    (SOM_Resolve(somSelf, ODFrame, SetSequenceNumber) \
	(somSelf,ev,sequenceNumber))
#ifndef SOMGD_SetSequenceNumber
    #if (defined(_SetSequenceNumber) || defined(__SetSequenceNumber))
        #undef _SetSequenceNumber
        #undef __SetSequenceNumber
        #define SOMGD_SetSequenceNumber 1
    #else
        #define _SetSequenceNumber ODFrame_SetSequenceNumber
    #endif /* _SetSequenceNumber */
#endif /* SOMGD_SetSequenceNumber */

/*
 * New Method: IsRoot
 */
typedef ODBoolean   (SOMLINK * somTD_ODFrame_IsRoot)(ODFrame *somSelf, Environment *ev);
#define somMD_ODFrame_IsRoot "::ODFrame::IsRoot"
#define ODFrame_IsRoot(somSelf,ev) \
    (SOM_Resolve(somSelf, ODFrame, IsRoot) \
	(somSelf,ev))
#ifndef SOMGD_IsRoot
    #if (defined(_IsRoot) || defined(__IsRoot))
        #undef _IsRoot
        #undef __IsRoot
        #define SOMGD_IsRoot 1
    #else
        #define _IsRoot ODFrame_IsRoot
    #endif /* _IsRoot */
#endif /* SOMGD_IsRoot */

/*
 * New Method: IsSubframe
 */
typedef ODBoolean   (SOMLINK * somTD_ODFrame_IsSubframe)(ODFrame *somSelf, Environment *ev);
#define somMD_ODFrame_IsSubframe "::ODFrame::IsSubframe"
#define ODFrame_IsSubframe(somSelf,ev) \
    (SOM_Resolve(somSelf, ODFrame, IsSubframe) \
	(somSelf,ev))
#ifndef SOMGD_IsSubframe
    #if (defined(_IsSubframe) || defined(__IsSubframe))
        #undef _IsSubframe
        #undef __IsSubframe
        #define SOMGD_IsSubframe 1
    #else
        #define _IsSubframe ODFrame_IsSubframe
    #endif /* _IsSubframe */
#endif /* SOMGD_IsSubframe */

/*
 * New Method: SetSubframe
 */
typedef void   (SOMLINK * somTD_ODFrame_SetSubframe)(ODFrame *somSelf, Environment *ev,
		ODBoolean isSubframe);
#define somMD_ODFrame_SetSubframe "::ODFrame::SetSubframe"
#define ODFrame_SetSubframe(somSelf,ev,isSubframe) \
    (SOM_Resolve(somSelf, ODFrame, SetSubframe) \
	(somSelf,ev,isSubframe))
#ifndef SOMGD_SetSubframe
    #if (defined(_SetSubframe) || defined(__SetSubframe))
        #undef _SetSubframe
        #undef __SetSubframe
        #define SOMGD_SetSubframe 1
    #else
        #define _SetSubframe ODFrame_SetSubframe
    #endif /* _SetSubframe */
#endif /* SOMGD_SetSubframe */

/*
 * New Method: IsOverlaid
 */
typedef ODBoolean   (SOMLINK * somTD_ODFrame_IsOverlaid)(ODFrame *somSelf, Environment *ev);
#define somMD_ODFrame_IsOverlaid "::ODFrame::IsOverlaid"
#define ODFrame_IsOverlaid(somSelf,ev) \
    (SOM_Resolve(somSelf, ODFrame, IsOverlaid) \
	(somSelf,ev))
#ifndef SOMGD_IsOverlaid
    #if (defined(_IsOverlaid) || defined(__IsOverlaid))
        #undef _IsOverlaid
        #undef __IsOverlaid
        #define SOMGD_IsOverlaid 1
    #else
        #define _IsOverlaid ODFrame_IsOverlaid
    #endif /* _IsOverlaid */
#endif /* SOMGD_IsOverlaid */

/*
 * New Method: IsFrozen
 */
typedef ODBoolean   (SOMLINK * somTD_ODFrame_IsFrozen)(ODFrame *somSelf, Environment *ev);
#define somMD_ODFrame_IsFrozen "::ODFrame::IsFrozen"
#define ODFrame_IsFrozen(somSelf,ev) \
    (SOM_Resolve(somSelf, ODFrame, IsFrozen) \
	(somSelf,ev))
#ifndef SOMGD_IsFrozen
    #if (defined(_IsFrozen) || defined(__IsFrozen))
        #undef _IsFrozen
        #undef __IsFrozen
        #define SOMGD_IsFrozen 1
    #else
        #define _IsFrozen ODFrame_IsFrozen
    #endif /* _IsFrozen */
#endif /* SOMGD_IsFrozen */

/*
 * New Method: SetFrozen
 */
typedef void   (SOMLINK * somTD_ODFrame_SetFrozen)(ODFrame *somSelf, Environment *ev,
		ODBoolean isFrozen);
#define somMD_ODFrame_SetFrozen "::ODFrame::SetFrozen"
#define ODFrame_SetFrozen(somSelf,ev,isFrozen) \
    (SOM_Resolve(somSelf, ODFrame, SetFrozen) \
	(somSelf,ev,isFrozen))
#ifndef SOMGD_SetFrozen
    #if (defined(_SetFrozen) || defined(__SetFrozen))
        #undef _SetFrozen
        #undef __SetFrozen
        #define SOMGD_SetFrozen 1
    #else
        #define _SetFrozen ODFrame_SetFrozen
    #endif /* _SetFrozen */
#endif /* SOMGD_SetFrozen */

/*
 * New Method: DoesPropagateEvents
 */
typedef ODBoolean   (SOMLINK * somTD_ODFrame_DoesPropagateEvents)(ODFrame *somSelf, Environment *ev);
#define somMD_ODFrame_DoesPropagateEvents "::ODFrame::DoesPropagateEvents"
#define ODFrame_DoesPropagateEvents(somSelf,ev) \
    (SOM_Resolve(somSelf, ODFrame, DoesPropagateEvents) \
	(somSelf,ev))
#ifndef SOMGD_DoesPropagateEvents
    #if (defined(_DoesPropagateEvents) || defined(__DoesPropagateEvents))
        #undef _DoesPropagateEvents
        #undef __DoesPropagateEvents
        #define SOMGD_DoesPropagateEvents 1
    #else
        #define _DoesPropagateEvents ODFrame_DoesPropagateEvents
    #endif /* _DoesPropagateEvents */
#endif /* SOMGD_DoesPropagateEvents */

/*
 * New Method: SetPropagateEvents
 */
typedef void   (SOMLINK * somTD_ODFrame_SetPropagateEvents)(ODFrame *somSelf, Environment *ev,
		ODBoolean doesPropagateEvents);
#define somMD_ODFrame_SetPropagateEvents "::ODFrame::SetPropagateEvents"
#define ODFrame_SetPropagateEvents(somSelf,ev,doesPropagateEvents) \
    (SOM_Resolve(somSelf, ODFrame, SetPropagateEvents) \
	(somSelf,ev,doesPropagateEvents))
#ifndef SOMGD_SetPropagateEvents
    #if (defined(_SetPropagateEvents) || defined(__SetPropagateEvents))
        #undef _SetPropagateEvents
        #undef __SetPropagateEvents
        #define SOMGD_SetPropagateEvents 1
    #else
        #define _SetPropagateEvents ODFrame_SetPropagateEvents
    #endif /* _SetPropagateEvents */
#endif /* SOMGD_SetPropagateEvents */

/*
 * New Method: GetPart
 */
typedef ODPart*   (SOMLINK * somTD_ODFrame_GetPart)(ODFrame *somSelf, Environment *ev);
#define somMD_ODFrame_GetPart "::ODFrame::GetPart"
#define ODFrame_GetPart(somSelf,ev) \
    (SOM_Resolve(somSelf, ODFrame, GetPart) \
	(somSelf,ev))
#ifndef SOMGD_GetPart
    #if (defined(_GetPart) || defined(__GetPart))
        #undef _GetPart
        #undef __GetPart
        #define SOMGD_GetPart 1
    #else
        #define _GetPart ODFrame_GetPart
    #endif /* _GetPart */
#endif /* SOMGD_GetPart */

/*
 * New Method: ChangePart
 */
typedef void   (SOMLINK * somTD_ODFrame_ChangePart)(ODFrame *somSelf, Environment *ev,
		ODPart* part);
#define somMD_ODFrame_ChangePart "::ODFrame::ChangePart"
#define ODFrame_ChangePart(somSelf,ev,part) \
    (SOM_Resolve(somSelf, ODFrame, ChangePart) \
	(somSelf,ev,part))
#ifndef SOMGD_ChangePart
    #if (defined(_ChangePart) || defined(__ChangePart))
        #undef _ChangePart
        #undef __ChangePart
        #define SOMGD_ChangePart 1
    #else
        #define _ChangePart ODFrame_ChangePart
    #endif /* _ChangePart */
#endif /* SOMGD_ChangePart */

/*
 * New Method: GetPartInfo
 */
typedef ODInfoType   (SOMLINK * somTD_ODFrame_GetPartInfo)(ODFrame *somSelf, Environment *ev);
#define somMD_ODFrame_GetPartInfo "::ODFrame::GetPartInfo"
#define ODFrame_GetPartInfo(somSelf,ev) \
    (SOM_Resolve(somSelf, ODFrame, GetPartInfo) \
	(somSelf,ev))
#ifndef SOMGD_GetPartInfo
    #if (defined(_GetPartInfo) || defined(__GetPartInfo))
        #undef _GetPartInfo
        #undef __GetPartInfo
        #define SOMGD_GetPartInfo 1
    #else
        #define _GetPartInfo ODFrame_GetPartInfo
    #endif /* _GetPartInfo */
#endif /* SOMGD_GetPartInfo */

/*
 * New Method: SetPartInfo
 */
typedef void   (SOMLINK * somTD_ODFrame_SetPartInfo)(ODFrame *somSelf, Environment *ev,
		ODInfoType partInfo);
#define somMD_ODFrame_SetPartInfo "::ODFrame::SetPartInfo"
#define ODFrame_SetPartInfo(somSelf,ev,partInfo) \
    (SOM_Resolve(somSelf, ODFrame, SetPartInfo) \
	(somSelf,ev,partInfo))
#ifndef SOMGD_SetPartInfo
    #if (defined(_SetPartInfo) || defined(__SetPartInfo))
        #undef _SetPartInfo
        #undef __SetPartInfo
        #define SOMGD_SetPartInfo 1
    #else
        #define _SetPartInfo ODFrame_SetPartInfo
    #endif /* _SetPartInfo */
#endif /* SOMGD_SetPartInfo */

/*
 * New Method: GetViewType
 */
typedef ODTypeToken   (SOMLINK * somTD_ODFrame_GetViewType)(ODFrame *somSelf, Environment *ev);
#define somMD_ODFrame_GetViewType "::ODFrame::GetViewType"
#define ODFrame_GetViewType(somSelf,ev) \
    (SOM_Resolve(somSelf, ODFrame, GetViewType) \
	(somSelf,ev))
#ifndef SOMGD_GetViewType
    #if (defined(_GetViewType) || defined(__GetViewType))
        #undef _GetViewType
        #undef __GetViewType
        #define SOMGD_GetViewType 1
    #else
        #define _GetViewType ODFrame_GetViewType
    #endif /* _GetViewType */
#endif /* SOMGD_GetViewType */

/*
 * New Method: SetViewType
 */
typedef void   (SOMLINK * somTD_ODFrame_SetViewType)(ODFrame *somSelf, Environment *ev,
		ODTypeToken viewType);
#define somMD_ODFrame_SetViewType "::ODFrame::SetViewType"
#define ODFrame_SetViewType(somSelf,ev,viewType) \
    (SOM_Resolve(somSelf, ODFrame, SetViewType) \
	(somSelf,ev,viewType))
#ifndef SOMGD_SetViewType
    #if (defined(_SetViewType) || defined(__SetViewType))
        #undef _SetViewType
        #undef __SetViewType
        #define SOMGD_SetViewType 1
    #else
        #define _SetViewType ODFrame_SetViewType
    #endif /* _SetViewType */
#endif /* SOMGD_SetViewType */

/*
 * New Method: ChangeViewType
 */
typedef void   (SOMLINK * somTD_ODFrame_ChangeViewType)(ODFrame *somSelf, Environment *ev,
		ODTypeToken viewType);
#define somMD_ODFrame_ChangeViewType "::ODFrame::ChangeViewType"
#define ODFrame_ChangeViewType(somSelf,ev,viewType) \
    (SOM_Resolve(somSelf, ODFrame, ChangeViewType) \
	(somSelf,ev,viewType))
#ifndef SOMGD_ChangeViewType
    #if (defined(_ChangeViewType) || defined(__ChangeViewType))
        #undef _ChangeViewType
        #undef __ChangeViewType
        #define SOMGD_ChangeViewType 1
    #else
        #define _ChangeViewType ODFrame_ChangeViewType
    #endif /* _ChangeViewType */
#endif /* SOMGD_ChangeViewType */

/*
 * New Method: GetPresentation
 */
typedef ODTypeToken   (SOMLINK * somTD_ODFrame_GetPresentation)(ODFrame *somSelf, Environment *ev);
#define somMD_ODFrame_GetPresentation "::ODFrame::GetPresentation"
#define ODFrame_GetPresentation(somSelf,ev) \
    (SOM_Resolve(somSelf, ODFrame, GetPresentation) \
	(somSelf,ev))
#ifndef SOMGD_GetPresentation
    #if (defined(_GetPresentation) || defined(__GetPresentation))
        #undef _GetPresentation
        #undef __GetPresentation
        #define SOMGD_GetPresentation 1
    #else
        #define _GetPresentation ODFrame_GetPresentation
    #endif /* _GetPresentation */
#endif /* SOMGD_GetPresentation */

/*
 * New Method: SetPresentation
 */
typedef void   (SOMLINK * somTD_ODFrame_SetPresentation)(ODFrame *somSelf, Environment *ev,
		ODTypeToken presentation);
#define somMD_ODFrame_SetPresentation "::ODFrame::SetPresentation"
#define ODFrame_SetPresentation(somSelf,ev,presentation) \
    (SOM_Resolve(somSelf, ODFrame, SetPresentation) \
	(somSelf,ev,presentation))
#ifndef SOMGD_SetPresentation
    #if (defined(_SetPresentation) || defined(__SetPresentation))
        #undef _SetPresentation
        #undef __SetPresentation
        #define SOMGD_SetPresentation 1
    #else
        #define _SetPresentation ODFrame_SetPresentation
    #endif /* _SetPresentation */
#endif /* SOMGD_SetPresentation */

/*
 * New Method: ChangePresentation
 */
typedef void   (SOMLINK * somTD_ODFrame_ChangePresentation)(ODFrame *somSelf, Environment *ev,
		ODTypeToken presentation);
#define somMD_ODFrame_ChangePresentation "::ODFrame::ChangePresentation"
#define ODFrame_ChangePresentation(somSelf,ev,presentation) \
    (SOM_Resolve(somSelf, ODFrame, ChangePresentation) \
	(somSelf,ev,presentation))
#ifndef SOMGD_ChangePresentation
    #if (defined(_ChangePresentation) || defined(__ChangePresentation))
        #undef _ChangePresentation
        #undef __ChangePresentation
        #define SOMGD_ChangePresentation 1
    #else
        #define _ChangePresentation ODFrame_ChangePresentation
    #endif /* _ChangePresentation */
#endif /* SOMGD_ChangePresentation */

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

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

/*
 * New Method: CreateFacetIterator
 */
typedef ODFrameFacetIterator*   (SOMLINK * somTD_ODFrame_CreateFacetIterator)(ODFrame *somSelf, Environment *ev);
#define somMD_ODFrame_CreateFacetIterator "::ODFrame::CreateFacetIterator"
#define ODFrame_CreateFacetIterator(somSelf,ev) \
    (SOM_Resolve(somSelf, ODFrame, CreateFacetIterator) \
	(somSelf,ev))
#ifndef SOMGD_CreateFacetIterator
    #if (defined(_CreateFacetIterator) || defined(__CreateFacetIterator))
        #undef _CreateFacetIterator
        #undef __CreateFacetIterator
        #define SOMGD_CreateFacetIterator 1
    #else
        #define _CreateFacetIterator ODFrame_CreateFacetIterator
    #endif /* _CreateFacetIterator */
#endif /* SOMGD_CreateFacetIterator */

/*
 * New Method: CreateShape
 */
typedef ODShape*   (SOMLINK * somTD_ODFrame_CreateShape)(ODFrame *somSelf, Environment *ev);
#define somMD_ODFrame_CreateShape "::ODFrame::CreateShape"
#define ODFrame_CreateShape(somSelf,ev) \
    (SOM_Resolve(somSelf, ODFrame, CreateShape) \
	(somSelf,ev))
#ifndef SOMGD_CreateShape
    #if (defined(_CreateShape) || defined(__CreateShape))
        #undef _CreateShape
        #undef __CreateShape
        #define SOMGD_CreateShape 1
    #else
        #define _CreateShape ODFrame_CreateShape
    #endif /* _CreateShape */
#endif /* SOMGD_CreateShape */

/*
 * New Method: GetFrameShape
 */
typedef ODShape*   (SOMLINK * somTD_ODFrame_GetFrameShape)(ODFrame *somSelf, Environment *ev,
		ODCanvas* biasCanvas);
#define somMD_ODFrame_GetFrameShape "::ODFrame::GetFrameShape"
#define ODFrame_GetFrameShape(somSelf,ev,biasCanvas) \
    (SOM_Resolve(somSelf, ODFrame, GetFrameShape) \
	(somSelf,ev,biasCanvas))
#ifndef SOMGD_GetFrameShape
    #if (defined(_GetFrameShape) || defined(__GetFrameShape))
        #undef _GetFrameShape
        #undef __GetFrameShape
        #define SOMGD_GetFrameShape 1
    #else
        #define _GetFrameShape ODFrame_GetFrameShape
    #endif /* _GetFrameShape */
#endif /* SOMGD_GetFrameShape */

/*
 * New Method: ChangeFrameShape
 */
typedef void   (SOMLINK * somTD_ODFrame_ChangeFrameShape)(ODFrame *somSelf, Environment *ev,
		ODShape* shape,
		ODCanvas* biasCanvas);
#define somMD_ODFrame_ChangeFrameShape "::ODFrame::ChangeFrameShape"
#define ODFrame_ChangeFrameShape(somSelf,ev,shape,biasCanvas) \
    (SOM_Resolve(somSelf, ODFrame, ChangeFrameShape) \
	(somSelf,ev,shape,biasCanvas))
#ifndef SOMGD_ChangeFrameShape
    #if (defined(_ChangeFrameShape) || defined(__ChangeFrameShape))
        #undef _ChangeFrameShape
        #undef __ChangeFrameShape
        #define SOMGD_ChangeFrameShape 1
    #else
        #define _ChangeFrameShape ODFrame_ChangeFrameShape
    #endif /* _ChangeFrameShape */
#endif /* SOMGD_ChangeFrameShape */

/*
 * New Method: RequestFrameShape
 */
typedef ODShape*   (SOMLINK * somTD_ODFrame_RequestFrameShape)(ODFrame *somSelf, Environment *ev,
		ODShape* shape,
		ODCanvas* biasCanvas);
#define somMD_ODFrame_RequestFrameShape "::ODFrame::RequestFrameShape"
#define ODFrame_RequestFrameShape(somSelf,ev,shape,biasCanvas) \
    (SOM_Resolve(somSelf, ODFrame, RequestFrameShape) \
	(somSelf,ev,shape,biasCanvas))
#ifndef SOMGD_RequestFrameShape
    #if (defined(_RequestFrameShape) || defined(__RequestFrameShape))
        #undef _RequestFrameShape
        #undef __RequestFrameShape
        #define SOMGD_RequestFrameShape 1
    #else
        #define _RequestFrameShape ODFrame_RequestFrameShape
    #endif /* _RequestFrameShape */
#endif /* SOMGD_RequestFrameShape */

/*
 * New Method: GetUsedShape
 */
typedef ODShape*   (SOMLINK * somTD_ODFrame_GetUsedShape)(ODFrame *somSelf, Environment *ev,
		ODCanvas* biasCanvas);
#define somMD_ODFrame_GetUsedShape "::ODFrame::GetUsedShape"
#define ODFrame_GetUsedShape(somSelf,ev,biasCanvas) \
    (SOM_Resolve(somSelf, ODFrame, GetUsedShape) \
	(somSelf,ev,biasCanvas))
#ifndef SOMGD_GetUsedShape
    #if (defined(_GetUsedShape) || defined(__GetUsedShape))
        #undef _GetUsedShape
        #undef __GetUsedShape
        #define SOMGD_GetUsedShape 1
    #else
        #define _GetUsedShape ODFrame_GetUsedShape
    #endif /* _GetUsedShape */
#endif /* SOMGD_GetUsedShape */

/*
 * New Method: ChangeUsedShape
 */
typedef void   (SOMLINK * somTD_ODFrame_ChangeUsedShape)(ODFrame *somSelf, Environment *ev,
		ODShape* shape,
		ODCanvas* biasCanvas);
#define somMD_ODFrame_ChangeUsedShape "::ODFrame::ChangeUsedShape"
#define ODFrame_ChangeUsedShape(somSelf,ev,shape,biasCanvas) \
    (SOM_Resolve(somSelf, ODFrame, ChangeUsedShape) \
	(somSelf,ev,shape,biasCanvas))
#ifndef SOMGD_ChangeUsedShape
    #if (defined(_ChangeUsedShape) || defined(__ChangeUsedShape))
        #undef _ChangeUsedShape
        #undef __ChangeUsedShape
        #define SOMGD_ChangeUsedShape 1
    #else
        #define _ChangeUsedShape ODFrame_ChangeUsedShape
    #endif /* _ChangeUsedShape */
#endif /* SOMGD_ChangeUsedShape */

/*
 * New Method: CreateTransform
 */
typedef ODTransform*   (SOMLINK * somTD_ODFrame_CreateTransform)(ODFrame *somSelf, Environment *ev);
#define somMD_ODFrame_CreateTransform "::ODFrame::CreateTransform"
#define ODFrame_CreateTransform(somSelf,ev) \
    (SOM_Resolve(somSelf, ODFrame, CreateTransform) \
	(somSelf,ev))
#ifndef SOMGD_CreateTransform
    #if (defined(_CreateTransform) || defined(__CreateTransform))
        #undef _CreateTransform
        #undef __CreateTransform
        #define SOMGD_CreateTransform 1
    #else
        #define _CreateTransform ODFrame_CreateTransform
    #endif /* _CreateTransform */
#endif /* SOMGD_CreateTransform */

/*
 * New Method: GetInternalTransform
 */
typedef ODTransform*   (SOMLINK * somTD_ODFrame_GetInternalTransform)(ODFrame *somSelf, Environment *ev,
		ODCanvas* biasCanvas);
#define somMD_ODFrame_GetInternalTransform "::ODFrame::GetInternalTransform"
#define ODFrame_GetInternalTransform(somSelf,ev,biasCanvas) \
    (SOM_Resolve(somSelf, ODFrame, GetInternalTransform) \
	(somSelf,ev,biasCanvas))
#ifndef SOMGD_GetInternalTransform
    #if (defined(_GetInternalTransform) || defined(__GetInternalTransform))
        #undef _GetInternalTransform
        #undef __GetInternalTransform
        #define SOMGD_GetInternalTransform 1
    #else
        #define _GetInternalTransform ODFrame_GetInternalTransform
    #endif /* _GetInternalTransform */
#endif /* SOMGD_GetInternalTransform */

/*
 * New Method: ChangeInternalTransform
 */
typedef void   (SOMLINK * somTD_ODFrame_ChangeInternalTransform)(ODFrame *somSelf, Environment *ev,
		ODTransform* transform,
		ODCanvas* biasCanvas);
#define somMD_ODFrame_ChangeInternalTransform "::ODFrame::ChangeInternalTransform"
#define ODFrame_ChangeInternalTransform(somSelf,ev,transform,biasCanvas) \
    (SOM_Resolve(somSelf, ODFrame, ChangeInternalTransform) \
	(somSelf,ev,transform,biasCanvas))
#ifndef SOMGD_ChangeInternalTransform
    #if (defined(_ChangeInternalTransform) || defined(__ChangeInternalTransform))
        #undef _ChangeInternalTransform
        #undef __ChangeInternalTransform
        #define SOMGD_ChangeInternalTransform 1
    #else
        #define _ChangeInternalTransform ODFrame_ChangeInternalTransform
    #endif /* _ChangeInternalTransform */
#endif /* SOMGD_ChangeInternalTransform */

/*
 * New Method: GetContentExtent
 */
typedef ODPoint   (SOMLINK * somTD_ODFrame_GetContentExtent)(ODFrame *somSelf, Environment *ev);
#define somMD_ODFrame_GetContentExtent "::ODFrame::GetContentExtent"
#define ODFrame_GetContentExtent(somSelf,ev) \
    (SOM_Resolve(somSelf, ODFrame, GetContentExtent) \
	(somSelf,ev))
#ifndef SOMGD_GetContentExtent
    #if (defined(_GetContentExtent) || defined(__GetContentExtent))
        #undef _GetContentExtent
        #undef __GetContentExtent
        #define SOMGD_GetContentExtent 1
    #else
        #define _GetContentExtent ODFrame_GetContentExtent
    #endif /* _GetContentExtent */
#endif /* SOMGD_GetContentExtent */

/*
 * New Method: ChangeContentExtent
 */
typedef void   (SOMLINK * somTD_ODFrame_ChangeContentExtent)(ODFrame *somSelf, Environment *ev,
		ODPoint* contentExtent);
#define somMD_ODFrame_ChangeContentExtent "::ODFrame::ChangeContentExtent"
#define ODFrame_ChangeContentExtent(somSelf,ev,contentExtent) \
    (SOM_Resolve(somSelf, ODFrame, ChangeContentExtent) \
	(somSelf,ev,contentExtent))
#ifndef SOMGD_ChangeContentExtent
    #if (defined(_ChangeContentExtent) || defined(__ChangeContentExtent))
        #undef _ChangeContentExtent
        #undef __ChangeContentExtent
        #define SOMGD_ChangeContentExtent 1
    #else
        #define _ChangeContentExtent ODFrame_ChangeContentExtent
    #endif /* _ChangeContentExtent */
#endif /* SOMGD_ChangeContentExtent */

/*
 * New Method: IsDroppable
 */
typedef ODBoolean   (SOMLINK * somTD_ODFrame_IsDroppable)(ODFrame *somSelf, Environment *ev);
#define somMD_ODFrame_IsDroppable "::ODFrame::IsDroppable"
#define ODFrame_IsDroppable(somSelf,ev) \
    (SOM_Resolve(somSelf, ODFrame, IsDroppable) \
	(somSelf,ev))
#ifndef SOMGD_IsDroppable
    #if (defined(_IsDroppable) || defined(__IsDroppable))
        #undef _IsDroppable
        #undef __IsDroppable
        #define SOMGD_IsDroppable 1
    #else
        #define _IsDroppable ODFrame_IsDroppable
    #endif /* _IsDroppable */
#endif /* SOMGD_IsDroppable */

/*
 * New Method: SetDroppable
 */
typedef void   (SOMLINK * somTD_ODFrame_SetDroppable)(ODFrame *somSelf, Environment *ev,
		ODBoolean isDroppable);
#define somMD_ODFrame_SetDroppable "::ODFrame::SetDroppable"
#define ODFrame_SetDroppable(somSelf,ev,isDroppable) \
    (SOM_Resolve(somSelf, ODFrame, SetDroppable) \
	(somSelf,ev,isDroppable))
#ifndef SOMGD_SetDroppable
    #if (defined(_SetDroppable) || defined(__SetDroppable))
        #undef _SetDroppable
        #undef __SetDroppable
        #define SOMGD_SetDroppable 1
    #else
        #define _SetDroppable ODFrame_SetDroppable
    #endif /* _SetDroppable */
#endif /* SOMGD_SetDroppable */

/*
 * New Method: IsDragging
 */
typedef ODBoolean   (SOMLINK * somTD_ODFrame_IsDragging)(ODFrame *somSelf, Environment *ev);
#define somMD_ODFrame_IsDragging "::ODFrame::IsDragging"
#define ODFrame_IsDragging(somSelf,ev) \
    (SOM_Resolve(somSelf, ODFrame, IsDragging) \
	(somSelf,ev))
#ifndef SOMGD_IsDragging
    #if (defined(_IsDragging) || defined(__IsDragging))
        #undef _IsDragging
        #undef __IsDragging
        #define SOMGD_IsDragging 1
    #else
        #define _IsDragging ODFrame_IsDragging
    #endif /* _IsDragging */
#endif /* SOMGD_IsDragging */

/*
 * New Method: SetDragging
 */
typedef void   (SOMLINK * somTD_ODFrame_SetDragging)(ODFrame *somSelf, Environment *ev,
		ODBoolean isDragging);
#define somMD_ODFrame_SetDragging "::ODFrame::SetDragging"
#define ODFrame_SetDragging(somSelf,ev,isDragging) \
    (SOM_Resolve(somSelf, ODFrame, SetDragging) \
	(somSelf,ev,isDragging))
#ifndef SOMGD_SetDragging
    #if (defined(_SetDragging) || defined(__SetDragging))
        #undef _SetDragging
        #undef __SetDragging
        #define SOMGD_SetDragging 1
    #else
        #define _SetDragging ODFrame_SetDragging
    #endif /* _SetDragging */
#endif /* SOMGD_SetDragging */

/*
 * New Method: ContentChanged
 */
typedef void   (SOMLINK * somTD_ODFrame_ContentChanged)(ODFrame *somSelf, Environment *ev,
		ODChangeID change);
#define somMD_ODFrame_ContentChanged "::ODFrame::ContentChanged"
#define ODFrame_ContentChanged(somSelf,ev,change) \
    (SOM_Resolve(somSelf, ODFrame, ContentChanged) \
	(somSelf,ev,change))
#ifndef SOMGD_ContentChanged
    #if (defined(_ContentChanged) || defined(__ContentChanged))
        #undef _ContentChanged
        #undef __ContentChanged
        #define SOMGD_ContentChanged 1
    #else
        #define _ContentChanged ODFrame_ContentChanged
    #endif /* _ContentChanged */
#endif /* SOMGD_ContentChanged */

/*
 * New Method: ChangeLinkStatus
 */
typedef void   (SOMLINK * somTD_ODFrame_ChangeLinkStatus)(ODFrame *somSelf, Environment *ev,
		ODLinkStatus status);
#define somMD_ODFrame_ChangeLinkStatus "::ODFrame::ChangeLinkStatus"
#define ODFrame_ChangeLinkStatus(somSelf,ev,status) \
    (SOM_Resolve(somSelf, ODFrame, ChangeLinkStatus) \
	(somSelf,ev,status))
#ifndef SOMGD_ChangeLinkStatus
    #if (defined(_ChangeLinkStatus) || defined(__ChangeLinkStatus))
        #undef _ChangeLinkStatus
        #undef __ChangeLinkStatus
        #define SOMGD_ChangeLinkStatus 1
    #else
        #define _ChangeLinkStatus ODFrame_ChangeLinkStatus
    #endif /* _ChangeLinkStatus */
#endif /* SOMGD_ChangeLinkStatus */

/*
 * New Method: GetLinkStatus
 */
typedef ODLinkStatus   (SOMLINK * somTD_ODFrame_GetLinkStatus)(ODFrame *somSelf, Environment *ev);
#define somMD_ODFrame_GetLinkStatus "::ODFrame::GetLinkStatus"
#define ODFrame_GetLinkStatus(somSelf,ev) \
    (SOM_Resolve(somSelf, ODFrame, GetLinkStatus) \
	(somSelf,ev))
#ifndef SOMGD_GetLinkStatus
    #if (defined(_GetLinkStatus) || defined(__GetLinkStatus))
        #undef _GetLinkStatus
        #undef __GetLinkStatus
        #define SOMGD_GetLinkStatus 1
    #else
        #define _GetLinkStatus ODFrame_GetLinkStatus
    #endif /* _GetLinkStatus */
#endif /* SOMGD_GetLinkStatus */

/*
 * New Method: Invalidate
 */
typedef void   (SOMLINK * somTD_ODFrame_Invalidate)(ODFrame *somSelf, Environment *ev,
		ODShape* invalidShape,
		ODCanvas* biasCanvas);
#define somMD_ODFrame_Invalidate "::ODFrame::Invalidate"
#define ODFrame_Invalidate(somSelf,ev,invalidShape,biasCanvas) \
    (SOM_Resolve(somSelf, ODFrame, Invalidate) \
	(somSelf,ev,invalidShape,biasCanvas))
#ifndef SOMGD_Invalidate
    #if (defined(_Invalidate) || defined(__Invalidate))
        #undef _Invalidate
        #undef __Invalidate
        #define SOMGD_Invalidate 1
    #else
        #define _Invalidate ODFrame_Invalidate
    #endif /* _Invalidate */
#endif /* SOMGD_Invalidate */

/*
 * New Method: Validate
 */
typedef void   (SOMLINK * somTD_ODFrame_Validate)(ODFrame *somSelf, Environment *ev,
		ODShape* validShape,
		ODCanvas* biasCanvas);
#define somMD_ODFrame_Validate "::ODFrame::Validate"
#define ODFrame_Validate(somSelf,ev,validShape,biasCanvas) \
    (SOM_Resolve(somSelf, ODFrame, Validate) \
	(somSelf,ev,validShape,biasCanvas))
#ifndef SOMGD_Validate
    #if (defined(_Validate) || defined(__Validate))
        #undef _Validate
        #undef __Validate
        #define SOMGD_Validate 1
    #else
        #define _Validate ODFrame_Validate
    #endif /* _Validate */
#endif /* SOMGD_Validate */

/*
 * New Method: InvalidateActiveBorder
 */
typedef void   (SOMLINK * somTD_ODFrame_InvalidateActiveBorder)(ODFrame *somSelf, Environment *ev);
#define somMD_ODFrame_InvalidateActiveBorder "::ODFrame::InvalidateActiveBorder"
#define ODFrame_InvalidateActiveBorder(somSelf,ev) \
    (SOM_Resolve(somSelf, ODFrame, InvalidateActiveBorder) \
	(somSelf,ev))
#ifndef SOMGD_InvalidateActiveBorder
    #if (defined(_InvalidateActiveBorder) || defined(__InvalidateActiveBorder))
        #undef _InvalidateActiveBorder
        #undef __InvalidateActiveBorder
        #define SOMGD_InvalidateActiveBorder 1
    #else
        #define _InvalidateActiveBorder ODFrame_InvalidateActiveBorder
    #endif /* _InvalidateActiveBorder */
#endif /* SOMGD_InvalidateActiveBorder */

/*
 * New Method: DrawActiveBorder
 */
typedef void   (SOMLINK * somTD_ODFrame_DrawActiveBorder)(ODFrame *somSelf, Environment *ev);
#define somMD_ODFrame_DrawActiveBorder "::ODFrame::DrawActiveBorder"
#define ODFrame_DrawActiveBorder(somSelf,ev) \
    (SOM_Resolve(somSelf, ODFrame, DrawActiveBorder) \
	(somSelf,ev))
#ifndef SOMGD_DrawActiveBorder
    #if (defined(_DrawActiveBorder) || defined(__DrawActiveBorder))
        #undef _DrawActiveBorder
        #undef __DrawActiveBorder
        #define SOMGD_DrawActiveBorder 1
    #else
        #define _DrawActiveBorder ODFrame_DrawActiveBorder
    #endif /* _DrawActiveBorder */
#endif /* SOMGD_DrawActiveBorder */

/*
 * New Method: Close
 */
typedef void   (SOMLINK * somTD_ODFrame_Close)(ODFrame *somSelf, Environment *ev);
#define somMD_ODFrame_Close "::ODFrame::Close"
#define ODFrame_Close(somSelf,ev) \
    (SOM_Resolve(somSelf, ODFrame, Close) \
	(somSelf,ev))
#ifndef SOMGD_Close
    #if (defined(_Close) || defined(__Close))
        #undef _Close
        #undef __Close
        #define SOMGD_Close 1
    #else
        #define _Close ODFrame_Close
    #endif /* _Close */
#endif /* SOMGD_Close */

/*
 * New Method: Remove
 */
typedef void   (SOMLINK * somTD_ODFrame_Remove)(ODFrame *somSelf, Environment *ev);
#define somMD_ODFrame_Remove "::ODFrame::Remove"
#define ODFrame_Remove(somSelf,ev) \
    (SOM_Resolve(somSelf, ODFrame, Remove) \
	(somSelf,ev))
#ifndef SOMGD_Remove
    #if (defined(_Remove) || defined(__Remove))
        #undef _Remove
        #undef __Remove
        #define SOMGD_Remove 1
    #else
        #define _Remove ODFrame_Remove
    #endif /* _Remove */
#endif /* SOMGD_Remove */

/*
 * New Method: GetFacets
 */
typedef OrderedCollection*   (SOMLINK * somTD_ODFrame_GetFacets)(ODFrame *somSelf, Environment *ev);
#define somMD_ODFrame_GetFacets "::ODFrame::GetFacets"
#define ODFrame_GetFacets(somSelf,ev) \
    (SOM_Resolve(somSelf, ODFrame, GetFacets) \
	(somSelf,ev))
#ifndef SOMGD_GetFacets
    #if (defined(_GetFacets) || defined(__GetFacets))
        #undef _GetFacets
        #undef __GetFacets
        #define SOMGD_GetFacets 1
    #else
        #define _GetFacets ODFrame_GetFacets
    #endif /* _GetFacets */
#endif /* SOMGD_GetFacets */

/*
 * New Method: CommonInitFrame
 */
typedef void   (SOMLINK * somTD_ODFrame_CommonInitFrame)(ODFrame *somSelf, Environment *ev);
#define somMD_ODFrame_CommonInitFrame "::ODFrame::CommonInitFrame"
#define ODFrame_CommonInitFrame(somSelf,ev) \
    (SOM_Resolve(somSelf, ODFrame, CommonInitFrame) \
	(somSelf,ev))
#ifndef SOMGD_CommonInitFrame
    #if (defined(_CommonInitFrame) || defined(__CommonInitFrame))
        #undef _CommonInitFrame
        #undef __CommonInitFrame
        #define SOMGD_CommonInitFrame 1
    #else
        #define _CommonInitFrame ODFrame_CommonInitFrame
    #endif /* _CommonInitFrame */
#endif /* SOMGD_CommonInitFrame */

/*
 * New Method: InitFrame
 */
typedef void   (SOMLINK * somTD_ODFrame_InitFrame)(ODFrame *somSelf, Environment *ev,
		ODStorageUnit* storageUnit,
		ODFrame* containingFrame,
		ODShape* frameShape,
		ODCanvas* biasCanvas,
		ODPart* part,
		ODTypeToken viewType,
		ODTypeToken presentation,
		ODBoolean isRoot,
		ODBoolean isOverlaid);
#define somMD_ODFrame_InitFrame "::ODFrame::InitFrame"
#define ODFrame_InitFrame(somSelf,ev,storageUnit,containingFrame,frameShape,biasCanvas,part,viewType,presentation,isRoot,isOverlaid) \
    (SOM_Resolve(somSelf, ODFrame, InitFrame) \
	(somSelf,ev,storageUnit,containingFrame,frameShape,biasCanvas,part,viewType,presentation,isRoot,isOverlaid))
#ifndef SOMGD_InitFrame
    #if (defined(_InitFrame) || defined(__InitFrame))
        #undef _InitFrame
        #undef __InitFrame
        #define SOMGD_InitFrame 1
    #else
        #define _InitFrame ODFrame_InitFrame
    #endif /* _InitFrame */
#endif /* SOMGD_InitFrame */

/*
 * New Method: InitFrameFromStorage
 */
typedef void   (SOMLINK * somTD_ODFrame_InitFrameFromStorage)(ODFrame *somSelf, Environment *ev,
		ODStorageUnit* storageUnit);
#define somMD_ODFrame_InitFrameFromStorage "::ODFrame::InitFrameFromStorage"
#define ODFrame_InitFrameFromStorage(somSelf,ev,storageUnit) \
    (SOM_Resolve(somSelf, ODFrame, InitFrameFromStorage) \
	(somSelf,ev,storageUnit))
#ifndef SOMGD_InitFrameFromStorage
    #if (defined(_InitFrameFromStorage) || defined(__InitFrameFromStorage))
        #undef _InitFrameFromStorage
        #undef __InitFrameFromStorage
        #define SOMGD_InitFrameFromStorage 1
    #else
        #define _InitFrameFromStorage ODFrame_InitFrameFromStorage
    #endif /* _InitFrameFromStorage */
#endif /* SOMGD_InitFrameFromStorage */

/*
 * New Method: InitFrameNonPersistent
 */
typedef void   (SOMLINK * somTD_ODFrame_InitFrameNonPersistent)(ODFrame *somSelf, Environment *ev,
		ODDraft* draft,
		ODID id,
		ODFrame* containingFrame,
		ODShape* frameShape,
		ODCanvas* biasCanvas,
		ODPart* part,
		ODTypeToken viewType,
		ODTypeToken presentation,
		ODBoolean isRoot,
		ODBoolean isOverlaid);
#define somMD_ODFrame_InitFrameNonPersistent "::ODFrame::InitFrameNonPersistent"
#define ODFrame_InitFrameNonPersistent(somSelf,ev,draft,id,containingFrame,frameShape,biasCanvas,part,viewType,presentation,isRoot,isOverlaid) \
    (SOM_Resolve(somSelf, ODFrame, InitFrameNonPersistent) \
	(somSelf,ev,draft,id,containingFrame,frameShape,biasCanvas,part,viewType,presentation,isRoot,isOverlaid))
#ifndef SOMGD_InitFrameNonPersistent
    #if (defined(_InitFrameNonPersistent) || defined(__InitFrameNonPersistent))
        #undef _InitFrameNonPersistent
        #undef __InitFrameNonPersistent
        #define SOMGD_InitFrameNonPersistent 1
    #else
        #define _InitFrameNonPersistent ODFrame_InitFrameNonPersistent
    #endif /* _InitFrameNonPersistent */
#endif /* SOMGD_InitFrameNonPersistent */
#ifndef SOM_DONT_USE_INHERITED_MACROS
#define ODFrame_InitPersistentObject ODPersistentObject_InitPersistentObject
#define ODFrame_InitPersistentObjectFromStorage ODPersistentObject_InitPersistentObjectFromStorage
#define ODFrame_GetStorageUnit ODPersistentObject_GetStorageUnit
#define ODFrame_InitRefCntObject ODRefCntObject_InitRefCntObject
#define ODFrame_IncrementRefCount ODRefCntObject_IncrementRefCount
#define ODFrame_GetRefCount ODRefCntObject_GetRefCount
#define ODFrame_InitObject ODObject_InitObject
#define ODFrame_IsInitialized ODObject_IsInitialized
#define ODFrame_HasExtension ODObject_HasExtension
#define ODFrame_GetExtension ODObject_GetExtension
#define ODFrame_ReleaseExtension ODObject_ReleaseExtension
#define ODFrame_IsEqualTo ODObject_IsEqualTo
#define ODFrame_SubClassResponsibility ODObject_SubClassResponsibility
#define ODFrame_somDefaultInit SOMObject_somDefaultInit
#define ODFrame_somDestruct SOMObject_somDestruct
#define ODFrame_somDefaultCopyInit SOMObject_somDefaultCopyInit
#define ODFrame_somDefaultAssign SOMObject_somDefaultAssign
#define ODFrame_somDefaultConstCopyInit SOMObject_somDefaultConstCopyInit
#define ODFrame_somDefaultVCopyInit SOMObject_somDefaultVCopyInit
#define ODFrame_somDefaultConstVCopyInit SOMObject_somDefaultConstVCopyInit
#define ODFrame_somDefaultConstAssign SOMObject_somDefaultConstAssign
#define ODFrame_somDefaultVAssign SOMObject_somDefaultVAssign
#define ODFrame_somDefaultConstVAssign SOMObject_somDefaultConstVAssign
#define ODFrame_somFree SOMObject_somFree
#define ODFrame_somGetClass SOMObject_somGetClass
#define ODFrame_somGetClassName SOMObject_somGetClassName
#define ODFrame_somGetSize SOMObject_somGetSize
#define ODFrame_somIsA SOMObject_somIsA
#define ODFrame_somIsInstanceOf SOMObject_somIsInstanceOf
#define ODFrame_somRespondsTo SOMObject_somRespondsTo
#define ODFrame_somDispatch SOMObject_somDispatch
#define ODFrame_somClassDispatch SOMObject_somClassDispatch
#define ODFrame_somCastObj SOMObject_somCastObj
#define ODFrame_somResetObj SOMObject_somResetObj
#define ODFrame_somDispatchV SOMObject_somDispatchV
#define ODFrame_somDispatchL SOMObject_somDispatchL
#define ODFrame_somDispatchA SOMObject_somDispatchA
#define ODFrame_somDispatchD SOMObject_somDispatchD
#define ODFrame_somPrintSelf SOMObject_somPrintSelf
#define ODFrame_somDumpSelf SOMObject_somDumpSelf
#define ODFrame_somDumpSelfInt SOMObject_somDumpSelfInt
#endif /* SOM_DONT_USE_INHERITED_MACROS */

#endif       /* SOM_ODFrame_h */
