home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / ibmodf.zip / SIMPLPRT.ZIP / SIMPLPRT.XIH < prev   
Text File  |  1995-04-13  |  175KB  |  4,260 lines

  1.  
  2. /*
  3.  * This file was generated by the SOM Compiler.
  4.  * FileName: simplprt.xih.
  5.  * Generated using:
  6.  *     SOM Precompiler somipc: 2.29.1.2
  7.  *     SOM Emitter emitxih: 2.41
  8.  */
  9.  
  10. /*
  11.  *  Next three lines added - mcs aj
  12.  */
  13.  
  14.  
  15. /*
  16.  * -- By default, for classes declared using IDL,
  17.  * -- this emitter doesn't define redispatch/apply stubs.
  18.  * -- Instead, it requests that the SOM kernel produce them.
  19.  * -- To override this default, use the "notc" modifier.
  20.  */
  21.  
  22. #ifndef SOM_SimplePart_xih
  23. #define SOM_SimplePart_xih
  24.  
  25. #include <somcls.xh>
  26. #include <somcm.xh>
  27.  
  28. /*
  29.  * Passthru lines: File: "C.xih", "before"
  30.  */
  31. class ODxOrderedCollection;
  32.  
  33. #ifndef SOM_SimplePart_xh
  34. #include <simplprt.xh>
  35. #endif
  36.  
  37. /*
  38.  * Set the scope of methods functions
  39.  */
  40. #ifndef SOM_Scope
  41. #define SOM_Scope extern "C"
  42. #endif
  43.  
  44. #define SimplePart_MaxNoMethods 20
  45.  
  46. /*
  47.  * -- Instance Data
  48.  */
  49. typedef struct {
  50.     ODID fWindowID;
  51.     ODULong fFrameGroupIDCounter;
  52.     POINTL fDragStart;
  53.     RGBColor fDefaultColor;
  54.     ODxOrderedCollection* fContents;
  55.     ODFocusSet* fFocusSet;
  56.     ODTypeToken fSelectionFocus;
  57.     ODTypeToken fMenuFocus;
  58.     ODTypeToken fKeyFocus;
  59.     ODSemanticInterface* fSemtIntf;
  60.     ODSession* fSession;
  61.     ODStorageUnit* fTestDrawSU;
  62.     HPS hpsMem;
  63.     HDC hdcMem;
  64.     ODPoint mouseStart;
  65. } SimplePartData;
  66.  
  67. /*
  68.  * -- Getdata Macro
  69.  */
  70.  
  71. /*
  72.  * -- This emitter treats Data Tokens as Thunks by default.
  73.  * -- Use the sc modifier "nothunks" to override this default.
  74.  */
  75. typedef SimplePartData* (SOMLINK * somTD_SimplePart_DataThunk)(void*);
  76. #define SimplePartGetData(somSelf) \
  77.    (((somTD_SimplePart_DataThunk)(SimplePartCClassData.instanceDataToken))(somSelf))
  78.  
  79. /*
  80.  * -- Instance Data Access Macros for use in Method Procedures
  81.  */
  82. #ifdef VARIABLE_MACROS
  83.   #define _fWindowID (somThis->fWindowID)
  84.   #define _fFrameGroupIDCounter (somThis->fFrameGroupIDCounter)
  85.   #define _fDragStart (somThis->fDragStart)
  86.   #define _fDefaultColor (somThis->fDefaultColor)
  87.   #define _fContents (somThis->fContents)
  88.   #define _fFocusSet (somThis->fFocusSet)
  89.   #define _fSelectionFocus (somThis->fSelectionFocus)
  90.   #define _fMenuFocus (somThis->fMenuFocus)
  91.   #define _fKeyFocus (somThis->fKeyFocus)
  92.   #define _fSemtIntf (somThis->fSemtIntf)
  93.   #define _fSession (somThis->fSession)
  94.   #define _fTestDrawSU (somThis->fTestDrawSU)
  95.   #define _hpsMem (somThis->hpsMem)
  96.   #define _hdcMem (somThis->hdcMem)
  97.   #define _mouseStart (somThis->mouseStart)
  98. #endif
  99.  
  100.  
  101. /*
  102.  * -- Primary Implementation File Support
  103.  */
  104. #if (defined(SimplePart_Class_Source) || defined(SOM_Module_simplprt_Source))
  105.  
  106. /*
  107.  * Trace/Debug macro
  108.  */
  109. #ifndef SimplePartMethodDebug
  110.    #define SimplePartMethodDebug(c,m) SOMMethodDebug(c,m)
  111. #endif
  112.  
  113. /*
  114.  * -- Method Macros for use in Method Procedures
  115.  */
  116. #ifdef METHOD_MACROS
  117.   #define _FulfillPromise somSelf->FulfillPromise
  118.   #define _DropCompleted somSelf->DropCompleted
  119.   #define _DragEnter somSelf->DragEnter
  120.   #define _DragWithin somSelf->DragWithin
  121.   #define _DragLeave somSelf->DragLeave
  122.   #define _Drop somSelf->Drop
  123.   #define _ContainingPartPropertiesChanged somSelf->ContainingPartPropertiesChanged
  124.   #define _GetContainingPartProperties somSelf->GetContainingPartProperties
  125.   #define _RevealFrame somSelf->RevealFrame
  126.   #define _EmbeddedFrameSpec somSelf->EmbeddedFrameSpec
  127.   #define _CreateEmbeddedFramesIterator somSelf->CreateEmbeddedFramesIterator
  128.   #define _AddDisplayFrame somSelf->AddDisplayFrame
  129.   #define _AttachSourceFrame somSelf->AttachSourceFrame
  130.   #define _RemoveDisplayFrame somSelf->RemoveDisplayFrame
  131.   #define _CloseDisplayFrame somSelf->CloseDisplayFrame
  132.   #define _FrameShapeChanged somSelf->FrameShapeChanged
  133.   #define _ViewTypeChanged somSelf->ViewTypeChanged
  134.   #define _PresentationChanged somSelf->PresentationChanged
  135.   #define _SequenceChanged somSelf->SequenceChanged
  136.   #define _WritePartInfo somSelf->WritePartInfo
  137.   #define _ReadPartInfo somSelf->ReadPartInfo
  138.   #define _Open somSelf->Open
  139.   #define _RequestEmbeddedFrame somSelf->RequestEmbeddedFrame
  140.   #define _RemoveEmbeddedFrame somSelf->RemoveEmbeddedFrame
  141.   #define _RequestFrameShape somSelf->RequestFrameShape
  142.   #define _UsedShapeChanged somSelf->UsedShapeChanged
  143.   #define _AdjustBorderShape somSelf->AdjustBorderShape
  144.   #define _FacetAdded somSelf->FacetAdded
  145.   #define _FacetRemoved somSelf->FacetRemoved
  146.   #define _CanvasChanged somSelf->CanvasChanged
  147.   #define _GeometryChanged somSelf->GeometryChanged
  148.   #define _Draw somSelf->Draw
  149.   #define _CanvasUpdated somSelf->CanvasUpdated
  150.   #define _HighlightChanged somSelf->HighlightChanged
  151.   #define _GetPrintResolution somSelf->GetPrintResolution
  152.   #define _CreateLink somSelf->CreateLink
  153.   #define _LinkUpdated somSelf->LinkUpdated
  154.   #define _RevealLink somSelf->RevealLink
  155.   #define _EmbeddedFrameChanged somSelf->EmbeddedFrameChanged
  156.   #define _LinkStatusChanged somSelf->LinkStatusChanged
  157.   #define _BeginRelinquishFocus somSelf->BeginRelinquishFocus
  158.   #define _CommitRelinquishFocus somSelf->CommitRelinquishFocus
  159.   #define _AbortRelinquishFocus somSelf->AbortRelinquishFocus
  160.   #define _FocusAcquired somSelf->FocusAcquired
  161.   #define _FocusLost somSelf->FocusLost
  162.   #define _CloneInto somSelf->CloneInto
  163.   #define _ExternalizeKinds somSelf->ExternalizeKinds
  164.   #define _ChangeKind somSelf->ChangeKind
  165.   #define _HandleEvent somSelf->HandleEvent
  166.   #define _HandleEventInEmbedded somSelf->HandleEventInEmbedded
  167.   #define _MouseEnter somSelf->MouseEnter
  168.   #define _MouseWithin somSelf->MouseWithin
  169.   #define _MouseLeave somSelf->MouseLeave
  170.   #define _AdjustMenus somSelf->AdjustMenus
  171.   #define _CreateRootMenuBar somSelf->CreateRootMenuBar
  172.   #define _UndoAction somSelf->UndoAction
  173.   #define _RedoAction somSelf->RedoAction
  174.   #define _DisposeActionState somSelf->DisposeActionState
  175.   #define _WriteActionState somSelf->WriteActionState
  176.   #define _ReadActionState somSelf->ReadActionState
  177.   #define _InitPart somSelf->InitPart
  178.   #define _InitPartFromStorage somSelf->InitPartFromStorage
  179.   #define _InitPersistentObject somSelf->InitPersistentObject
  180.   #define _InitPersistentObjectFromStorage somSelf->InitPersistentObjectFromStorage
  181.   #define _ReleaseAll somSelf->ReleaseAll
  182.   #define _Externalize somSelf->Externalize
  183.   #define _GetStorageUnit somSelf->GetStorageUnit
  184.   #define _GetID somSelf->GetID
  185.   #define _InitRefCntObject somSelf->InitRefCntObject
  186.   #define _IncrementRefCount somSelf->IncrementRefCount
  187.   #define _Release somSelf->Release
  188.   #define _GetRefCount somSelf->GetRefCount
  189.   #define _InitObject somSelf->InitObject
  190.   #define _IsInitialized somSelf->IsInitialized
  191.   #define _HasExtension somSelf->HasExtension
  192.   #define _GetExtension somSelf->GetExtension
  193.   #define _ReleaseExtension somSelf->ReleaseExtension
  194.   #define _Purge somSelf->Purge
  195.   #define _SubClassResponsibility somSelf->SubClassResponsibility
  196.   #define _somDefaultInit somSelf->somDefaultInit
  197.   #define _somDestruct somSelf->somDestruct
  198.   #define _somDefaultCopyInit somSelf->somDefaultCopyInit
  199.   #define _somDefaultAssign somSelf->somDefaultAssign
  200.   #define _somDefaultConstCopyInit somSelf->somDefaultConstCopyInit
  201.   #define _somDefaultVCopyInit somSelf->somDefaultVCopyInit
  202.   #define _somDefaultConstVCopyInit somSelf->somDefaultConstVCopyInit
  203.   #define _somDefaultConstAssign somSelf->somDefaultConstAssign
  204.   #define _somDefaultVAssign somSelf->somDefaultVAssign
  205.   #define _somDefaultConstVAssign somSelf->somDefaultConstVAssign
  206.   #define _somInit somSelf->somInit
  207.   #define _somFree somSelf->somFree
  208.   #define _somUninit somSelf->somUninit
  209.   #define _somGetClass somSelf->somGetClass
  210.   #define _somGetClassName somSelf->somGetClassName
  211.   #define _somGetSize somSelf->somGetSize
  212.   #define _somIsA somSelf->somIsA
  213.   #define _somIsInstanceOf somSelf->somIsInstanceOf
  214.   #define _somRespondsTo somSelf->somRespondsTo
  215.   #define _somDispatch somSelf->somDispatch
  216.   #define _somClassDispatch somSelf->somClassDispatch
  217.   #define _somCastObj somSelf->somCastObj
  218.   #define _somResetObj somSelf->somResetObj
  219.   #define _somDispatchV somSelf->somDispatchV
  220.   #define _somDispatchL somSelf->somDispatchL
  221.   #define _somDispatchA somSelf->somDispatchA
  222.   #define _somDispatchD somSelf->somDispatchD
  223.   #define _somPrintSelf somSelf->somPrintSelf
  224.   #define _somDumpSelf somSelf->somDumpSelf
  225.   #define _somDumpSelfInt somSelf->somDumpSelfInt
  226.   #define _GetSemanticInterface somSelf->GetSemanticInterface
  227.   #define _CommonInitSimplePart somSelf->CommonInitSimplePart
  228.   #define _HandleMouseDown somSelf->HandleMouseDown
  229.   #define _MoveResize somSelf->MoveResize
  230.   #define _HandleMouseDownEdgeResize somSelf->HandleMouseDownEdgeResize
  231.   #define _HandleMouseDownCornerResize somSelf->HandleMouseDownCornerResize
  232.   #define _HandleKeyDown somSelf->HandleKeyDown
  233.   #define _HandleMouseMove somSelf->HandleMouseMove
  234.   #define _ActivateFrame somSelf->ActivateFrame
  235.   #define _DeActivateFrame somSelf->DeActivateFrame
  236.   #define _ActivatingWindow somSelf->ActivatingWindow
  237.   #define _DeActivatingWindow somSelf->DeActivatingWindow
  238.   #define _UserSetBGColor somSelf->UserSetBGColor
  239.   #define _SetBGColor somSelf->SetBGColor
  240.   #define _CreateWindow somSelf->CreateWindow
  241.   #define _HandleMenuEvent somSelf->HandleMenuEvent
  242.   #define _SetGrafPortOrigin somSelf->SetGrafPortOrigin
  243.   #define _GetDefaultColor somSelf->GetDefaultColor
  244.   #define _SetDefaultColor somSelf->SetDefaultColor
  245.   #define _Activate somSelf->Activate
  246.   #define _somInit somSelf->somInit
  247.   #define _somUninit somSelf->somUninit
  248.   #define _FulfillPromise somSelf->FulfillPromise
  249.   #define _DropCompleted somSelf->DropCompleted
  250.   #define _DragEnter somSelf->DragEnter
  251.   #define _DragWithin somSelf->DragWithin
  252.   #define _DragLeave somSelf->DragLeave
  253.   #define _Drop somSelf->Drop
  254.   #define _ContainingPartPropertiesChanged somSelf->ContainingPartPropertiesChanged
  255.   #define _GetContainingPartProperties somSelf->GetContainingPartProperties
  256.   #define _RevealFrame somSelf->RevealFrame
  257.   #define _EmbeddedFrameSpec somSelf->EmbeddedFrameSpec
  258.   #define _CreateEmbeddedFramesIterator somSelf->CreateEmbeddedFramesIterator
  259.   #define _AddDisplayFrame somSelf->AddDisplayFrame
  260.   #define _AttachSourceFrame somSelf->AttachSourceFrame
  261.   #define _RemoveDisplayFrame somSelf->RemoveDisplayFrame
  262.   #define _CloseDisplayFrame somSelf->CloseDisplayFrame
  263.   #define _FrameShapeChanged somSelf->FrameShapeChanged
  264.   #define _ViewTypeChanged somSelf->ViewTypeChanged
  265.   #define _PresentationChanged somSelf->PresentationChanged
  266.   #define _SequenceChanged somSelf->SequenceChanged
  267.   #define _WritePartInfo somSelf->WritePartInfo
  268.   #define _ReadPartInfo somSelf->ReadPartInfo
  269.   #define _Open somSelf->Open
  270.   #define _RequestEmbeddedFrame somSelf->RequestEmbeddedFrame
  271.   #define _RemoveEmbeddedFrame somSelf->RemoveEmbeddedFrame
  272.   #define _RequestFrameShape somSelf->RequestFrameShape
  273.   #define _UsedShapeChanged somSelf->UsedShapeChanged
  274.   #define _AdjustBorderShape somSelf->AdjustBorderShape
  275.   #define _FacetAdded somSelf->FacetAdded
  276.   #define _FacetRemoved somSelf->FacetRemoved
  277.   #define _CanvasChanged somSelf->CanvasChanged
  278.   #define _GeometryChanged somSelf->GeometryChanged
  279.   #define _Draw somSelf->Draw
  280.   #define _CanvasUpdated somSelf->CanvasUpdated
  281.   #define _HighlightChanged somSelf->HighlightChanged
  282.   #define _CreateLink somSelf->CreateLink
  283.   #define _LinkUpdated somSelf->LinkUpdated
  284.   #define _RevealLink somSelf->RevealLink
  285.   #define _EmbeddedFrameChanged somSelf->EmbeddedFrameChanged
  286.   #define _LinkStatusChanged somSelf->LinkStatusChanged
  287.   #define _BeginRelinquishFocus somSelf->BeginRelinquishFocus
  288.   #define _CommitRelinquishFocus somSelf->CommitRelinquishFocus
  289.   #define _AbortRelinquishFocus somSelf->AbortRelinquishFocus
  290.   #define _FocusAcquired somSelf->FocusAcquired
  291.   #define _FocusLost somSelf->FocusLost
  292.   #define _CloneInto somSelf->CloneInto
  293.   #define _ExternalizeKinds somSelf->ExternalizeKinds
  294.   #define _Externalize somSelf->Externalize
  295.   #define _ChangeKind somSelf->ChangeKind
  296.   #define _HandleEvent somSelf->HandleEvent
  297.   #define _HandleEventInEmbedded somSelf->HandleEventInEmbedded
  298.   #define _MouseEnter somSelf->MouseEnter
  299.   #define _MouseWithin somSelf->MouseWithin
  300.   #define _MouseLeave somSelf->MouseLeave
  301.   #define _AdjustMenus somSelf->AdjustMenus
  302.   #define _UndoAction somSelf->UndoAction
  303.   #define _RedoAction somSelf->RedoAction
  304.   #define _DisposeActionState somSelf->DisposeActionState
  305.   #define _WriteActionState somSelf->WriteActionState
  306.   #define _ReadActionState somSelf->ReadActionState
  307.   #define _InitPart somSelf->InitPart
  308.   #define _InitPartFromStorage somSelf->InitPartFromStorage
  309.   #define _Release somSelf->Release
  310. #endif
  311.  
  312.  
  313. /*
  314.  * -- The SimplePart ClassData Structure
  315.  */
  316. SOMEXTERN struct SimplePartClassDataStructure SOMDLINK SimplePartClassData = {(SOMClass *) NULL};
  317.  
  318. /*
  319.  * -- The auxiliary SimplePart ClassData structure
  320.  */
  321. SOMEXTERN struct SimplePartCClassDataStructure SOMDLINK SimplePartCClassData = {(somMethodTabs) NULL};
  322.  
  323.  
  324. /*
  325.  * -- Apply Stubs for New Methods
  326.  */
  327. static void SOMLINK somAP_SimplePartGetSemanticInterface(SimplePart *somSelf,
  328.         ODSemanticInterface* *__retVal,
  329.         somMethodProc *__methodPtr,
  330.         va_list __ap)
  331. {
  332.     somSelf = va_arg(__ap, SimplePart*);
  333.     Environment *ev = va_arg(__ap, Environment*);
  334.     SOM_IgnoreWarning(__ap);
  335.  
  336.     *__retVal = ((somTD_SimplePart_GetSemanticInterface) __methodPtr) (somSelf, ev);
  337. }
  338.  
  339. static void SOMLINK somAP_SimplePartCommonInitSimplePart(SimplePart *somSelf,
  340.         void *__retVal,
  341.         somMethodProc *__methodPtr,
  342.         va_list __ap)
  343. {
  344.     somSelf = va_arg(__ap, SimplePart*);
  345.     Environment *ev = va_arg(__ap, Environment*);
  346.     SOM_IgnoreWarning(__ap);
  347.     SOM_IgnoreWarning(__retVal);
  348.  
  349.     ((somTD_SimplePart_CommonInitSimplePart) __methodPtr) (somSelf, ev);
  350. }
  351.  
  352. static void SOMLINK somAP_SimplePartHandleMouseDown(SimplePart *somSelf,
  353.         ODBoolean *__retVal,
  354.         somMethodProc *__methodPtr,
  355.         va_list __ap)
  356. {
  357.     somSelf = va_arg(__ap, SimplePart*);
  358.     Environment *ev = va_arg(__ap, Environment*);
  359.     ODFacet* facet = va_arg(__ap, ODFacet*);
  360.     ODPoint* where = va_arg(__ap, ODPoint*);
  361.     ODEventData* event = va_arg(__ap, ODEventData*);
  362.  
  363.     *__retVal = ((somTD_SimplePart_HandleMouseDown) __methodPtr) (somSelf, ev, facet,where,event);
  364. }
  365.  
  366. static void SOMLINK somAP_SimplePartMoveResize(SimplePart *somSelf,
  367.         void *__retVal,
  368.         somMethodProc *__methodPtr,
  369.         va_list __ap)
  370. {
  371.     somSelf = va_arg(__ap, SimplePart*);
  372.     Environment *ev = va_arg(__ap, Environment*);
  373.     ODFacet* facet = va_arg(__ap, ODFacet*);
  374.     Proxy* selection = va_arg(__ap, Proxy*);
  375.     ODSLong fs = va_arg(__ap, ODSLong);
  376.     SOM_IgnoreWarning(__retVal);
  377.  
  378.     ((somTD_SimplePart_MoveResize) __methodPtr) (somSelf, ev, facet,selection,fs);
  379. }
  380.  
  381. static void SOMLINK somAP_SimplePartHandleMouseDownEdgeResize(SimplePart *somSelf,
  382.         ODBoolean *__retVal,
  383.         somMethodProc *__methodPtr,
  384.         va_list __ap)
  385. {
  386.     somSelf = va_arg(__ap, SimplePart*);
  387.     Environment *ev = va_arg(__ap, Environment*);
  388.     ODFacet* facet = va_arg(__ap, ODFacet*);
  389.     Proxy* selection = va_arg(__ap, Proxy*);
  390.     POINTL* mouse = va_arg(__ap, POINTL*);
  391.  
  392.     *__retVal = ((somTD_SimplePart_HandleMouseDownEdgeResize) __methodPtr) (somSelf, ev, facet,selection,mouse);
  393. }
  394.  
  395. static void SOMLINK somAP_SimplePartHandleMouseDownCornerResize(SimplePart *somSelf,
  396.         ODBoolean *__retVal,
  397.         somMethodProc *__methodPtr,
  398.         va_list __ap)
  399. {
  400.     somSelf = va_arg(__ap, SimplePart*);
  401.     Environment *ev = va_arg(__ap, Environment*);
  402.     ODFacet* facet = va_arg(__ap, ODFacet*);
  403.     Proxy* selection = va_arg(__ap, Proxy*);
  404.     POINTL* mouse = va_arg(__ap, POINTL*);
  405.  
  406.     *__retVal = ((somTD_SimplePart_HandleMouseDownCornerResize) __methodPtr) (somSelf, ev, facet,selection,mouse);
  407. }
  408.  
  409. static void SOMLINK somAP_SimplePartHandleKeyDown(SimplePart *somSelf,
  410.         ODBoolean *__retVal,
  411.         somMethodProc *__methodPtr,
  412.         va_list __ap)
  413. {
  414.     somSelf = va_arg(__ap, SimplePart*);
  415.     Environment *ev = va_arg(__ap, Environment*);
  416.     ODFrame* focusFrame = va_arg(__ap, ODFrame*);
  417.     ODEventData* event = va_arg(__ap, ODEventData*);
  418.  
  419.     *__retVal = ((somTD_SimplePart_HandleKeyDown) __methodPtr) (somSelf, ev, focusFrame,event);
  420. }
  421.  
  422. static void SOMLINK somAP_SimplePartHandleMouseMove(SimplePart *somSelf,
  423.         ODBoolean *__retVal,
  424.         somMethodProc *__methodPtr,
  425.         va_list __ap)
  426. {
  427.     somSelf = va_arg(__ap, SimplePart*);
  428.     Environment *ev = va_arg(__ap, Environment*);
  429.     ODFacet* facet = va_arg(__ap, ODFacet*);
  430.     ODPoint* where = va_arg(__ap, ODPoint*);
  431.     ODEventData* event = va_arg(__ap, ODEventData*);
  432.  
  433.     *__retVal = ((somTD_SimplePart_HandleMouseMove) __methodPtr) (somSelf, ev, facet,where,event);
  434. }
  435.  
  436. static void SOMLINK somAP_SimplePartActivateFrame(SimplePart *somSelf,
  437.         void *__retVal,
  438.         somMethodProc *__methodPtr,
  439.         va_list __ap)
  440. {
  441.     somSelf = va_arg(__ap, SimplePart*);
  442.     Environment *ev = va_arg(__ap, Environment*);
  443.     ODFrame* frame = va_arg(__ap, ODFrame*);
  444.     SOM_IgnoreWarning(__retVal);
  445.  
  446.     ((somTD_SimplePart_ActivateFrame) __methodPtr) (somSelf, ev, frame);
  447. }
  448.  
  449. static void SOMLINK somAP_SimplePartDeActivateFrame(SimplePart *somSelf,
  450.         void *__retVal,
  451.         somMethodProc *__methodPtr,
  452.         va_list __ap)
  453. {
  454.     somSelf = va_arg(__ap, SimplePart*);
  455.     Environment *ev = va_arg(__ap, Environment*);
  456.     ODFrame* frame = va_arg(__ap, ODFrame*);
  457.     SOM_IgnoreWarning(__retVal);
  458.  
  459.     ((somTD_SimplePart_DeActivateFrame) __methodPtr) (somSelf, ev, frame);
  460. }
  461.  
  462. static void SOMLINK somAP_SimplePartActivatingWindow(SimplePart *somSelf,
  463.         void *__retVal,
  464.         somMethodProc *__methodPtr,
  465.         va_list __ap)
  466. {
  467.     somSelf = va_arg(__ap, SimplePart*);
  468.     Environment *ev = va_arg(__ap, Environment*);
  469.     ODFrame* frame = va_arg(__ap, ODFrame*);
  470.     SOM_IgnoreWarning(__retVal);
  471.  
  472.     ((somTD_SimplePart_ActivatingWindow) __methodPtr) (somSelf, ev, frame);
  473. }
  474.  
  475. static void SOMLINK somAP_SimplePartDeActivatingWindow(SimplePart *somSelf,
  476.         void *__retVal,
  477.         somMethodProc *__methodPtr,
  478.         va_list __ap)
  479. {
  480.     somSelf = va_arg(__ap, SimplePart*);
  481.     Environment *ev = va_arg(__ap, Environment*);
  482.     ODFrame* frame = va_arg(__ap, ODFrame*);
  483.     SOM_IgnoreWarning(__retVal);
  484.  
  485.     ((somTD_SimplePart_DeActivatingWindow) __methodPtr) (somSelf, ev, frame);
  486. }
  487.  
  488. static void SOMLINK somAP_SimplePartUserSetBGColor(SimplePart *somSelf,
  489.         void *__retVal,
  490.         somMethodProc *__methodPtr,
  491.         va_list __ap)
  492. {
  493.     somSelf = va_arg(__ap, SimplePart*);
  494.     Environment *ev = va_arg(__ap, Environment*);
  495.     ODFrame* frame = va_arg(__ap, ODFrame*);
  496.     RGBColor whichColor = va_arg(__ap, RGBColor);
  497.     SOM_IgnoreWarning(__retVal);
  498.  
  499.     ((somTD_SimplePart_UserSetBGColor) __methodPtr) (somSelf, ev, frame,whichColor);
  500. }
  501.  
  502. static void SOMLINK somAP_SimplePartSetBGColor(SimplePart *somSelf,
  503.         void *__retVal,
  504.         somMethodProc *__methodPtr,
  505.         va_list __ap)
  506. {
  507.     somSelf = va_arg(__ap, SimplePart*);
  508.     Environment *ev = va_arg(__ap, Environment*);
  509.     ODFrame* aFrame = va_arg(__ap, ODFrame*);
  510.     ODUShort whichColor = va_arg(__ap, int);
  511.     SOM_IgnoreWarning(__retVal);
  512.  
  513.     ((somTD_SimplePart_SetBGColor) __methodPtr) (somSelf, ev, aFrame,whichColor);
  514. }
  515.  
  516. static void SOMLINK somAP_SimplePartCreateWindow(SimplePart *somSelf,
  517.         ODWindow* *__retVal,
  518.         somMethodProc *__methodPtr,
  519.         va_list __ap)
  520. {
  521.     somSelf = va_arg(__ap, SimplePart*);
  522.     Environment *ev = va_arg(__ap, Environment*);
  523.     ODFrame* sourceFrame = va_arg(__ap, ODFrame*);
  524.  
  525.     *__retVal = ((somTD_SimplePart_CreateWindow) __methodPtr) (somSelf, ev, sourceFrame);
  526. }
  527.  
  528. static void SOMLINK somAP_SimplePartHandleMenuEvent(SimplePart *somSelf,
  529.         ODBoolean *__retVal,
  530.         somMethodProc *__methodPtr,
  531.         va_list __ap)
  532. {
  533.     somSelf = va_arg(__ap, SimplePart*);
  534.     Environment *ev = va_arg(__ap, Environment*);
  535.     ODFrame* focusFrame = va_arg(__ap, ODFrame*);
  536.     ODEventData* event = va_arg(__ap, ODEventData*);
  537.  
  538.     *__retVal = ((somTD_SimplePart_HandleMenuEvent) __methodPtr) (somSelf, ev, focusFrame,event);
  539. }
  540.  
  541. static void SOMLINK somAP_SimplePartSetGrafPortOrigin(SimplePart *somSelf,
  542.         void *__retVal,
  543.         somMethodProc *__methodPtr,
  544.         va_list __ap)
  545. {
  546.     somSelf = va_arg(__ap, SimplePart*);
  547.     Environment *ev = va_arg(__ap, Environment*);
  548.     ODFacet* facet = va_arg(__ap, ODFacet*);
  549.     SOM_IgnoreWarning(__retVal);
  550.  
  551.     ((somTD_SimplePart_SetGrafPortOrigin) __methodPtr) (somSelf, ev, facet);
  552. }
  553.  
  554. static void SOMLINK somAP_SimplePartGetDefaultColor(SimplePart *somSelf,
  555.         RGBColor *__retVal,
  556.         somMethodProc *__methodPtr,
  557.         va_list __ap)
  558. {
  559.     somSelf = va_arg(__ap, SimplePart*);
  560.     Environment *ev = va_arg(__ap, Environment*);
  561.     SOM_IgnoreWarning(__ap);
  562.  
  563.     *__retVal = ((somTD_SimplePart_GetDefaultColor) __methodPtr) (somSelf, ev);
  564. }
  565.  
  566. static void SOMLINK somAP_SimplePartSetDefaultColor(SimplePart *somSelf,
  567.         void *__retVal,
  568.         somMethodProc *__methodPtr,
  569.         va_list __ap)
  570. {
  571.     somSelf = va_arg(__ap, SimplePart*);
  572.     Environment *ev = va_arg(__ap, Environment*);
  573.     RGBColor color = va_arg(__ap, RGBColor);
  574.     SOM_IgnoreWarning(__retVal);
  575.  
  576.     ((somTD_SimplePart_SetDefaultColor) __methodPtr) (somSelf, ev, color);
  577. }
  578.  
  579. static void SOMLINK somAP_SimplePartActivate(SimplePart *somSelf,
  580.         void *__retVal,
  581.         somMethodProc *__methodPtr,
  582.         va_list __ap)
  583. {
  584.     somSelf = va_arg(__ap, SimplePart*);
  585.     Environment *ev = va_arg(__ap, Environment*);
  586.     ODFacet* facet = va_arg(__ap, ODFacet*);
  587.     SOM_IgnoreWarning(__retVal);
  588.  
  589.     ((somTD_SimplePart_Activate) __methodPtr) (somSelf, ev, facet);
  590. }
  591.  
  592.  
  593. /*
  594.  * New Method: GetSemanticInterface
  595.  */
  596. SOM_Scope ODSemanticInterface*  SOMLINK SimplePartGetSemanticInterface(SimplePart *somSelf, Environment *ev);
  597. #ifndef somMN_GetSemanticInterface_defined
  598. #define somMN_GetSemanticInterface_defined
  599. static char *somMN_GetSemanticInterface = "GetSemanticInterface";
  600. static somId somId_GetSemanticInterface = &somMN_GetSemanticInterface;
  601. #endif  /* somMN_GetSemanticInterface_defined */
  602. #ifndef somDS_GetSemanticInterface_defined
  603. #define somDS_GetSemanticInterface_defined
  604. static char *somDS_GetSemanticInterface = "::SimplePart::GetSemanticInterface";
  605. static somId somDI_GetSemanticInterface = &somDS_GetSemanticInterface;
  606. #endif  /* somDS_GetSemanticInterface_defined */
  607. static ODSemanticInterface*  SOMLINK somRD_SimplePartGetSemanticInterface(SimplePart *somSelf, Environment *ev)
  608. {
  609.     ODSemanticInterface* __retVal;
  610.  
  611.     somSelf->somDispatch((void **)&__retVal, somId_GetSemanticInterface, somSelf , ev
  612.         );
  613.     return __retVal;
  614. }
  615.  
  616. /*
  617.  * New Method: CommonInitSimplePart
  618.  */
  619. SOM_Scope void  SOMLINK SimplePartCommonInitSimplePart(SimplePart *somSelf, Environment *ev);
  620. #ifndef somMN_CommonInitSimplePart_defined
  621. #define somMN_CommonInitSimplePart_defined
  622. static char *somMN_CommonInitSimplePart = "CommonInitSimplePart";
  623. static somId somId_CommonInitSimplePart = &somMN_CommonInitSimplePart;
  624. #endif  /* somMN_CommonInitSimplePart_defined */
  625. #ifndef somDS_CommonInitSimplePart_defined
  626. #define somDS_CommonInitSimplePart_defined
  627. static char *somDS_CommonInitSimplePart = "::SimplePart::CommonInitSimplePart";
  628. static somId somDI_CommonInitSimplePart = &somDS_CommonInitSimplePart;
  629. #endif  /* somDS_CommonInitSimplePart_defined */
  630. static void  SOMLINK somRD_SimplePartCommonInitSimplePart(SimplePart *somSelf, Environment *ev)
  631. {
  632.     void* __retVal;
  633.  
  634.     somSelf->somDispatch((void **)&__retVal, somId_CommonInitSimplePart, somSelf , ev
  635.         );
  636. }
  637.  
  638. /*
  639.  * New Method: HandleMouseDown
  640.  */
  641. SOM_Scope ODBoolean  SOMLINK SimplePartHandleMouseDown(SimplePart *somSelf, Environment *ev,
  642.         ODFacet* facet,
  643.         ODPoint* where,
  644.         ODEventData* event);
  645. #ifndef somMN_HandleMouseDown_defined
  646. #define somMN_HandleMouseDown_defined
  647. static char *somMN_HandleMouseDown = "HandleMouseDown";
  648. static somId somId_HandleMouseDown = &somMN_HandleMouseDown;
  649. #endif  /* somMN_HandleMouseDown_defined */
  650. #ifndef somDS_HandleMouseDown_defined
  651. #define somDS_HandleMouseDown_defined
  652. static char *somDS_HandleMouseDown = "::SimplePart::HandleMouseDown";
  653. static somId somDI_HandleMouseDown = &somDS_HandleMouseDown;
  654. #endif  /* somDS_HandleMouseDown_defined */
  655. static ODBoolean  SOMLINK somRD_SimplePartHandleMouseDown(SimplePart *somSelf, Environment *ev,
  656.         ODFacet* facet,
  657.         ODPoint* where,
  658.         ODEventData* event)
  659. {
  660.     ODBoolean __retVal;
  661.  
  662.     somSelf->somDispatch((void **)&__retVal, somId_HandleMouseDown, somSelf , ev
  663.         ,facet,where,event);
  664.     return __retVal;
  665. }
  666.  
  667. /*
  668.  * New Method: MoveResize
  669.  */
  670. SOM_Scope void  SOMLINK SimplePartMoveResize(SimplePart *somSelf, Environment *ev,
  671.         ODFacet* facet,
  672.         Proxy* selection,
  673.         ODSLong fs);
  674. #ifndef somMN_MoveResize_defined
  675. #define somMN_MoveResize_defined
  676. static char *somMN_MoveResize = "MoveResize";
  677. static somId somId_MoveResize = &somMN_MoveResize;
  678. #endif  /* somMN_MoveResize_defined */
  679. #ifndef somDS_MoveResize_defined
  680. #define somDS_MoveResize_defined
  681. static char *somDS_MoveResize = "::SimplePart::MoveResize";
  682. static somId somDI_MoveResize = &somDS_MoveResize;
  683. #endif  /* somDS_MoveResize_defined */
  684. static void  SOMLINK somRD_SimplePartMoveResize(SimplePart *somSelf, Environment *ev,
  685.         ODFacet* facet,
  686.         Proxy* selection,
  687.         ODSLong fs)
  688. {
  689.     void* __retVal;
  690.  
  691.     somSelf->somDispatch((void **)&__retVal, somId_MoveResize, somSelf , ev
  692.         ,facet,selection,fs);
  693. }
  694.  
  695. /*
  696.  * New Method: HandleMouseDownEdgeResize
  697.  */
  698. SOM_Scope ODBoolean  SOMLINK SimplePartHandleMouseDownEdgeResize(SimplePart *somSelf, Environment *ev,
  699.         ODFacet* facet,
  700.         Proxy* selection,
  701.         POINTL* mouse);
  702. #ifndef somMN_HandleMouseDownEdgeResize_defined
  703. #define somMN_HandleMouseDownEdgeResize_defined
  704. static char *somMN_HandleMouseDownEdgeResize = "HandleMouseDownEdgeResize";
  705. static somId somId_HandleMouseDownEdgeResize = &somMN_HandleMouseDownEdgeResize;
  706. #endif  /* somMN_HandleMouseDownEdgeResize_defined */
  707. #ifndef somDS_HandleMouseDownEdgeResize_defined
  708. #define somDS_HandleMouseDownEdgeResize_defined
  709. static char *somDS_HandleMouseDownEdgeResize = "::SimplePart::HandleMouseDownEdgeResize";
  710. static somId somDI_HandleMouseDownEdgeResize = &somDS_HandleMouseDownEdgeResize;
  711. #endif  /* somDS_HandleMouseDownEdgeResize_defined */
  712. static ODBoolean  SOMLINK somRD_SimplePartHandleMouseDownEdgeResize(SimplePart *somSelf, Environment *ev,
  713.         ODFacet* facet,
  714.         Proxy* selection,
  715.         POINTL* mouse)
  716. {
  717.     ODBoolean __retVal;
  718.  
  719.     somSelf->somDispatch((void **)&__retVal, somId_HandleMouseDownEdgeResize, somSelf , ev
  720.         ,facet,selection,mouse);
  721.     return __retVal;
  722. }
  723.  
  724. /*
  725.  * New Method: HandleMouseDownCornerResize
  726.  */
  727. SOM_Scope ODBoolean  SOMLINK SimplePartHandleMouseDownCornerResize(SimplePart *somSelf, Environment *ev,
  728.         ODFacet* facet,
  729.         Proxy* selection,
  730.         POINTL* mouse);
  731. #ifndef somMN_HandleMouseDownCornerResize_defined
  732. #define somMN_HandleMouseDownCornerResize_defined
  733. static char *somMN_HandleMouseDownCornerResize = "HandleMouseDownCornerResize";
  734. static somId somId_HandleMouseDownCornerResize = &somMN_HandleMouseDownCornerResize;
  735. #endif  /* somMN_HandleMouseDownCornerResize_defined */
  736. #ifndef somDS_HandleMouseDownCornerResize_defined
  737. #define somDS_HandleMouseDownCornerResize_defined
  738. static char *somDS_HandleMouseDownCornerResize = "::SimplePart::HandleMouseDownCornerResize";
  739. static somId somDI_HandleMouseDownCornerResize = &somDS_HandleMouseDownCornerResize;
  740. #endif  /* somDS_HandleMouseDownCornerResize_defined */
  741. static ODBoolean  SOMLINK somRD_SimplePartHandleMouseDownCornerResize(SimplePart *somSelf, Environment *ev,
  742.         ODFacet* facet,
  743.         Proxy* selection,
  744.         POINTL* mouse)
  745. {
  746.     ODBoolean __retVal;
  747.  
  748.     somSelf->somDispatch((void **)&__retVal, somId_HandleMouseDownCornerResize, somSelf , ev
  749.         ,facet,selection,mouse);
  750.     return __retVal;
  751. }
  752.  
  753. /*
  754.  * New Method: HandleKeyDown
  755.  */
  756. SOM_Scope ODBoolean  SOMLINK SimplePartHandleKeyDown(SimplePart *somSelf, Environment *ev,
  757.         ODFrame* focusFrame,
  758.         ODEventData* event);
  759. #ifndef somMN_HandleKeyDown_defined
  760. #define somMN_HandleKeyDown_defined
  761. static char *somMN_HandleKeyDown = "HandleKeyDown";
  762. static somId somId_HandleKeyDown = &somMN_HandleKeyDown;
  763. #endif  /* somMN_HandleKeyDown_defined */
  764. #ifndef somDS_HandleKeyDown_defined
  765. #define somDS_HandleKeyDown_defined
  766. static char *somDS_HandleKeyDown = "::SimplePart::HandleKeyDown";
  767. static somId somDI_HandleKeyDown = &somDS_HandleKeyDown;
  768. #endif  /* somDS_HandleKeyDown_defined */
  769. static ODBoolean  SOMLINK somRD_SimplePartHandleKeyDown(SimplePart *somSelf, Environment *ev,
  770.         ODFrame* focusFrame,
  771.         ODEventData* event)
  772. {
  773.     ODBoolean __retVal;
  774.  
  775.     somSelf->somDispatch((void **)&__retVal, somId_HandleKeyDown, somSelf , ev
  776.         ,focusFrame,event);
  777.     return __retVal;
  778. }
  779.  
  780. /*
  781.  * New Method: HandleMouseMove
  782.  */
  783. SOM_Scope ODBoolean  SOMLINK SimplePartHandleMouseMove(SimplePart *somSelf, Environment *ev,
  784.         ODFacet* facet,
  785.         ODPoint* where,
  786.         ODEventData* event);
  787. #ifndef somMN_HandleMouseMove_defined
  788. #define somMN_HandleMouseMove_defined
  789. static char *somMN_HandleMouseMove = "HandleMouseMove";
  790. static somId somId_HandleMouseMove = &somMN_HandleMouseMove;
  791. #endif  /* somMN_HandleMouseMove_defined */
  792. #ifndef somDS_HandleMouseMove_defined
  793. #define somDS_HandleMouseMove_defined
  794. static char *somDS_HandleMouseMove = "::SimplePart::HandleMouseMove";
  795. static somId somDI_HandleMouseMove = &somDS_HandleMouseMove;
  796. #endif  /* somDS_HandleMouseMove_defined */
  797. static ODBoolean  SOMLINK somRD_SimplePartHandleMouseMove(SimplePart *somSelf, Environment *ev,
  798.         ODFacet* facet,
  799.         ODPoint* where,
  800.         ODEventData* event)
  801. {
  802.     ODBoolean __retVal;
  803.  
  804.     somSelf->somDispatch((void **)&__retVal, somId_HandleMouseMove, somSelf , ev
  805.         ,facet,where,event);
  806.     return __retVal;
  807. }
  808.  
  809. /*
  810.  * New Method: ActivateFrame
  811.  */
  812. SOM_Scope void  SOMLINK SimplePartActivateFrame(SimplePart *somSelf, Environment *ev,
  813.         ODFrame* frame);
  814. #ifndef somMN_ActivateFrame_defined
  815. #define somMN_ActivateFrame_defined
  816. static char *somMN_ActivateFrame = "ActivateFrame";
  817. static somId somId_ActivateFrame = &somMN_ActivateFrame;
  818. #endif  /* somMN_ActivateFrame_defined */
  819. #ifndef somDS_ActivateFrame_defined
  820. #define somDS_ActivateFrame_defined
  821. static char *somDS_ActivateFrame = "::SimplePart::ActivateFrame";
  822. static somId somDI_ActivateFrame = &somDS_ActivateFrame;
  823. #endif  /* somDS_ActivateFrame_defined */
  824. static void  SOMLINK somRD_SimplePartActivateFrame(SimplePart *somSelf, Environment *ev,
  825.         ODFrame* frame)
  826. {
  827.     void* __retVal;
  828.  
  829.     somSelf->somDispatch((void **)&__retVal, somId_ActivateFrame, somSelf , ev
  830.         ,frame);
  831. }
  832.  
  833. /*
  834.  * New Method: DeActivateFrame
  835.  */
  836. SOM_Scope void  SOMLINK SimplePartDeActivateFrame(SimplePart *somSelf, Environment *ev,
  837.         ODFrame* frame);
  838. #ifndef somMN_DeActivateFrame_defined
  839. #define somMN_DeActivateFrame_defined
  840. static char *somMN_DeActivateFrame = "DeActivateFrame";
  841. static somId somId_DeActivateFrame = &somMN_DeActivateFrame;
  842. #endif  /* somMN_DeActivateFrame_defined */
  843. #ifndef somDS_DeActivateFrame_defined
  844. #define somDS_DeActivateFrame_defined
  845. static char *somDS_DeActivateFrame = "::SimplePart::DeActivateFrame";
  846. static somId somDI_DeActivateFrame = &somDS_DeActivateFrame;
  847. #endif  /* somDS_DeActivateFrame_defined */
  848. static void  SOMLINK somRD_SimplePartDeActivateFrame(SimplePart *somSelf, Environment *ev,
  849.         ODFrame* frame)
  850. {
  851.     void* __retVal;
  852.  
  853.     somSelf->somDispatch((void **)&__retVal, somId_DeActivateFrame, somSelf , ev
  854.         ,frame);
  855. }
  856.  
  857. /*
  858.  * New Method: ActivatingWindow
  859.  */
  860. SOM_Scope void  SOMLINK SimplePartActivatingWindow(SimplePart *somSelf, Environment *ev,
  861.         ODFrame* frame);
  862. #ifndef somMN_ActivatingWindow_defined
  863. #define somMN_ActivatingWindow_defined
  864. static char *somMN_ActivatingWindow = "ActivatingWindow";
  865. static somId somId_ActivatingWindow = &somMN_ActivatingWindow;
  866. #endif  /* somMN_ActivatingWindow_defined */
  867. #ifndef somDS_ActivatingWindow_defined
  868. #define somDS_ActivatingWindow_defined
  869. static char *somDS_ActivatingWindow = "::SimplePart::ActivatingWindow";
  870. static somId somDI_ActivatingWindow = &somDS_ActivatingWindow;
  871. #endif  /* somDS_ActivatingWindow_defined */
  872. static void  SOMLINK somRD_SimplePartActivatingWindow(SimplePart *somSelf, Environment *ev,
  873.         ODFrame* frame)
  874. {
  875.     void* __retVal;
  876.  
  877.     somSelf->somDispatch((void **)&__retVal, somId_ActivatingWindow, somSelf , ev
  878.         ,frame);
  879. }
  880.  
  881. /*
  882.  * New Method: DeActivatingWindow
  883.  */
  884. SOM_Scope void  SOMLINK SimplePartDeActivatingWindow(SimplePart *somSelf, Environment *ev,
  885.         ODFrame* frame);
  886. #ifndef somMN_DeActivatingWindow_defined
  887. #define somMN_DeActivatingWindow_defined
  888. static char *somMN_DeActivatingWindow = "DeActivatingWindow";
  889. static somId somId_DeActivatingWindow = &somMN_DeActivatingWindow;
  890. #endif  /* somMN_DeActivatingWindow_defined */
  891. #ifndef somDS_DeActivatingWindow_defined
  892. #define somDS_DeActivatingWindow_defined
  893. static char *somDS_DeActivatingWindow = "::SimplePart::DeActivatingWindow";
  894. static somId somDI_DeActivatingWindow = &somDS_DeActivatingWindow;
  895. #endif  /* somDS_DeActivatingWindow_defined */
  896. static void  SOMLINK somRD_SimplePartDeActivatingWindow(SimplePart *somSelf, Environment *ev,
  897.         ODFrame* frame)
  898. {
  899.     void* __retVal;
  900.  
  901.     somSelf->somDispatch((void **)&__retVal, somId_DeActivatingWindow, somSelf , ev
  902.         ,frame);
  903. }
  904.  
  905. /*
  906.  * New Method: UserSetBGColor
  907.  */
  908. SOM_Scope void  SOMLINK SimplePartUserSetBGColor(SimplePart *somSelf, Environment *ev,
  909.         ODFrame* frame,
  910.         RGBColor whichColor);
  911. #ifndef somMN_UserSetBGColor_defined
  912. #define somMN_UserSetBGColor_defined
  913. static char *somMN_UserSetBGColor = "UserSetBGColor";
  914. static somId somId_UserSetBGColor = &somMN_UserSetBGColor;
  915. #endif  /* somMN_UserSetBGColor_defined */
  916. #ifndef somDS_UserSetBGColor_defined
  917. #define somDS_UserSetBGColor_defined
  918. static char *somDS_UserSetBGColor = "::SimplePart::UserSetBGColor";
  919. static somId somDI_UserSetBGColor = &somDS_UserSetBGColor;
  920. #endif  /* somDS_UserSetBGColor_defined */
  921. static void  SOMLINK somRD_SimplePartUserSetBGColor(SimplePart *somSelf, Environment *ev,
  922.         ODFrame* frame,
  923.         RGBColor whichColor)
  924. {
  925.     void* __retVal;
  926.  
  927.     somSelf->somDispatch((void **)&__retVal, somId_UserSetBGColor, somSelf , ev
  928.         ,frame,whichColor);
  929. }
  930.  
  931. /*
  932.  * New Method: SetBGColor
  933.  */
  934. SOM_Scope void  SOMLINK SimplePartSetBGColor(SimplePart *somSelf, Environment *ev,
  935.         ODFrame* aFrame,
  936.         ODUShort whichColor);
  937. #ifndef somMN_SetBGColor_defined
  938. #define somMN_SetBGColor_defined
  939. static char *somMN_SetBGColor = "SetBGColor";
  940. static somId somId_SetBGColor = &somMN_SetBGColor;
  941. #endif  /* somMN_SetBGColor_defined */
  942. #ifndef somDS_SetBGColor_defined
  943. #define somDS_SetBGColor_defined
  944. static char *somDS_SetBGColor = "::SimplePart::SetBGColor";
  945. static somId somDI_SetBGColor = &somDS_SetBGColor;
  946. #endif  /* somDS_SetBGColor_defined */
  947. static void  SOMLINK somRD_SimplePartSetBGColor(SimplePart *somSelf, Environment *ev,
  948.         ODFrame* aFrame,
  949.         ODUShort whichColor)
  950. {
  951.     void* __retVal;
  952.  
  953.     somSelf->somDispatch((void **)&__retVal, somId_SetBGColor, somSelf , ev
  954.         ,aFrame,whichColor);
  955. }
  956.  
  957. /*
  958.  * New Method: CreateWindow
  959.  */
  960. SOM_Scope ODWindow*  SOMLINK SimplePartCreateWindow(SimplePart *somSelf, Environment *ev,
  961.         ODFrame* sourceFrame);
  962. #ifndef somMN_CreateWindow_defined
  963. #define somMN_CreateWindow_defined
  964. static char *somMN_CreateWindow = "CreateWindow";
  965. static somId somId_CreateWindow = &somMN_CreateWindow;
  966. #endif  /* somMN_CreateWindow_defined */
  967. #ifndef somDS_CreateWindow_defined
  968. #define somDS_CreateWindow_defined
  969. static char *somDS_CreateWindow = "::SimplePart::CreateWindow";
  970. static somId somDI_CreateWindow = &somDS_CreateWindow;
  971. #endif  /* somDS_CreateWindow_defined */
  972. static ODWindow*  SOMLINK somRD_SimplePartCreateWindow(SimplePart *somSelf, Environment *ev,
  973.         ODFrame* sourceFrame)
  974. {
  975.     ODWindow* __retVal;
  976.  
  977.     somSelf->somDispatch((void **)&__retVal, somId_CreateWindow, somSelf , ev
  978.         ,sourceFrame);
  979.     return __retVal;
  980. }
  981.  
  982. /*
  983.  * New Method: HandleMenuEvent
  984.  */
  985. SOM_Scope ODBoolean  SOMLINK SimplePartHandleMenuEvent(SimplePart *somSelf, Environment *ev,
  986.         ODFrame* focusFrame,
  987.         ODEventData* event);
  988. #ifndef somMN_HandleMenuEvent_defined
  989. #define somMN_HandleMenuEvent_defined
  990. static char *somMN_HandleMenuEvent = "HandleMenuEvent";
  991. static somId somId_HandleMenuEvent = &somMN_HandleMenuEvent;
  992. #endif  /* somMN_HandleMenuEvent_defined */
  993. #ifndef somDS_HandleMenuEvent_defined
  994. #define somDS_HandleMenuEvent_defined
  995. static char *somDS_HandleMenuEvent = "::SimplePart::HandleMenuEvent";
  996. static somId somDI_HandleMenuEvent = &somDS_HandleMenuEvent;
  997. #endif  /* somDS_HandleMenuEvent_defined */
  998. static ODBoolean  SOMLINK somRD_SimplePartHandleMenuEvent(SimplePart *somSelf, Environment *ev,
  999.         ODFrame* focusFrame,
  1000.         ODEventData* event)
  1001. {
  1002.     ODBoolean __retVal;
  1003.  
  1004.     somSelf->somDispatch((void **)&__retVal, somId_HandleMenuEvent, somSelf , ev
  1005.         ,focusFrame,event);
  1006.     return __retVal;
  1007. }
  1008.  
  1009. /*
  1010.  * New Method: SetGrafPortOrigin
  1011.  */
  1012. SOM_Scope void  SOMLINK SimplePartSetGrafPortOrigin(SimplePart *somSelf, Environment *ev,
  1013.         ODFacet* facet);
  1014. #ifndef somMN_SetGrafPortOrigin_defined
  1015. #define somMN_SetGrafPortOrigin_defined
  1016. static char *somMN_SetGrafPortOrigin = "SetGrafPortOrigin";
  1017. static somId somId_SetGrafPortOrigin = &somMN_SetGrafPortOrigin;
  1018. #endif  /* somMN_SetGrafPortOrigin_defined */
  1019. #ifndef somDS_SetGrafPortOrigin_defined
  1020. #define somDS_SetGrafPortOrigin_defined
  1021. static char *somDS_SetGrafPortOrigin = "::SimplePart::SetGrafPortOrigin";
  1022. static somId somDI_SetGrafPortOrigin = &somDS_SetGrafPortOrigin;
  1023. #endif  /* somDS_SetGrafPortOrigin_defined */
  1024. static void  SOMLINK somRD_SimplePartSetGrafPortOrigin(SimplePart *somSelf, Environment *ev,
  1025.         ODFacet* facet)
  1026. {
  1027.     void* __retVal;
  1028.  
  1029.     somSelf->somDispatch((void **)&__retVal, somId_SetGrafPortOrigin, somSelf , ev
  1030.         ,facet);
  1031. }
  1032.  
  1033. /*
  1034.  * New Method: GetDefaultColor
  1035.  */
  1036. SOM_Scope RGBColor  SOMLINK SimplePartGetDefaultColor(SimplePart *somSelf, Environment *ev);
  1037. #ifndef somMN_GetDefaultColor_defined
  1038. #define somMN_GetDefaultColor_defined
  1039. static char *somMN_GetDefaultColor = "GetDefaultColor";
  1040. static somId somId_GetDefaultColor = &somMN_GetDefaultColor;
  1041. #endif  /* somMN_GetDefaultColor_defined */
  1042. #ifndef somDS_GetDefaultColor_defined
  1043. #define somDS_GetDefaultColor_defined
  1044. static char *somDS_GetDefaultColor = "::SimplePart::GetDefaultColor";
  1045. static somId somDI_GetDefaultColor = &somDS_GetDefaultColor;
  1046. #endif  /* somDS_GetDefaultColor_defined */
  1047. static RGBColor  SOMLINK somRD_SimplePartGetDefaultColor(SimplePart *somSelf, Environment *ev)
  1048. {
  1049.     RGBColor __retVal;
  1050.  
  1051.     somSelf->somDispatch((void **)&__retVal, somId_GetDefaultColor, somSelf , ev
  1052.         );
  1053.     return __retVal;
  1054. }
  1055.  
  1056. /*
  1057.  * New Method: SetDefaultColor
  1058.  */
  1059. SOM_Scope void  SOMLINK SimplePartSetDefaultColor(SimplePart *somSelf, Environment *ev,
  1060.         RGBColor color);
  1061. #ifndef somMN_SetDefaultColor_defined
  1062. #define somMN_SetDefaultColor_defined
  1063. static char *somMN_SetDefaultColor = "SetDefaultColor";
  1064. static somId somId_SetDefaultColor = &somMN_SetDefaultColor;
  1065. #endif  /* somMN_SetDefaultColor_defined */
  1066. #ifndef somDS_SetDefaultColor_defined
  1067. #define somDS_SetDefaultColor_defined
  1068. static char *somDS_SetDefaultColor = "::SimplePart::SetDefaultColor";
  1069. static somId somDI_SetDefaultColor = &somDS_SetDefaultColor;
  1070. #endif  /* somDS_SetDefaultColor_defined */
  1071. static void  SOMLINK somRD_SimplePartSetDefaultColor(SimplePart *somSelf, Environment *ev,
  1072.         RGBColor color)
  1073. {
  1074.     void* __retVal;
  1075.  
  1076.     somSelf->somDispatch((void **)&__retVal, somId_SetDefaultColor, somSelf , ev
  1077.         ,color);
  1078. }
  1079.  
  1080. /*
  1081.  * New Method: Activate
  1082.  */
  1083. SOM_Scope void  SOMLINK SimplePartActivate(SimplePart *somSelf, Environment *ev,
  1084.         ODFacet* facet);
  1085. #ifndef somMN_Activate_defined
  1086. #define somMN_Activate_defined
  1087. static char *somMN_Activate = "Activate";
  1088. static somId somId_Activate = &somMN_Activate;
  1089. #endif  /* somMN_Activate_defined */
  1090. #ifndef somDS_Activate_defined
  1091. #define somDS_Activate_defined
  1092. static char *somDS_Activate = "::SimplePart::Activate";
  1093. static somId somDI_Activate = &somDS_Activate;
  1094. #endif  /* somDS_Activate_defined */
  1095. static void  SOMLINK somRD_SimplePartActivate(SimplePart *somSelf, Environment *ev,
  1096.         ODFacet* facet)
  1097. {
  1098.     void* __retVal;
  1099.  
  1100.     somSelf->somDispatch((void **)&__retVal, somId_Activate, somSelf , ev
  1101.         ,facet);
  1102. }
  1103.  
  1104. /*
  1105.  * Overridden method: somInit
  1106.  */
  1107. SOM_Scope void  SOMLINK SimplePartsomInit(SimplePart *somSelf);
  1108. static char *somMN_SimplePartsomInit = "SOMObject::somInit";
  1109. static somId somId_SimplePartsomInit = &somMN_SimplePartsomInit;
  1110. #ifdef somId_somInit
  1111. #undef somId_somInit
  1112. #else
  1113. #define somId_somInit somId_SimplePartsomInit
  1114. #endif
  1115. typedef void   (SOMLINK * somTD_xih_SimplePart_somInit)(SimplePart *somSelf);
  1116. /* define the parent method call macro */
  1117. #define SimplePart_parent_ODPart_somInit(__somSelf) \
  1118.     somSelf = (__somSelf,somSelf) /* pcalls for somInit/somUninit turned off */
  1119. /* define a variety of (possibly ambiguous) short forms */
  1120. #ifndef SOMGD_pmc_parent_somInit
  1121.   #ifdef parent_somInit
  1122.     #define SOMGD_pmc_parent_somInit
  1123.     #undef parent_somInit
  1124.   #else
  1125. #define parent_somInit SimplePart_parent_ODPart_somInit
  1126.   #endif
  1127. #endif
  1128. #ifndef SOMGD_pmc_parent_ODPart_somInit
  1129.   #ifdef parent_ODPart_somInit
  1130.     #define SOMGD_pmc_parent_ODPart_somInit
  1131.     #undef parent_ODPart_somInit
  1132.   #else
  1133.     #define parent_ODPart_somInit SimplePart_parent_ODPart_somInit
  1134.   #endif
  1135. #endif
  1136. #define SimplePart_parents_somInit(somSelf) (somSelf)
  1137.  
  1138. /*
  1139.  * Overridden method: somUninit
  1140.  */
  1141. SOM_Scope void  SOMLINK SimplePartsomUninit(SimplePart *somSelf);
  1142. static char *somMN_SimplePartsomUninit = "SOMObject::somUninit";
  1143. static somId somId_SimplePartsomUninit = &somMN_SimplePartsomUninit;
  1144. #ifdef somId_somUninit
  1145. #undef somId_somUninit
  1146. #else
  1147. #define somId_somUninit somId_SimplePartsomUninit
  1148. #endif
  1149. typedef void   (SOMLINK * somTD_xih_SimplePart_somUninit)(SimplePart *somSelf);
  1150. /* define the parent method call macro */
  1151. #define SimplePart_parent_ODPart_somUninit(__somSelf) \
  1152.     somSelf = (__somSelf,somSelf) /* pcalls for somInit/somUninit turned off */
  1153. /* define a variety of (possibly ambiguous) short forms */
  1154. #ifndef SOMGD_pmc_parent_somUninit
  1155.   #ifdef parent_somUninit
  1156.     #define SOMGD_pmc_parent_somUninit
  1157.     #undef parent_somUninit
  1158.   #else
  1159. #define parent_somUninit SimplePart_parent_ODPart_somUninit
  1160.   #endif
  1161. #endif
  1162. #ifndef SOMGD_pmc_parent_ODPart_somUninit
  1163.   #ifdef parent_ODPart_somUninit
  1164.     #define SOMGD_pmc_parent_ODPart_somUninit
  1165.     #undef parent_ODPart_somUninit
  1166.   #else
  1167.     #define parent_ODPart_somUninit SimplePart_parent_ODPart_somUninit
  1168.   #endif
  1169. #endif
  1170. #define SimplePart_parents_somUninit(somSelf) (somSelf)
  1171.  
  1172. /*
  1173.  * Overridden method: FulfillPromise
  1174.  */
  1175. SOM_Scope void  SOMLINK SimplePartFulfillPromise(SimplePart *somSelf, Environment *ev,
  1176.         ODStorageUnitView* promiseSUView);
  1177. static char *somMN_SimplePartFulfillPromise = "ODPart::FulfillPromise";
  1178. static somId somId_SimplePartFulfillPromise = &somMN_SimplePartFulfillPromise;
  1179. #ifdef somId_FulfillPromise
  1180. #undef somId_FulfillPromise
  1181. #else
  1182. #define somId_FulfillPromise somId_SimplePartFulfillPromise
  1183. #endif
  1184. typedef void   (SOMLINK * somTD_xih_SimplePart_FulfillPromise)(SimplePart *somSelf, Environment *ev,
  1185.         ODStorageUnitView* promiseSUView);
  1186. /* define the parent method call macro */
  1187. static somMethodProc* SimplePart_parent_ODPart_FulfillPromise_resolved = 0;
  1188. #define SimplePart_parent_ODPart_FulfillPromise(somSelf,ev,promiseSUView) \
  1189.   ((( somTD_xih_SimplePart_FulfillPromise ) \
  1190.     ((SimplePart_parent_ODPart_FulfillPromise_resolved)? \
  1191.       SimplePart_parent_ODPart_FulfillPromise_resolved : \
  1192.       (SimplePart_parent_ODPart_FulfillPromise_resolved = \
  1193.           somParentNumResolve(SimplePartCClassData.parentMtab, 1, ODPartClassData.FulfillPromise)))) \
  1194.    (somSelf,ev,promiseSUView))
  1195. /* define a variety of (possibly ambiguous) short forms */
  1196. #ifndef SOMGD_pmc_parent_FulfillPromise
  1197.   #ifdef parent_FulfillPromise
  1198.     #define SOMGD_pmc_parent_FulfillPromise
  1199.     #undef parent_FulfillPromise
  1200.   #else
  1201. #define parent_FulfillPromise SimplePart_parent_ODPart_FulfillPromise
  1202.   #endif
  1203. #endif
  1204. #ifndef SOMGD_pmc_parent_ODPart_FulfillPromise
  1205.   #ifdef parent_ODPart_FulfillPromise
  1206.     #define SOMGD_pmc_parent_ODPart_FulfillPromise
  1207.     #undef parent_ODPart_FulfillPromise
  1208.   #else
  1209.     #define parent_ODPart_FulfillPromise SimplePart_parent_ODPart_FulfillPromise
  1210.   #endif
  1211. #endif
  1212. #define SimplePart_parents_FulfillPromise(arg0,arg1) (\
  1213.    SimplePart_parent_ODPart_FulfillPromise(arg0,arg1))
  1214.  
  1215. /*
  1216.  * Overridden method: DropCompleted
  1217.  */
  1218. SOM_Scope void  SOMLINK SimplePartDropCompleted(SimplePart *somSelf, Environment *ev,
  1219.         ODPart* destPart,
  1220.         ODDropResult dropResult);
  1221. static char *somMN_SimplePartDropCompleted = "ODPart::DropCompleted";
  1222. static somId somId_SimplePartDropCompleted = &somMN_SimplePartDropCompleted;
  1223. #ifdef somId_DropCompleted
  1224. #undef somId_DropCompleted
  1225. #else
  1226. #define somId_DropCompleted somId_SimplePartDropCompleted
  1227. #endif
  1228. typedef void   (SOMLINK * somTD_xih_SimplePart_DropCompleted)(SimplePart *somSelf, Environment *ev,
  1229.         ODPart* destPart,
  1230.         ODDropResult dropResult);
  1231. /* define the parent method call macro */
  1232. static somMethodProc* SimplePart_parent_ODPart_DropCompleted_resolved = 0;
  1233. #define SimplePart_parent_ODPart_DropCompleted(somSelf,ev,destPart,dropResult) \
  1234.   ((( somTD_xih_SimplePart_DropCompleted ) \
  1235.     ((SimplePart_parent_ODPart_DropCompleted_resolved)? \
  1236.       SimplePart_parent_ODPart_DropCompleted_resolved : \
  1237.       (SimplePart_parent_ODPart_DropCompleted_resolved = \
  1238.           somParentNumResolve(SimplePartCClassData.parentMtab, 1, ODPartClassData.DropCompleted)))) \
  1239.    (somSelf,ev,destPart,dropResult))
  1240. /* define a variety of (possibly ambiguous) short forms */
  1241. #ifndef SOMGD_pmc_parent_DropCompleted
  1242.   #ifdef parent_DropCompleted
  1243.     #define SOMGD_pmc_parent_DropCompleted
  1244.     #undef parent_DropCompleted
  1245.   #else
  1246. #define parent_DropCompleted SimplePart_parent_ODPart_DropCompleted
  1247.   #endif
  1248. #endif
  1249. #ifndef SOMGD_pmc_parent_ODPart_DropCompleted
  1250.   #ifdef parent_ODPart_DropCompleted
  1251.     #define SOMGD_pmc_parent_ODPart_DropCompleted
  1252.     #undef parent_ODPart_DropCompleted
  1253.   #else
  1254.     #define parent_ODPart_DropCompleted SimplePart_parent_ODPart_DropCompleted
  1255.   #endif
  1256. #endif
  1257. #define SimplePart_parents_DropCompleted(arg0,arg1,arg2) (\
  1258.    SimplePart_parent_ODPart_DropCompleted(arg0,arg1,arg2))
  1259.  
  1260. /*
  1261.  * Overridden method: DragEnter
  1262.  */
  1263. SOM_Scope MRESULT  SOMLINK SimplePartDragEnter(SimplePart *somSelf, Environment *ev,
  1264.         ODDragItemIterator* dragInfo,
  1265.         ODFacet* facet,
  1266.         ODPoint* where);
  1267. static char *somMN_SimplePartDragEnter = "ODPart::DragEnter";
  1268. static somId somId_SimplePartDragEnter = &somMN_SimplePartDragEnter;
  1269. #ifdef somId_DragEnter
  1270. #undef somId_DragEnter
  1271. #else
  1272. #define somId_DragEnter somId_SimplePartDragEnter
  1273. #endif
  1274. typedef MRESULT   (SOMLINK * somTD_xih_SimplePart_DragEnter)(SimplePart *somSelf, Environment *ev,
  1275.         ODDragItemIterator* dragInfo,
  1276.         ODFacet* facet,
  1277.         ODPoint* where);
  1278. /* define the parent method call macro */
  1279. static somMethodProc* SimplePart_parent_ODPart_DragEnter_resolved = 0;
  1280. #define SimplePart_parent_ODPart_DragEnter(somSelf,ev,dragInfo,facet,where) \
  1281.   ((( somTD_xih_SimplePart_DragEnter ) \
  1282.     ((SimplePart_parent_ODPart_DragEnter_resolved)? \
  1283.       SimplePart_parent_ODPart_DragEnter_resolved : \
  1284.       (SimplePart_parent_ODPart_DragEnter_resolved = \
  1285.           somParentNumResolve(SimplePartCClassData.parentMtab, 1, ODPartClassData.DragEnter)))) \
  1286.    (somSelf,ev,dragInfo,facet,where))
  1287. /* define a variety of (possibly ambiguous) short forms */
  1288. #ifndef SOMGD_pmc_parent_DragEnter
  1289.   #ifdef parent_DragEnter
  1290.     #define SOMGD_pmc_parent_DragEnter
  1291.     #undef parent_DragEnter
  1292.   #else
  1293. #define parent_DragEnter SimplePart_parent_ODPart_DragEnter
  1294.   #endif
  1295. #endif
  1296. #ifndef SOMGD_pmc_parent_ODPart_DragEnter
  1297.   #ifdef parent_ODPart_DragEnter
  1298.     #define SOMGD_pmc_parent_ODPart_DragEnter
  1299.     #undef parent_ODPart_DragEnter
  1300.   #else
  1301.     #define parent_ODPart_DragEnter SimplePart_parent_ODPart_DragEnter
  1302.   #endif
  1303. #endif
  1304. #define SimplePart_parents_DragEnter(arg0,arg1,arg2,arg3) (\
  1305.    SimplePart_parent_ODPart_DragEnter(arg0,arg1,arg2,arg3))
  1306.  
  1307. /*
  1308.  * Overridden method: DragWithin
  1309.  */
  1310. SOM_Scope MRESULT  SOMLINK SimplePartDragWithin(SimplePart *somSelf, Environment *ev,
  1311.         ODDragItemIterator* dragInfo,
  1312.         ODFacet* facet,
  1313.         ODPoint* where);
  1314. static char *somMN_SimplePartDragWithin = "ODPart::DragWithin";
  1315. static somId somId_SimplePartDragWithin = &somMN_SimplePartDragWithin;
  1316. #ifdef somId_DragWithin
  1317. #undef somId_DragWithin
  1318. #else
  1319. #define somId_DragWithin somId_SimplePartDragWithin
  1320. #endif
  1321. typedef MRESULT   (SOMLINK * somTD_xih_SimplePart_DragWithin)(SimplePart *somSelf, Environment *ev,
  1322.         ODDragItemIterator* dragInfo,
  1323.         ODFacet* facet,
  1324.         ODPoint* where);
  1325. /* define the parent method call macro */
  1326. static somMethodProc* SimplePart_parent_ODPart_DragWithin_resolved = 0;
  1327. #define SimplePart_parent_ODPart_DragWithin(somSelf,ev,dragInfo,facet,where) \
  1328.   ((( somTD_xih_SimplePart_DragWithin ) \
  1329.     ((SimplePart_parent_ODPart_DragWithin_resolved)? \
  1330.       SimplePart_parent_ODPart_DragWithin_resolved : \
  1331.       (SimplePart_parent_ODPart_DragWithin_resolved = \
  1332.           somParentNumResolve(SimplePartCClassData.parentMtab, 1, ODPartClassData.DragWithin)))) \
  1333.    (somSelf,ev,dragInfo,facet,where))
  1334. /* define a variety of (possibly ambiguous) short forms */
  1335. #ifndef SOMGD_pmc_parent_DragWithin
  1336.   #ifdef parent_DragWithin
  1337.     #define SOMGD_pmc_parent_DragWithin
  1338.     #undef parent_DragWithin
  1339.   #else
  1340. #define parent_DragWithin SimplePart_parent_ODPart_DragWithin
  1341.   #endif
  1342. #endif
  1343. #ifndef SOMGD_pmc_parent_ODPart_DragWithin
  1344.   #ifdef parent_ODPart_DragWithin
  1345.     #define SOMGD_pmc_parent_ODPart_DragWithin
  1346.     #undef parent_ODPart_DragWithin
  1347.   #else
  1348.     #define parent_ODPart_DragWithin SimplePart_parent_ODPart_DragWithin
  1349.   #endif
  1350. #endif
  1351. #define SimplePart_parents_DragWithin(arg0,arg1,arg2,arg3) (\
  1352.    SimplePart_parent_ODPart_DragWithin(arg0,arg1,arg2,arg3))
  1353.  
  1354. /*
  1355.  * Overridden method: DragLeave
  1356.  */
  1357. SOM_Scope void  SOMLINK SimplePartDragLeave(SimplePart *somSelf, Environment *ev,
  1358.         ODFacet* facet,
  1359.         ODPoint* where);
  1360. static char *somMN_SimplePartDragLeave = "ODPart::DragLeave";
  1361. static somId somId_SimplePartDragLeave = &somMN_SimplePartDragLeave;
  1362. #ifdef somId_DragLeave
  1363. #undef somId_DragLeave
  1364. #else
  1365. #define somId_DragLeave somId_SimplePartDragLeave
  1366. #endif
  1367. typedef void   (SOMLINK * somTD_xih_SimplePart_DragLeave)(SimplePart *somSelf, Environment *ev,
  1368.         ODFacet* facet,
  1369.         ODPoint* where);
  1370. /* define the parent method call macro */
  1371. static somMethodProc* SimplePart_parent_ODPart_DragLeave_resolved = 0;
  1372. #define SimplePart_parent_ODPart_DragLeave(somSelf,ev,facet,where) \
  1373.   ((( somTD_xih_SimplePart_DragLeave ) \
  1374.     ((SimplePart_parent_ODPart_DragLeave_resolved)? \
  1375.       SimplePart_parent_ODPart_DragLeave_resolved : \
  1376.       (SimplePart_parent_ODPart_DragLeave_resolved = \
  1377.           somParentNumResolve(SimplePartCClassData.parentMtab, 1, ODPartClassData.DragLeave)))) \
  1378.    (somSelf,ev,facet,where))
  1379. /* define a variety of (possibly ambiguous) short forms */
  1380. #ifndef SOMGD_pmc_parent_DragLeave
  1381.   #ifdef parent_DragLeave
  1382.     #define SOMGD_pmc_parent_DragLeave
  1383.     #undef parent_DragLeave
  1384.   #else
  1385. #define parent_DragLeave SimplePart_parent_ODPart_DragLeave
  1386.   #endif
  1387. #endif
  1388. #ifndef SOMGD_pmc_parent_ODPart_DragLeave
  1389.   #ifdef parent_ODPart_DragLeave
  1390.     #define SOMGD_pmc_parent_ODPart_DragLeave
  1391.     #undef parent_ODPart_DragLeave
  1392.   #else
  1393.     #define parent_ODPart_DragLeave SimplePart_parent_ODPart_DragLeave
  1394.   #endif
  1395. #endif
  1396. #define SimplePart_parents_DragLeave(arg0,arg1,arg2) (\
  1397.    SimplePart_parent_ODPart_DragLeave(arg0,arg1,arg2))
  1398.  
  1399. /*
  1400.  * Overridden method: Drop
  1401.  */
  1402. SOM_Scope ODDropResult  SOMLINK SimplePartDrop(SimplePart *somSelf, Environment *ev,
  1403.         ODDragItemIterator* dropInfo,
  1404.         ODFacet* facet,
  1405.         ODPoint* where);
  1406. static char *somMN_SimplePartDrop = "ODPart::Drop";
  1407. static somId somId_SimplePartDrop = &somMN_SimplePartDrop;
  1408. #ifdef somId_Drop
  1409. #undef somId_Drop
  1410. #else
  1411. #define somId_Drop somId_SimplePartDrop
  1412. #endif
  1413. typedef ODDropResult   (SOMLINK * somTD_xih_SimplePart_Drop)(SimplePart *somSelf, Environment *ev,
  1414.         ODDragItemIterator* dropInfo,
  1415.         ODFacet* facet,
  1416.         ODPoint* where);
  1417. /* define the parent method call macro */
  1418. static somMethodProc* SimplePart_parent_ODPart_Drop_resolved = 0;
  1419. #define SimplePart_parent_ODPart_Drop(somSelf,ev,dropInfo,facet,where) \
  1420.   ((( somTD_xih_SimplePart_Drop ) \
  1421.     ((SimplePart_parent_ODPart_Drop_resolved)? \
  1422.       SimplePart_parent_ODPart_Drop_resolved : \
  1423.       (SimplePart_parent_ODPart_Drop_resolved = \
  1424.           somParentNumResolve(SimplePartCClassData.parentMtab, 1, ODPartClassData.Drop)))) \
  1425.    (somSelf,ev,dropInfo,facet,where))
  1426. /* define a variety of (possibly ambiguous) short forms */
  1427. #ifndef SOMGD_pmc_parent_Drop
  1428.   #ifdef parent_Drop
  1429.     #define SOMGD_pmc_parent_Drop
  1430.     #undef parent_Drop
  1431.   #else
  1432. #define parent_Drop SimplePart_parent_ODPart_Drop
  1433.   #endif
  1434. #endif
  1435. #ifndef SOMGD_pmc_parent_ODPart_Drop
  1436.   #ifdef parent_ODPart_Drop
  1437.     #define SOMGD_pmc_parent_ODPart_Drop
  1438.     #undef parent_ODPart_Drop
  1439.   #else
  1440.     #define parent_ODPart_Drop SimplePart_parent_ODPart_Drop
  1441.   #endif
  1442. #endif
  1443. #define SimplePart_parents_Drop(arg0,arg1,arg2,arg3) (\
  1444.    SimplePart_parent_ODPart_Drop(arg0,arg1,arg2,arg3))
  1445.  
  1446. /*
  1447.  * Overridden method: ContainingPartPropertiesChanged
  1448.  */
  1449. SOM_Scope void  SOMLINK SimplePartContainingPartPropertiesChanged(SimplePart *somSelf, Environment *ev,
  1450.         ODFrame* frame,
  1451.         ODStorageUnit* propertyUnit);
  1452. static char *somMN_SimplePartContainingPartPropertiesChanged = "ODPart::ContainingPartPropertiesChanged";
  1453. static somId somId_SimplePartContainingPartPropertiesChanged = &somMN_SimplePartContainingPartPropertiesChanged;
  1454. #ifdef somId_ContainingPartPropertiesChanged
  1455. #undef somId_ContainingPartPropertiesChanged
  1456. #else
  1457. #define somId_ContainingPartPropertiesChanged somId_SimplePartContainingPartPropertiesChanged
  1458. #endif
  1459. typedef void   (SOMLINK * somTD_xih_SimplePart_ContainingPartPropertiesChanged)(SimplePart *somSelf, Environment *ev,
  1460.         ODFrame* frame,
  1461.         ODStorageUnit* propertyUnit);
  1462. /* define the parent method call macro */
  1463. static somMethodProc* SimplePart_parent_ODPart_ContainingPartPropertiesChanged_resolved = 0;
  1464. #define SimplePart_parent_ODPart_ContainingPartPropertiesChanged(somSelf,ev,frame,propertyUnit) \
  1465.   ((( somTD_xih_SimplePart_ContainingPartPropertiesChanged ) \
  1466.     ((SimplePart_parent_ODPart_ContainingPartPropertiesChanged_resolved)? \
  1467.       SimplePart_parent_ODPart_ContainingPartPropertiesChanged_resolved : \
  1468.       (SimplePart_parent_ODPart_ContainingPartPropertiesChanged_resolved = \
  1469.           somParentNumResolve(SimplePartCClassData.parentMtab, 1, ODPartClassData.ContainingPartPropertiesChanged)))) \
  1470.    (somSelf,ev,frame,propertyUnit))
  1471. /* define a variety of (possibly ambiguous) short forms */
  1472. #ifndef SOMGD_pmc_parent_ContainingPartPropertiesChanged
  1473.   #ifdef parent_ContainingPartPropertiesChanged
  1474.     #define SOMGD_pmc_parent_ContainingPartPropertiesChanged
  1475.     #undef parent_ContainingPartPropertiesChanged
  1476.   #else
  1477. #define parent_ContainingPartPropertiesChanged SimplePart_parent_ODPart_ContainingPartPropertiesChanged
  1478.   #endif
  1479. #endif
  1480. #ifndef SOMGD_pmc_parent_ODPart_ContainingPartPropertiesChanged
  1481.   #ifdef parent_ODPart_ContainingPartPropertiesChanged
  1482.     #define SOMGD_pmc_parent_ODPart_ContainingPartPropertiesChanged
  1483.     #undef parent_ODPart_ContainingPartPropertiesChanged
  1484.   #else
  1485.     #define parent_ODPart_ContainingPartPropertiesChanged SimplePart_parent_ODPart_ContainingPartPropertiesChanged
  1486.   #endif
  1487. #endif
  1488. #define SimplePart_parents_ContainingPartPropertiesChanged(arg0,arg1,arg2) (\
  1489.    SimplePart_parent_ODPart_ContainingPartPropertiesChanged(arg0,arg1,arg2))
  1490.  
  1491. /*
  1492.  * Overridden method: GetContainingPartProperties
  1493.  */
  1494. SOM_Scope ODStorageUnit*  SOMLINK SimplePartGetContainingPartProperties(SimplePart *somSelf, Environment *ev,
  1495.         ODFrame* frame);
  1496. static char *somMN_SimplePartGetContainingPartProperties = "ODPart::GetContainingPartProperties";
  1497. static somId somId_SimplePartGetContainingPartProperties = &somMN_SimplePartGetContainingPartProperties;
  1498. #ifdef somId_GetContainingPartProperties
  1499. #undef somId_GetContainingPartProperties
  1500. #else
  1501. #define somId_GetContainingPartProperties somId_SimplePartGetContainingPartProperties
  1502. #endif
  1503. typedef ODStorageUnit*   (SOMLINK * somTD_xih_SimplePart_GetContainingPartProperties)(SimplePart *somSelf, Environment *ev,
  1504.         ODFrame* frame);
  1505. /* define the parent method call macro */
  1506. static somMethodProc* SimplePart_parent_ODPart_GetContainingPartProperties_resolved = 0;
  1507. #define SimplePart_parent_ODPart_GetContainingPartProperties(somSelf,ev,frame) \
  1508.   ((( somTD_xih_SimplePart_GetContainingPartProperties ) \
  1509.     ((SimplePart_parent_ODPart_GetContainingPartProperties_resolved)? \
  1510.       SimplePart_parent_ODPart_GetContainingPartProperties_resolved : \
  1511.       (SimplePart_parent_ODPart_GetContainingPartProperties_resolved = \
  1512.           somParentNumResolve(SimplePartCClassData.parentMtab, 1, ODPartClassData.GetContainingPartProperties)))) \
  1513.    (somSelf,ev,frame))
  1514. /* define a variety of (possibly ambiguous) short forms */
  1515. #ifndef SOMGD_pmc_parent_GetContainingPartProperties
  1516.   #ifdef parent_GetContainingPartProperties
  1517.     #define SOMGD_pmc_parent_GetContainingPartProperties
  1518.     #undef parent_GetContainingPartProperties
  1519.   #else
  1520. #define parent_GetContainingPartProperties SimplePart_parent_ODPart_GetContainingPartProperties
  1521.   #endif
  1522. #endif
  1523. #ifndef SOMGD_pmc_parent_ODPart_GetContainingPartProperties
  1524.   #ifdef parent_ODPart_GetContainingPartProperties
  1525.     #define SOMGD_pmc_parent_ODPart_GetContainingPartProperties
  1526.     #undef parent_ODPart_GetContainingPartProperties
  1527.   #else
  1528.     #define parent_ODPart_GetContainingPartProperties SimplePart_parent_ODPart_GetContainingPartProperties
  1529.   #endif
  1530. #endif
  1531. #define SimplePart_parents_GetContainingPartProperties(arg0,arg1) (\
  1532.    SimplePart_parent_ODPart_GetContainingPartProperties(arg0,arg1))
  1533.  
  1534. /*
  1535.  * Overridden method: RevealFrame
  1536.  */
  1537. SOM_Scope void  SOMLINK SimplePartRevealFrame(SimplePart *somSelf, Environment *ev,
  1538.         ODFrame* embeddedFrame,
  1539.         ODShape* revealShape);
  1540. static char *somMN_SimplePartRevealFrame = "ODPart::RevealFrame";
  1541. static somId somId_SimplePartRevealFrame = &somMN_SimplePartRevealFrame;
  1542. #ifdef somId_RevealFrame
  1543. #undef somId_RevealFrame
  1544. #else
  1545. #define somId_RevealFrame somId_SimplePartRevealFrame
  1546. #endif
  1547. typedef void   (SOMLINK * somTD_xih_SimplePart_RevealFrame)(SimplePart *somSelf, Environment *ev,
  1548.         ODFrame* embeddedFrame,
  1549.         ODShape* revealShape);
  1550. /* define the parent method call macro */
  1551. static somMethodProc* SimplePart_parent_ODPart_RevealFrame_resolved = 0;
  1552. #define SimplePart_parent_ODPart_RevealFrame(somSelf,ev,embeddedFrame,revealShape) \
  1553.   ((( somTD_xih_SimplePart_RevealFrame ) \
  1554.     ((SimplePart_parent_ODPart_RevealFrame_resolved)? \
  1555.       SimplePart_parent_ODPart_RevealFrame_resolved : \
  1556.       (SimplePart_parent_ODPart_RevealFrame_resolved = \
  1557.           somParentNumResolve(SimplePartCClassData.parentMtab, 1, ODPartClassData.RevealFrame)))) \
  1558.    (somSelf,ev,embeddedFrame,revealShape))
  1559. /* define a variety of (possibly ambiguous) short forms */
  1560. #ifndef SOMGD_pmc_parent_RevealFrame
  1561.   #ifdef parent_RevealFrame
  1562.     #define SOMGD_pmc_parent_RevealFrame
  1563.     #undef parent_RevealFrame
  1564.   #else
  1565. #define parent_RevealFrame SimplePart_parent_ODPart_RevealFrame
  1566.   #endif
  1567. #endif
  1568. #ifndef SOMGD_pmc_parent_ODPart_RevealFrame
  1569.   #ifdef parent_ODPart_RevealFrame
  1570.     #define SOMGD_pmc_parent_ODPart_RevealFrame
  1571.     #undef parent_ODPart_RevealFrame
  1572.   #else
  1573.     #define parent_ODPart_RevealFrame SimplePart_parent_ODPart_RevealFrame
  1574.   #endif
  1575. #endif
  1576. #define SimplePart_parents_RevealFrame(arg0,arg1,arg2) (\
  1577.    SimplePart_parent_ODPart_RevealFrame(arg0,arg1,arg2))
  1578.  
  1579. /*
  1580.  * Overridden method: EmbeddedFrameSpec
  1581.  */
  1582. SOM_Scope void  SOMLINK SimplePartEmbeddedFrameSpec(SimplePart *somSelf, Environment *ev,
  1583.         ODFrame* embeddedFrame,
  1584.         ODObjectSpec spec);
  1585. static char *somMN_SimplePartEmbeddedFrameSpec = "ODPart::EmbeddedFrameSpec";
  1586. static somId somId_SimplePartEmbeddedFrameSpec = &somMN_SimplePartEmbeddedFrameSpec;
  1587. #ifdef somId_EmbeddedFrameSpec
  1588. #undef somId_EmbeddedFrameSpec
  1589. #else
  1590. #define somId_EmbeddedFrameSpec somId_SimplePartEmbeddedFrameSpec
  1591. #endif
  1592. typedef void   (SOMLINK * somTD_xih_SimplePart_EmbeddedFrameSpec)(SimplePart *somSelf, Environment *ev,
  1593.         ODFrame* embeddedFrame,
  1594.         ODObjectSpec spec);
  1595. /* define the parent method call macro */
  1596. static somMethodProc* SimplePart_parent_ODPart_EmbeddedFrameSpec_resolved = 0;
  1597. #define SimplePart_parent_ODPart_EmbeddedFrameSpec(somSelf,ev,embeddedFrame,spec) \
  1598.   ((( somTD_xih_SimplePart_EmbeddedFrameSpec ) \
  1599.     ((SimplePart_parent_ODPart_EmbeddedFrameSpec_resolved)? \
  1600.       SimplePart_parent_ODPart_EmbeddedFrameSpec_resolved : \
  1601.       (SimplePart_parent_ODPart_EmbeddedFrameSpec_resolved = \
  1602.           somParentNumResolve(SimplePartCClassData.parentMtab, 1, ODPartClassData.EmbeddedFrameSpec)))) \
  1603.    (somSelf,ev,embeddedFrame,spec))
  1604. /* define a variety of (possibly ambiguous) short forms */
  1605. #ifndef SOMGD_pmc_parent_EmbeddedFrameSpec
  1606.   #ifdef parent_EmbeddedFrameSpec
  1607.     #define SOMGD_pmc_parent_EmbeddedFrameSpec
  1608.     #undef parent_EmbeddedFrameSpec
  1609.   #else
  1610. #define parent_EmbeddedFrameSpec SimplePart_parent_ODPart_EmbeddedFrameSpec
  1611.   #endif
  1612. #endif
  1613. #ifndef SOMGD_pmc_parent_ODPart_EmbeddedFrameSpec
  1614.   #ifdef parent_ODPart_EmbeddedFrameSpec
  1615.     #define SOMGD_pmc_parent_ODPart_EmbeddedFrameSpec
  1616.     #undef parent_ODPart_EmbeddedFrameSpec
  1617.   #else
  1618.     #define parent_ODPart_EmbeddedFrameSpec SimplePart_parent_ODPart_EmbeddedFrameSpec
  1619.   #endif
  1620. #endif
  1621. #define SimplePart_parents_EmbeddedFrameSpec(arg0,arg1,arg2) (\
  1622.    SimplePart_parent_ODPart_EmbeddedFrameSpec(arg0,arg1,arg2))
  1623.  
  1624. /*
  1625.  * Overridden method: CreateEmbeddedFramesIterator
  1626.  */
  1627. SOM_Scope ODEmbeddedFramesIterator*  SOMLINK SimplePartCreateEmbeddedFramesIterator(SimplePart *somSelf, Environment *ev,
  1628.         ODFrame* frame);
  1629. static char *somMN_SimplePartCreateEmbeddedFramesIterator = "ODPart::CreateEmbeddedFramesIterator";
  1630. static somId somId_SimplePartCreateEmbeddedFramesIterator = &somMN_SimplePartCreateEmbeddedFramesIterator;
  1631. #ifdef somId_CreateEmbeddedFramesIterator
  1632. #undef somId_CreateEmbeddedFramesIterator
  1633. #else
  1634. #define somId_CreateEmbeddedFramesIterator somId_SimplePartCreateEmbeddedFramesIterator
  1635. #endif
  1636. typedef ODEmbeddedFramesIterator*   (SOMLINK * somTD_xih_SimplePart_CreateEmbeddedFramesIterator)(SimplePart *somSelf, Environment *ev,
  1637.         ODFrame* frame);
  1638. /* define the parent method call macro */
  1639. static somMethodProc* SimplePart_parent_ODPart_CreateEmbeddedFramesIterator_resolved = 0;
  1640. #define SimplePart_parent_ODPart_CreateEmbeddedFramesIterator(somSelf,ev,frame) \
  1641.   ((( somTD_xih_SimplePart_CreateEmbeddedFramesIterator ) \
  1642.     ((SimplePart_parent_ODPart_CreateEmbeddedFramesIterator_resolved)? \
  1643.       SimplePart_parent_ODPart_CreateEmbeddedFramesIterator_resolved : \
  1644.       (SimplePart_parent_ODPart_CreateEmbeddedFramesIterator_resolved = \
  1645.           somParentNumResolve(SimplePartCClassData.parentMtab, 1, ODPartClassData.CreateEmbeddedFramesIterator)))) \
  1646.    (somSelf,ev,frame))
  1647. /* define a variety of (possibly ambiguous) short forms */
  1648. #ifndef SOMGD_pmc_parent_CreateEmbeddedFramesIterator
  1649.   #ifdef parent_CreateEmbeddedFramesIterator
  1650.     #define SOMGD_pmc_parent_CreateEmbeddedFramesIterator
  1651.     #undef parent_CreateEmbeddedFramesIterator
  1652.   #else
  1653. #define parent_CreateEmbeddedFramesIterator SimplePart_parent_ODPart_CreateEmbeddedFramesIterator
  1654.   #endif
  1655. #endif
  1656. #ifndef SOMGD_pmc_parent_ODPart_CreateEmbeddedFramesIterator
  1657.   #ifdef parent_ODPart_CreateEmbeddedFramesIterator
  1658.     #define SOMGD_pmc_parent_ODPart_CreateEmbeddedFramesIterator
  1659.     #undef parent_ODPart_CreateEmbeddedFramesIterator
  1660.   #else
  1661.     #define parent_ODPart_CreateEmbeddedFramesIterator SimplePart_parent_ODPart_CreateEmbeddedFramesIterator
  1662.   #endif
  1663. #endif
  1664. #define SimplePart_parents_CreateEmbeddedFramesIterator(arg0,arg1) (\
  1665.    SimplePart_parent_ODPart_CreateEmbeddedFramesIterator(arg0,arg1))
  1666.  
  1667. /*
  1668.  * Overridden method: AddDisplayFrame
  1669.  */
  1670. SOM_Scope void  SOMLINK SimplePartAddDisplayFrame(SimplePart *somSelf, Environment *ev,
  1671.         ODFrame* frame);
  1672. static char *somMN_SimplePartAddDisplayFrame = "ODPart::AddDisplayFrame";
  1673. static somId somId_SimplePartAddDisplayFrame = &somMN_SimplePartAddDisplayFrame;
  1674. #ifdef somId_AddDisplayFrame
  1675. #undef somId_AddDisplayFrame
  1676. #else
  1677. #define somId_AddDisplayFrame somId_SimplePartAddDisplayFrame
  1678. #endif
  1679. typedef void   (SOMLINK * somTD_xih_SimplePart_AddDisplayFrame)(SimplePart *somSelf, Environment *ev,
  1680.         ODFrame* frame);
  1681. /* define the parent method call macro */
  1682. static somMethodProc* SimplePart_parent_ODPart_AddDisplayFrame_resolved = 0;
  1683. #define SimplePart_parent_ODPart_AddDisplayFrame(somSelf,ev,frame) \
  1684.   ((( somTD_xih_SimplePart_AddDisplayFrame ) \
  1685.     ((SimplePart_parent_ODPart_AddDisplayFrame_resolved)? \
  1686.       SimplePart_parent_ODPart_AddDisplayFrame_resolved : \
  1687.       (SimplePart_parent_ODPart_AddDisplayFrame_resolved = \
  1688.           somParentNumResolve(SimplePartCClassData.parentMtab, 1, ODPartClassData.AddDisplayFrame)))) \
  1689.    (somSelf,ev,frame))
  1690. /* define a variety of (possibly ambiguous) short forms */
  1691. #ifndef SOMGD_pmc_parent_AddDisplayFrame
  1692.   #ifdef parent_AddDisplayFrame
  1693.     #define SOMGD_pmc_parent_AddDisplayFrame
  1694.     #undef parent_AddDisplayFrame
  1695.   #else
  1696. #define parent_AddDisplayFrame SimplePart_parent_ODPart_AddDisplayFrame
  1697.   #endif
  1698. #endif
  1699. #ifndef SOMGD_pmc_parent_ODPart_AddDisplayFrame
  1700.   #ifdef parent_ODPart_AddDisplayFrame
  1701.     #define SOMGD_pmc_parent_ODPart_AddDisplayFrame
  1702.     #undef parent_ODPart_AddDisplayFrame
  1703.   #else
  1704.     #define parent_ODPart_AddDisplayFrame SimplePart_parent_ODPart_AddDisplayFrame
  1705.   #endif
  1706. #endif
  1707. #define SimplePart_parents_AddDisplayFrame(arg0,arg1) (\
  1708.    SimplePart_parent_ODPart_AddDisplayFrame(arg0,arg1))
  1709.  
  1710. /*
  1711.  * Overridden method: AttachSourceFrame
  1712.  */
  1713. SOM_Scope void  SOMLINK SimplePartAttachSourceFrame(SimplePart *somSelf, Environment *ev,
  1714.         ODFrame* frame,
  1715.         ODFrame* sourceFrame);
  1716. static char *somMN_SimplePartAttachSourceFrame = "ODPart::AttachSourceFrame";
  1717. static somId somId_SimplePartAttachSourceFrame = &somMN_SimplePartAttachSourceFrame;
  1718. #ifdef somId_AttachSourceFrame
  1719. #undef somId_AttachSourceFrame
  1720. #else
  1721. #define somId_AttachSourceFrame somId_SimplePartAttachSourceFrame
  1722. #endif
  1723. typedef void   (SOMLINK * somTD_xih_SimplePart_AttachSourceFrame)(SimplePart *somSelf, Environment *ev,
  1724.         ODFrame* frame,
  1725.         ODFrame* sourceFrame);
  1726. /* define the parent method call macro */
  1727. static somMethodProc* SimplePart_parent_ODPart_AttachSourceFrame_resolved = 0;
  1728. #define SimplePart_parent_ODPart_AttachSourceFrame(somSelf,ev,frame,sourceFrame) \
  1729.   ((( somTD_xih_SimplePart_AttachSourceFrame ) \
  1730.     ((SimplePart_parent_ODPart_AttachSourceFrame_resolved)? \
  1731.       SimplePart_parent_ODPart_AttachSourceFrame_resolved : \
  1732.       (SimplePart_parent_ODPart_AttachSourceFrame_resolved = \
  1733.           somParentNumResolve(SimplePartCClassData.parentMtab, 1, ODPartClassData.AttachSourceFrame)))) \
  1734.    (somSelf,ev,frame,sourceFrame))
  1735. /* define a variety of (possibly ambiguous) short forms */
  1736. #ifndef SOMGD_pmc_parent_AttachSourceFrame
  1737.   #ifdef parent_AttachSourceFrame
  1738.     #define SOMGD_pmc_parent_AttachSourceFrame
  1739.     #undef parent_AttachSourceFrame
  1740.   #else
  1741. #define parent_AttachSourceFrame SimplePart_parent_ODPart_AttachSourceFrame
  1742.   #endif
  1743. #endif
  1744. #ifndef SOMGD_pmc_parent_ODPart_AttachSourceFrame
  1745.   #ifdef parent_ODPart_AttachSourceFrame
  1746.     #define SOMGD_pmc_parent_ODPart_AttachSourceFrame
  1747.     #undef parent_ODPart_AttachSourceFrame
  1748.   #else
  1749.     #define parent_ODPart_AttachSourceFrame SimplePart_parent_ODPart_AttachSourceFrame
  1750.   #endif
  1751. #endif
  1752. #define SimplePart_parents_AttachSourceFrame(arg0,arg1,arg2) (\
  1753.    SimplePart_parent_ODPart_AttachSourceFrame(arg0,arg1,arg2))
  1754.  
  1755. /*
  1756.  * Overridden method: RemoveDisplayFrame
  1757.  */
  1758. SOM_Scope void  SOMLINK SimplePartRemoveDisplayFrame(SimplePart *somSelf, Environment *ev,
  1759.         ODFrame* frame);
  1760. static char *somMN_SimplePartRemoveDisplayFrame = "ODPart::RemoveDisplayFrame";
  1761. static somId somId_SimplePartRemoveDisplayFrame = &somMN_SimplePartRemoveDisplayFrame;
  1762. #ifdef somId_RemoveDisplayFrame
  1763. #undef somId_RemoveDisplayFrame
  1764. #else
  1765. #define somId_RemoveDisplayFrame somId_SimplePartRemoveDisplayFrame
  1766. #endif
  1767. typedef void   (SOMLINK * somTD_xih_SimplePart_RemoveDisplayFrame)(SimplePart *somSelf, Environment *ev,
  1768.         ODFrame* frame);
  1769. /* define the parent method call macro */
  1770. static somMethodProc* SimplePart_parent_ODPart_RemoveDisplayFrame_resolved = 0;
  1771. #define SimplePart_parent_ODPart_RemoveDisplayFrame(somSelf,ev,frame) \
  1772.   ((( somTD_xih_SimplePart_RemoveDisplayFrame ) \
  1773.     ((SimplePart_parent_ODPart_RemoveDisplayFrame_resolved)? \
  1774.       SimplePart_parent_ODPart_RemoveDisplayFrame_resolved : \
  1775.       (SimplePart_parent_ODPart_RemoveDisplayFrame_resolved = \
  1776.           somParentNumResolve(SimplePartCClassData.parentMtab, 1, ODPartClassData.RemoveDisplayFrame)))) \
  1777.    (somSelf,ev,frame))
  1778. /* define a variety of (possibly ambiguous) short forms */
  1779. #ifndef SOMGD_pmc_parent_RemoveDisplayFrame
  1780.   #ifdef parent_RemoveDisplayFrame
  1781.     #define SOMGD_pmc_parent_RemoveDisplayFrame
  1782.     #undef parent_RemoveDisplayFrame
  1783.   #else
  1784. #define parent_RemoveDisplayFrame SimplePart_parent_ODPart_RemoveDisplayFrame
  1785.   #endif
  1786. #endif
  1787. #ifndef SOMGD_pmc_parent_ODPart_RemoveDisplayFrame
  1788.   #ifdef parent_ODPart_RemoveDisplayFrame
  1789.     #define SOMGD_pmc_parent_ODPart_RemoveDisplayFrame
  1790.     #undef parent_ODPart_RemoveDisplayFrame
  1791.   #else
  1792.     #define parent_ODPart_RemoveDisplayFrame SimplePart_parent_ODPart_RemoveDisplayFrame
  1793.   #endif
  1794. #endif
  1795. #define SimplePart_parents_RemoveDisplayFrame(arg0,arg1) (\
  1796.    SimplePart_parent_ODPart_RemoveDisplayFrame(arg0,arg1))
  1797.  
  1798. /*
  1799.  * Overridden method: CloseDisplayFrame
  1800.  */
  1801. SOM_Scope void  SOMLINK SimplePartCloseDisplayFrame(SimplePart *somSelf, Environment *ev,
  1802.         ODFrame* frame);
  1803. static char *somMN_SimplePartCloseDisplayFrame = "ODPart::CloseDisplayFrame";
  1804. static somId somId_SimplePartCloseDisplayFrame = &somMN_SimplePartCloseDisplayFrame;
  1805. #ifdef somId_CloseDisplayFrame
  1806. #undef somId_CloseDisplayFrame
  1807. #else
  1808. #define somId_CloseDisplayFrame somId_SimplePartCloseDisplayFrame
  1809. #endif
  1810. typedef void   (SOMLINK * somTD_xih_SimplePart_CloseDisplayFrame)(SimplePart *somSelf, Environment *ev,
  1811.         ODFrame* frame);
  1812. /* define the parent method call macro */
  1813. static somMethodProc* SimplePart_parent_ODPart_CloseDisplayFrame_resolved = 0;
  1814. #define SimplePart_parent_ODPart_CloseDisplayFrame(somSelf,ev,frame) \
  1815.   ((( somTD_xih_SimplePart_CloseDisplayFrame ) \
  1816.     ((SimplePart_parent_ODPart_CloseDisplayFrame_resolved)? \
  1817.       SimplePart_parent_ODPart_CloseDisplayFrame_resolved : \
  1818.       (SimplePart_parent_ODPart_CloseDisplayFrame_resolved = \
  1819.           somParentNumResolve(SimplePartCClassData.parentMtab, 1, ODPartClassData.CloseDisplayFrame)))) \
  1820.    (somSelf,ev,frame))
  1821. /* define a variety of (possibly ambiguous) short forms */
  1822. #ifndef SOMGD_pmc_parent_CloseDisplayFrame
  1823.   #ifdef parent_CloseDisplayFrame
  1824.     #define SOMGD_pmc_parent_CloseDisplayFrame
  1825.     #undef parent_CloseDisplayFrame
  1826.   #else
  1827. #define parent_CloseDisplayFrame SimplePart_parent_ODPart_CloseDisplayFrame
  1828.   #endif
  1829. #endif
  1830. #ifndef SOMGD_pmc_parent_ODPart_CloseDisplayFrame
  1831.   #ifdef parent_ODPart_CloseDisplayFrame
  1832.     #define SOMGD_pmc_parent_ODPart_CloseDisplayFrame
  1833.     #undef parent_ODPart_CloseDisplayFrame
  1834.   #else
  1835.     #define parent_ODPart_CloseDisplayFrame SimplePart_parent_ODPart_CloseDisplayFrame
  1836.   #endif
  1837. #endif
  1838. #define SimplePart_parents_CloseDisplayFrame(arg0,arg1) (\
  1839.    SimplePart_parent_ODPart_CloseDisplayFrame(arg0,arg1))
  1840.  
  1841. /*
  1842.  * Overridden method: FrameShapeChanged
  1843.  */
  1844. SOM_Scope void  SOMLINK SimplePartFrameShapeChanged(SimplePart *somSelf, Environment *ev,
  1845.         ODFrame* frame);
  1846. static char *somMN_SimplePartFrameShapeChanged = "ODPart::FrameShapeChanged";
  1847. static somId somId_SimplePartFrameShapeChanged = &somMN_SimplePartFrameShapeChanged;
  1848. #ifdef somId_FrameShapeChanged
  1849. #undef somId_FrameShapeChanged
  1850. #else
  1851. #define somId_FrameShapeChanged somId_SimplePartFrameShapeChanged
  1852. #endif
  1853. typedef void   (SOMLINK * somTD_xih_SimplePart_FrameShapeChanged)(SimplePart *somSelf, Environment *ev,
  1854.         ODFrame* frame);
  1855. /* define the parent method call macro */
  1856. static somMethodProc* SimplePart_parent_ODPart_FrameShapeChanged_resolved = 0;
  1857. #define SimplePart_parent_ODPart_FrameShapeChanged(somSelf,ev,frame) \
  1858.   ((( somTD_xih_SimplePart_FrameShapeChanged ) \
  1859.     ((SimplePart_parent_ODPart_FrameShapeChanged_resolved)? \
  1860.       SimplePart_parent_ODPart_FrameShapeChanged_resolved : \
  1861.       (SimplePart_parent_ODPart_FrameShapeChanged_resolved = \
  1862.           somParentNumResolve(SimplePartCClassData.parentMtab, 1, ODPartClassData.FrameShapeChanged)))) \
  1863.    (somSelf,ev,frame))
  1864. /* define a variety of (possibly ambiguous) short forms */
  1865. #ifndef SOMGD_pmc_parent_FrameShapeChanged
  1866.   #ifdef parent_FrameShapeChanged
  1867.     #define SOMGD_pmc_parent_FrameShapeChanged
  1868.     #undef parent_FrameShapeChanged
  1869.   #else
  1870. #define parent_FrameShapeChanged SimplePart_parent_ODPart_FrameShapeChanged
  1871.   #endif
  1872. #endif
  1873. #ifndef SOMGD_pmc_parent_ODPart_FrameShapeChanged
  1874.   #ifdef parent_ODPart_FrameShapeChanged
  1875.     #define SOMGD_pmc_parent_ODPart_FrameShapeChanged
  1876.     #undef parent_ODPart_FrameShapeChanged
  1877.   #else
  1878.     #define parent_ODPart_FrameShapeChanged SimplePart_parent_ODPart_FrameShapeChanged
  1879.   #endif
  1880. #endif
  1881. #define SimplePart_parents_FrameShapeChanged(arg0,arg1) (\
  1882.    SimplePart_parent_ODPart_FrameShapeChanged(arg0,arg1))
  1883.  
  1884. /*
  1885.  * Overridden method: ViewTypeChanged
  1886.  */
  1887. SOM_Scope void  SOMLINK SimplePartViewTypeChanged(SimplePart *somSelf, Environment *ev,
  1888.         ODFrame* frame);
  1889. static char *somMN_SimplePartViewTypeChanged = "ODPart::ViewTypeChanged";
  1890. static somId somId_SimplePartViewTypeChanged = &somMN_SimplePartViewTypeChanged;
  1891. #ifdef somId_ViewTypeChanged
  1892. #undef somId_ViewTypeChanged
  1893. #else
  1894. #define somId_ViewTypeChanged somId_SimplePartViewTypeChanged
  1895. #endif
  1896. typedef void   (SOMLINK * somTD_xih_SimplePart_ViewTypeChanged)(SimplePart *somSelf, Environment *ev,
  1897.         ODFrame* frame);
  1898. /* define the parent method call macro */
  1899. static somMethodProc* SimplePart_parent_ODPart_ViewTypeChanged_resolved = 0;
  1900. #define SimplePart_parent_ODPart_ViewTypeChanged(somSelf,ev,frame) \
  1901.   ((( somTD_xih_SimplePart_ViewTypeChanged ) \
  1902.     ((SimplePart_parent_ODPart_ViewTypeChanged_resolved)? \
  1903.       SimplePart_parent_ODPart_ViewTypeChanged_resolved : \
  1904.       (SimplePart_parent_ODPart_ViewTypeChanged_resolved = \
  1905.           somParentNumResolve(SimplePartCClassData.parentMtab, 1, ODPartClassData.ViewTypeChanged)))) \
  1906.    (somSelf,ev,frame))
  1907. /* define a variety of (possibly ambiguous) short forms */
  1908. #ifndef SOMGD_pmc_parent_ViewTypeChanged
  1909.   #ifdef parent_ViewTypeChanged
  1910.     #define SOMGD_pmc_parent_ViewTypeChanged
  1911.     #undef parent_ViewTypeChanged
  1912.   #else
  1913. #define parent_ViewTypeChanged SimplePart_parent_ODPart_ViewTypeChanged
  1914.   #endif
  1915. #endif
  1916. #ifndef SOMGD_pmc_parent_ODPart_ViewTypeChanged
  1917.   #ifdef parent_ODPart_ViewTypeChanged
  1918.     #define SOMGD_pmc_parent_ODPart_ViewTypeChanged
  1919.     #undef parent_ODPart_ViewTypeChanged
  1920.   #else
  1921.     #define parent_ODPart_ViewTypeChanged SimplePart_parent_ODPart_ViewTypeChanged
  1922.   #endif
  1923. #endif
  1924. #define SimplePart_parents_ViewTypeChanged(arg0,arg1) (\
  1925.    SimplePart_parent_ODPart_ViewTypeChanged(arg0,arg1))
  1926.  
  1927. /*
  1928.  * Overridden method: PresentationChanged
  1929.  */
  1930. SOM_Scope void  SOMLINK SimplePartPresentationChanged(SimplePart *somSelf, Environment *ev,
  1931.         ODFrame* frame);
  1932. static char *somMN_SimplePartPresentationChanged = "ODPart::PresentationChanged";
  1933. static somId somId_SimplePartPresentationChanged = &somMN_SimplePartPresentationChanged;
  1934. #ifdef somId_PresentationChanged
  1935. #undef somId_PresentationChanged
  1936. #else
  1937. #define somId_PresentationChanged somId_SimplePartPresentationChanged
  1938. #endif
  1939. typedef void   (SOMLINK * somTD_xih_SimplePart_PresentationChanged)(SimplePart *somSelf, Environment *ev,
  1940.         ODFrame* frame);
  1941. /* define the parent method call macro */
  1942. static somMethodProc* SimplePart_parent_ODPart_PresentationChanged_resolved = 0;
  1943. #define SimplePart_parent_ODPart_PresentationChanged(somSelf,ev,frame) \
  1944.   ((( somTD_xih_SimplePart_PresentationChanged ) \
  1945.     ((SimplePart_parent_ODPart_PresentationChanged_resolved)? \
  1946.       SimplePart_parent_ODPart_PresentationChanged_resolved : \
  1947.       (SimplePart_parent_ODPart_PresentationChanged_resolved = \
  1948.           somParentNumResolve(SimplePartCClassData.parentMtab, 1, ODPartClassData.PresentationChanged)))) \
  1949.    (somSelf,ev,frame))
  1950. /* define a variety of (possibly ambiguous) short forms */
  1951. #ifndef SOMGD_pmc_parent_PresentationChanged
  1952.   #ifdef parent_PresentationChanged
  1953.     #define SOMGD_pmc_parent_PresentationChanged
  1954.     #undef parent_PresentationChanged
  1955.   #else
  1956. #define parent_PresentationChanged SimplePart_parent_ODPart_PresentationChanged
  1957.   #endif
  1958. #endif
  1959. #ifndef SOMGD_pmc_parent_ODPart_PresentationChanged
  1960.   #ifdef parent_ODPart_PresentationChanged
  1961.     #define SOMGD_pmc_parent_ODPart_PresentationChanged
  1962.     #undef parent_ODPart_PresentationChanged
  1963.   #else
  1964.     #define parent_ODPart_PresentationChanged SimplePart_parent_ODPart_PresentationChanged
  1965.   #endif
  1966. #endif
  1967. #define SimplePart_parents_PresentationChanged(arg0,arg1) (\
  1968.    SimplePart_parent_ODPart_PresentationChanged(arg0,arg1))
  1969.  
  1970. /*
  1971.  * Overridden method: SequenceChanged
  1972.  */
  1973. SOM_Scope void  SOMLINK SimplePartSequenceChanged(SimplePart *somSelf, Environment *ev,
  1974.         ODFrame* frame);
  1975. static char *somMN_SimplePartSequenceChanged = "ODPart::SequenceChanged";
  1976. static somId somId_SimplePartSequenceChanged = &somMN_SimplePartSequenceChanged;
  1977. #ifdef somId_SequenceChanged
  1978. #undef somId_SequenceChanged
  1979. #else
  1980. #define somId_SequenceChanged somId_SimplePartSequenceChanged
  1981. #endif
  1982. typedef void   (SOMLINK * somTD_xih_SimplePart_SequenceChanged)(SimplePart *somSelf, Environment *ev,
  1983.         ODFrame* frame);
  1984. /* define the parent method call macro */
  1985. static somMethodProc* SimplePart_parent_ODPart_SequenceChanged_resolved = 0;
  1986. #define SimplePart_parent_ODPart_SequenceChanged(somSelf,ev,frame) \
  1987.   ((( somTD_xih_SimplePart_SequenceChanged ) \
  1988.     ((SimplePart_parent_ODPart_SequenceChanged_resolved)? \
  1989.       SimplePart_parent_ODPart_SequenceChanged_resolved : \
  1990.       (SimplePart_parent_ODPart_SequenceChanged_resolved = \
  1991.           somParentNumResolve(SimplePartCClassData.parentMtab, 1, ODPartClassData.SequenceChanged)))) \
  1992.    (somSelf,ev,frame))
  1993. /* define a variety of (possibly ambiguous) short forms */
  1994. #ifndef SOMGD_pmc_parent_SequenceChanged
  1995.   #ifdef parent_SequenceChanged
  1996.     #define SOMGD_pmc_parent_SequenceChanged
  1997.     #undef parent_SequenceChanged
  1998.   #else
  1999. #define parent_SequenceChanged SimplePart_parent_ODPart_SequenceChanged
  2000.   #endif
  2001. #endif
  2002. #ifndef SOMGD_pmc_parent_ODPart_SequenceChanged
  2003.   #ifdef parent_ODPart_SequenceChanged
  2004.     #define SOMGD_pmc_parent_ODPart_SequenceChanged
  2005.     #undef parent_ODPart_SequenceChanged
  2006.   #else
  2007.     #define parent_ODPart_SequenceChanged SimplePart_parent_ODPart_SequenceChanged
  2008.   #endif
  2009. #endif
  2010. #define SimplePart_parents_SequenceChanged(arg0,arg1) (\
  2011.    SimplePart_parent_ODPart_SequenceChanged(arg0,arg1))
  2012.  
  2013. /*
  2014.  * Overridden method: WritePartInfo
  2015.  */
  2016. SOM_Scope void  SOMLINK SimplePartWritePartInfo(SimplePart *somSelf, Environment *ev,
  2017.         ODPtr partInfo,
  2018.         ODStorageUnitView* storageUnitView);
  2019. static char *somMN_SimplePartWritePartInfo = "ODPart::WritePartInfo";
  2020. static somId somId_SimplePartWritePartInfo = &somMN_SimplePartWritePartInfo;
  2021. #ifdef somId_WritePartInfo
  2022. #undef somId_WritePartInfo
  2023. #else
  2024. #define somId_WritePartInfo somId_SimplePartWritePartInfo
  2025. #endif
  2026. typedef void   (SOMLINK * somTD_xih_SimplePart_WritePartInfo)(SimplePart *somSelf, Environment *ev,
  2027.         ODPtr partInfo,
  2028.         ODStorageUnitView* storageUnitView);
  2029. /* define the parent method call macro */
  2030. static somMethodProc* SimplePart_parent_ODPart_WritePartInfo_resolved = 0;
  2031. #define SimplePart_parent_ODPart_WritePartInfo(somSelf,ev,partInfo,storageUnitView) \
  2032.   ((( somTD_xih_SimplePart_WritePartInfo ) \
  2033.     ((SimplePart_parent_ODPart_WritePartInfo_resolved)? \
  2034.       SimplePart_parent_ODPart_WritePartInfo_resolved : \
  2035.       (SimplePart_parent_ODPart_WritePartInfo_resolved = \
  2036.           somParentNumResolve(SimplePartCClassData.parentMtab, 1, ODPartClassData.WritePartInfo)))) \
  2037.    (somSelf,ev,partInfo,storageUnitView))
  2038. /* define a variety of (possibly ambiguous) short forms */
  2039. #ifndef SOMGD_pmc_parent_WritePartInfo
  2040.   #ifdef parent_WritePartInfo
  2041.     #define SOMGD_pmc_parent_WritePartInfo
  2042.     #undef parent_WritePartInfo
  2043.   #else
  2044. #define parent_WritePartInfo SimplePart_parent_ODPart_WritePartInfo
  2045.   #endif
  2046. #endif
  2047. #ifndef SOMGD_pmc_parent_ODPart_WritePartInfo
  2048.   #ifdef parent_ODPart_WritePartInfo
  2049.     #define SOMGD_pmc_parent_ODPart_WritePartInfo
  2050.     #undef parent_ODPart_WritePartInfo
  2051.   #else
  2052.     #define parent_ODPart_WritePartInfo SimplePart_parent_ODPart_WritePartInfo
  2053.   #endif
  2054. #endif
  2055. #define SimplePart_parents_WritePartInfo(arg0,arg1,arg2) (\
  2056.    SimplePart_parent_ODPart_WritePartInfo(arg0,arg1,arg2))
  2057.  
  2058. /*
  2059.  * Overridden method: ReadPartInfo
  2060.  */
  2061. SOM_Scope ODPtr  SOMLINK SimplePartReadPartInfo(SimplePart *somSelf, Environment *ev,
  2062.         ODFrame* frame,
  2063.         ODStorageUnitView* storageUnitView);
  2064. static char *somMN_SimplePartReadPartInfo = "ODPart::ReadPartInfo";
  2065. static somId somId_SimplePartReadPartInfo = &somMN_SimplePartReadPartInfo;
  2066. #ifdef somId_ReadPartInfo
  2067. #undef somId_ReadPartInfo
  2068. #else
  2069. #define somId_ReadPartInfo somId_SimplePartReadPartInfo
  2070. #endif
  2071. typedef ODPtr   (SOMLINK * somTD_xih_SimplePart_ReadPartInfo)(SimplePart *somSelf, Environment *ev,
  2072.         ODFrame* frame,
  2073.         ODStorageUnitView* storageUnitView);
  2074. /* define the parent method call macro */
  2075. static somMethodProc* SimplePart_parent_ODPart_ReadPartInfo_resolved = 0;
  2076. #define SimplePart_parent_ODPart_ReadPartInfo(somSelf,ev,frame,storageUnitView) \
  2077.   ((( somTD_xih_SimplePart_ReadPartInfo ) \
  2078.     ((SimplePart_parent_ODPart_ReadPartInfo_resolved)? \
  2079.       SimplePart_parent_ODPart_ReadPartInfo_resolved : \
  2080.       (SimplePart_parent_ODPart_ReadPartInfo_resolved = \
  2081.           somParentNumResolve(SimplePartCClassData.parentMtab, 1, ODPartClassData.ReadPartInfo)))) \
  2082.    (somSelf,ev,frame,storageUnitView))
  2083. /* define a variety of (possibly ambiguous) short forms */
  2084. #ifndef SOMGD_pmc_parent_ReadPartInfo
  2085.   #ifdef parent_ReadPartInfo
  2086.     #define SOMGD_pmc_parent_ReadPartInfo
  2087.     #undef parent_ReadPartInfo
  2088.   #else
  2089. #define parent_ReadPartInfo SimplePart_parent_ODPart_ReadPartInfo
  2090.   #endif
  2091. #endif
  2092. #ifndef SOMGD_pmc_parent_ODPart_ReadPartInfo
  2093.   #ifdef parent_ODPart_ReadPartInfo
  2094.     #define SOMGD_pmc_parent_ODPart_ReadPartInfo
  2095.     #undef parent_ODPart_ReadPartInfo
  2096.   #else
  2097.     #define parent_ODPart_ReadPartInfo SimplePart_parent_ODPart_ReadPartInfo
  2098.   #endif
  2099. #endif
  2100. #define SimplePart_parents_ReadPartInfo(arg0,arg1,arg2) (\
  2101.    SimplePart_parent_ODPart_ReadPartInfo(arg0,arg1,arg2))
  2102.  
  2103. /*
  2104.  * Overridden method: Open
  2105.  */
  2106. SOM_Scope ODID  SOMLINK SimplePartOpen(SimplePart *somSelf, Environment *ev,
  2107.         ODFrame* frame);
  2108. static char *somMN_SimplePartOpen = "ODPart::Open";
  2109. static somId somId_SimplePartOpen = &somMN_SimplePartOpen;
  2110. #ifdef somId_Open
  2111. #undef somId_Open
  2112. #else
  2113. #define somId_Open somId_SimplePartOpen
  2114. #endif
  2115. typedef ODID   (SOMLINK * somTD_xih_SimplePart_Open)(SimplePart *somSelf, Environment *ev,
  2116.         ODFrame* frame);
  2117. /* define the parent method call macro */
  2118. static somMethodProc* SimplePart_parent_ODPart_Open_resolved = 0;
  2119. #define SimplePart_parent_ODPart_Open(somSelf,ev,frame) \
  2120.   ((( somTD_xih_SimplePart_Open ) \
  2121.     ((SimplePart_parent_ODPart_Open_resolved)? \
  2122.       SimplePart_parent_ODPart_Open_resolved : \
  2123.       (SimplePart_parent_ODPart_Open_resolved = \
  2124.           somParentNumResolve(SimplePartCClassData.parentMtab, 1, ODPartClassData.Open)))) \
  2125.    (somSelf,ev,frame))
  2126. /* define a variety of (possibly ambiguous) short forms */
  2127. #ifndef SOMGD_pmc_parent_Open
  2128.   #ifdef parent_Open
  2129.     #define SOMGD_pmc_parent_Open
  2130.     #undef parent_Open
  2131.   #else
  2132. #define parent_Open SimplePart_parent_ODPart_Open
  2133.   #endif
  2134. #endif
  2135. #ifndef SOMGD_pmc_parent_ODPart_Open
  2136.   #ifdef parent_ODPart_Open
  2137.     #define SOMGD_pmc_parent_ODPart_Open
  2138.     #undef parent_ODPart_Open
  2139.   #else
  2140.     #define parent_ODPart_Open SimplePart_parent_ODPart_Open
  2141.   #endif
  2142. #endif
  2143. #define SimplePart_parents_Open(arg0,arg1) (\
  2144.    SimplePart_parent_ODPart_Open(arg0,arg1))
  2145.  
  2146. /*
  2147.  * Overridden method: RequestEmbeddedFrame
  2148.  */
  2149. SOM_Scope ODFrame*  SOMLINK SimplePartRequestEmbeddedFrame(SimplePart *somSelf, Environment *ev,
  2150.         ODFrame* containingFrame,
  2151.         ODFrame* baseFrame,
  2152.         ODShape* frameShape,
  2153.         ODPart* embedPart,
  2154.         ODTypeToken viewType,
  2155.         ODTypeToken presentation,
  2156.         ODBoolean isOverlaid);
  2157. static char *somMN_SimplePartRequestEmbeddedFrame = "ODPart::RequestEmbeddedFrame";
  2158. static somId somId_SimplePartRequestEmbeddedFrame = &somMN_SimplePartRequestEmbeddedFrame;
  2159. #ifdef somId_RequestEmbeddedFrame
  2160. #undef somId_RequestEmbeddedFrame
  2161. #else
  2162. #define somId_RequestEmbeddedFrame somId_SimplePartRequestEmbeddedFrame
  2163. #endif
  2164. typedef ODFrame*   (SOMLINK * somTD_xih_SimplePart_RequestEmbeddedFrame)(SimplePart *somSelf, Environment *ev,
  2165.         ODFrame* containingFrame,
  2166.         ODFrame* baseFrame,
  2167.         ODShape* frameShape,
  2168.         ODPart* embedPart,
  2169.         ODTypeToken viewType,
  2170.         ODTypeToken presentation,
  2171.         ODBoolean isOverlaid);
  2172. /* define the parent method call macro */
  2173. static somMethodProc* SimplePart_parent_ODPart_RequestEmbeddedFrame_resolved = 0;
  2174. #define SimplePart_parent_ODPart_RequestEmbeddedFrame(somSelf,ev,containingFrame,baseFrame,frameShape,embedPart,viewType,presentation,isOverlaid) \
  2175.   ((( somTD_xih_SimplePart_RequestEmbeddedFrame ) \
  2176.     ((SimplePart_parent_ODPart_RequestEmbeddedFrame_resolved)? \
  2177.       SimplePart_parent_ODPart_RequestEmbeddedFrame_resolved : \
  2178.       (SimplePart_parent_ODPart_RequestEmbeddedFrame_resolved = \
  2179.           somParentNumResolve(SimplePartCClassData.parentMtab, 1, ODPartClassData.RequestEmbeddedFrame)))) \
  2180.    (somSelf,ev,containingFrame,baseFrame,frameShape,embedPart,viewType,presentation,isOverlaid))
  2181. /* define a variety of (possibly ambiguous) short forms */
  2182. #ifndef SOMGD_pmc_parent_RequestEmbeddedFrame
  2183.   #ifdef parent_RequestEmbeddedFrame
  2184.     #define SOMGD_pmc_parent_RequestEmbeddedFrame
  2185.     #undef parent_RequestEmbeddedFrame
  2186.   #else
  2187. #define parent_RequestEmbeddedFrame SimplePart_parent_ODPart_RequestEmbeddedFrame
  2188.   #endif
  2189. #endif
  2190. #ifndef SOMGD_pmc_parent_ODPart_RequestEmbeddedFrame
  2191.   #ifdef parent_ODPart_RequestEmbeddedFrame
  2192.     #define SOMGD_pmc_parent_ODPart_RequestEmbeddedFrame
  2193.     #undef parent_ODPart_RequestEmbeddedFrame
  2194.   #else
  2195.     #define parent_ODPart_RequestEmbeddedFrame SimplePart_parent_ODPart_RequestEmbeddedFrame
  2196.   #endif
  2197. #endif
  2198. #define SimplePart_parents_RequestEmbeddedFrame(arg0,arg1,arg2,arg3,arg4,arg5,arg6,arg7) (\
  2199.    SimplePart_parent_ODPart_RequestEmbeddedFrame(arg0,arg1,arg2,arg3,arg4,arg5,arg6,arg7))
  2200.  
  2201. /*
  2202.  * Overridden method: RemoveEmbeddedFrame
  2203.  */
  2204. SOM_Scope void  SOMLINK SimplePartRemoveEmbeddedFrame(SimplePart *somSelf, Environment *ev,
  2205.         ODFrame* embeddedFrame);
  2206. static char *somMN_SimplePartRemoveEmbeddedFrame = "ODPart::RemoveEmbeddedFrame";
  2207. static somId somId_SimplePartRemoveEmbeddedFrame = &somMN_SimplePartRemoveEmbeddedFrame;
  2208. #ifdef somId_RemoveEmbeddedFrame
  2209. #undef somId_RemoveEmbeddedFrame
  2210. #else
  2211. #define somId_RemoveEmbeddedFrame somId_SimplePartRemoveEmbeddedFrame
  2212. #endif
  2213. typedef void   (SOMLINK * somTD_xih_SimplePart_RemoveEmbeddedFrame)(SimplePart *somSelf, Environment *ev,
  2214.         ODFrame* embeddedFrame);
  2215. /* define the parent method call macro */
  2216. static somMethodProc* SimplePart_parent_ODPart_RemoveEmbeddedFrame_resolved = 0;
  2217. #define SimplePart_parent_ODPart_RemoveEmbeddedFrame(somSelf,ev,embeddedFrame) \
  2218.   ((( somTD_xih_SimplePart_RemoveEmbeddedFrame ) \
  2219.     ((SimplePart_parent_ODPart_RemoveEmbeddedFrame_resolved)? \
  2220.       SimplePart_parent_ODPart_RemoveEmbeddedFrame_resolved : \
  2221.       (SimplePart_parent_ODPart_RemoveEmbeddedFrame_resolved = \
  2222.           somParentNumResolve(SimplePartCClassData.parentMtab, 1, ODPartClassData.RemoveEmbeddedFrame)))) \
  2223.    (somSelf,ev,embeddedFrame))
  2224. /* define a variety of (possibly ambiguous) short forms */
  2225. #ifndef SOMGD_pmc_parent_RemoveEmbeddedFrame
  2226.   #ifdef parent_RemoveEmbeddedFrame
  2227.     #define SOMGD_pmc_parent_RemoveEmbeddedFrame
  2228.     #undef parent_RemoveEmbeddedFrame
  2229.   #else
  2230. #define parent_RemoveEmbeddedFrame SimplePart_parent_ODPart_RemoveEmbeddedFrame
  2231.   #endif
  2232. #endif
  2233. #ifndef SOMGD_pmc_parent_ODPart_RemoveEmbeddedFrame
  2234.   #ifdef parent_ODPart_RemoveEmbeddedFrame
  2235.     #define SOMGD_pmc_parent_ODPart_RemoveEmbeddedFrame
  2236.     #undef parent_ODPart_RemoveEmbeddedFrame
  2237.   #else
  2238.     #define parent_ODPart_RemoveEmbeddedFrame SimplePart_parent_ODPart_RemoveEmbeddedFrame
  2239.   #endif
  2240. #endif
  2241. #define SimplePart_parents_RemoveEmbeddedFrame(arg0,arg1) (\
  2242.    SimplePart_parent_ODPart_RemoveEmbeddedFrame(arg0,arg1))
  2243.  
  2244. /*
  2245.  * Overridden method: RequestFrameShape
  2246.  */
  2247. SOM_Scope ODShape*  SOMLINK SimplePartRequestFrameShape(SimplePart *somSelf, Environment *ev,
  2248.         ODFrame* embeddedFrame,
  2249.         ODShape* frameShape);
  2250. static char *somMN_SimplePartRequestFrameShape = "ODPart::RequestFrameShape";
  2251. static somId somId_SimplePartRequestFrameShape = &somMN_SimplePartRequestFrameShape;
  2252. #ifdef somId_RequestFrameShape
  2253. #undef somId_RequestFrameShape
  2254. #else
  2255. #define somId_RequestFrameShape somId_SimplePartRequestFrameShape
  2256. #endif
  2257. typedef ODShape*   (SOMLINK * somTD_xih_SimplePart_RequestFrameShape)(SimplePart *somSelf, Environment *ev,
  2258.         ODFrame* embeddedFrame,
  2259.         ODShape* frameShape);
  2260. /* define the parent method call macro */
  2261. static somMethodProc* SimplePart_parent_ODPart_RequestFrameShape_resolved = 0;
  2262. #define SimplePart_parent_ODPart_RequestFrameShape(somSelf,ev,embeddedFrame,frameShape) \
  2263.   ((( somTD_xih_SimplePart_RequestFrameShape ) \
  2264.     ((SimplePart_parent_ODPart_RequestFrameShape_resolved)? \
  2265.       SimplePart_parent_ODPart_RequestFrameShape_resolved : \
  2266.       (SimplePart_parent_ODPart_RequestFrameShape_resolved = \
  2267.           somParentNumResolve(SimplePartCClassData.parentMtab, 1, ODPartClassData.RequestFrameShape)))) \
  2268.    (somSelf,ev,embeddedFrame,frameShape))
  2269. /* define a variety of (possibly ambiguous) short forms */
  2270. #ifndef SOMGD_pmc_parent_RequestFrameShape
  2271.   #ifdef parent_RequestFrameShape
  2272.     #define SOMGD_pmc_parent_RequestFrameShape
  2273.     #undef parent_RequestFrameShape
  2274.   #else
  2275. #define parent_RequestFrameShape SimplePart_parent_ODPart_RequestFrameShape
  2276.   #endif
  2277. #endif
  2278. #ifndef SOMGD_pmc_parent_ODPart_RequestFrameShape
  2279.   #ifdef parent_ODPart_RequestFrameShape
  2280.     #define SOMGD_pmc_parent_ODPart_RequestFrameShape
  2281.     #undef parent_ODPart_RequestFrameShape
  2282.   #else
  2283.     #define parent_ODPart_RequestFrameShape SimplePart_parent_ODPart_RequestFrameShape
  2284.   #endif
  2285. #endif
  2286. #define SimplePart_parents_RequestFrameShape(arg0,arg1,arg2) (\
  2287.    SimplePart_parent_ODPart_RequestFrameShape(arg0,arg1,arg2))
  2288.  
  2289. /*
  2290.  * Overridden method: UsedShapeChanged
  2291.  */
  2292. SOM_Scope void  SOMLINK SimplePartUsedShapeChanged(SimplePart *somSelf, Environment *ev,
  2293.         ODFrame* embeddedFrame);
  2294. static char *somMN_SimplePartUsedShapeChanged = "ODPart::UsedShapeChanged";
  2295. static somId somId_SimplePartUsedShapeChanged = &somMN_SimplePartUsedShapeChanged;
  2296. #ifdef somId_UsedShapeChanged
  2297. #undef somId_UsedShapeChanged
  2298. #else
  2299. #define somId_UsedShapeChanged somId_SimplePartUsedShapeChanged
  2300. #endif
  2301. typedef void   (SOMLINK * somTD_xih_SimplePart_UsedShapeChanged)(SimplePart *somSelf, Environment *ev,
  2302.         ODFrame* embeddedFrame);
  2303. /* define the parent method call macro */
  2304. static somMethodProc* SimplePart_parent_ODPart_UsedShapeChanged_resolved = 0;
  2305. #define SimplePart_parent_ODPart_UsedShapeChanged(somSelf,ev,embeddedFrame) \
  2306.   ((( somTD_xih_SimplePart_UsedShapeChanged ) \
  2307.     ((SimplePart_parent_ODPart_UsedShapeChanged_resolved)? \
  2308.       SimplePart_parent_ODPart_UsedShapeChanged_resolved : \
  2309.       (SimplePart_parent_ODPart_UsedShapeChanged_resolved = \
  2310.           somParentNumResolve(SimplePartCClassData.parentMtab, 1, ODPartClassData.UsedShapeChanged)))) \
  2311.    (somSelf,ev,embeddedFrame))
  2312. /* define a variety of (possibly ambiguous) short forms */
  2313. #ifndef SOMGD_pmc_parent_UsedShapeChanged
  2314.   #ifdef parent_UsedShapeChanged
  2315.     #define SOMGD_pmc_parent_UsedShapeChanged
  2316.     #undef parent_UsedShapeChanged
  2317.   #else
  2318. #define parent_UsedShapeChanged SimplePart_parent_ODPart_UsedShapeChanged
  2319.   #endif
  2320. #endif
  2321. #ifndef SOMGD_pmc_parent_ODPart_UsedShapeChanged
  2322.   #ifdef parent_ODPart_UsedShapeChanged
  2323.     #define SOMGD_pmc_parent_ODPart_UsedShapeChanged
  2324.     #undef parent_ODPart_UsedShapeChanged
  2325.   #else
  2326.     #define parent_ODPart_UsedShapeChanged SimplePart_parent_ODPart_UsedShapeChanged
  2327.   #endif
  2328. #endif
  2329. #define SimplePart_parents_UsedShapeChanged(arg0,arg1) (\
  2330.    SimplePart_parent_ODPart_UsedShapeChanged(arg0,arg1))
  2331.  
  2332. /*
  2333.  * Overridden method: AdjustBorderShape
  2334.  */
  2335. SOM_Scope ODShape*  SOMLINK SimplePartAdjustBorderShape(SimplePart *somSelf, Environment *ev,
  2336.         ODFrame* embeddedFrame,
  2337.         ODShape* shape);
  2338. static char *somMN_SimplePartAdjustBorderShape = "ODPart::AdjustBorderShape";
  2339. static somId somId_SimplePartAdjustBorderShape = &somMN_SimplePartAdjustBorderShape;
  2340. #ifdef somId_AdjustBorderShape
  2341. #undef somId_AdjustBorderShape
  2342. #else
  2343. #define somId_AdjustBorderShape somId_SimplePartAdjustBorderShape
  2344. #endif
  2345. typedef ODShape*   (SOMLINK * somTD_xih_SimplePart_AdjustBorderShape)(SimplePart *somSelf, Environment *ev,
  2346.         ODFrame* embeddedFrame,
  2347.         ODShape* shape);
  2348. /* define the parent method call macro */
  2349. static somMethodProc* SimplePart_parent_ODPart_AdjustBorderShape_resolved = 0;
  2350. #define SimplePart_parent_ODPart_AdjustBorderShape(somSelf,ev,embeddedFrame,shape) \
  2351.   ((( somTD_xih_SimplePart_AdjustBorderShape ) \
  2352.     ((SimplePart_parent_ODPart_AdjustBorderShape_resolved)? \
  2353.       SimplePart_parent_ODPart_AdjustBorderShape_resolved : \
  2354.       (SimplePart_parent_ODPart_AdjustBorderShape_resolved = \
  2355.           somParentNumResolve(SimplePartCClassData.parentMtab, 1, ODPartClassData.AdjustBorderShape)))) \
  2356.    (somSelf,ev,embeddedFrame,shape))
  2357. /* define a variety of (possibly ambiguous) short forms */
  2358. #ifndef SOMGD_pmc_parent_AdjustBorderShape
  2359.   #ifdef parent_AdjustBorderShape
  2360.     #define SOMGD_pmc_parent_AdjustBorderShape
  2361.     #undef parent_AdjustBorderShape
  2362.   #else
  2363. #define parent_AdjustBorderShape SimplePart_parent_ODPart_AdjustBorderShape
  2364.   #endif
  2365. #endif
  2366. #ifndef SOMGD_pmc_parent_ODPart_AdjustBorderShape
  2367.   #ifdef parent_ODPart_AdjustBorderShape
  2368.     #define SOMGD_pmc_parent_ODPart_AdjustBorderShape
  2369.     #undef parent_ODPart_AdjustBorderShape
  2370.   #else
  2371.     #define parent_ODPart_AdjustBorderShape SimplePart_parent_ODPart_AdjustBorderShape
  2372.   #endif
  2373. #endif
  2374. #define SimplePart_parents_AdjustBorderShape(arg0,arg1,arg2) (\
  2375.    SimplePart_parent_ODPart_AdjustBorderShape(arg0,arg1,arg2))
  2376.  
  2377. /*
  2378.  * Overridden method: FacetAdded
  2379.  */
  2380. SOM_Scope void  SOMLINK SimplePartFacetAdded(SimplePart *somSelf, Environment *ev,
  2381.         ODFacet* facet);
  2382. static char *somMN_SimplePartFacetAdded = "ODPart::FacetAdded";
  2383. static somId somId_SimplePartFacetAdded = &somMN_SimplePartFacetAdded;
  2384. #ifdef somId_FacetAdded
  2385. #undef somId_FacetAdded
  2386. #else
  2387. #define somId_FacetAdded somId_SimplePartFacetAdded
  2388. #endif
  2389. typedef void   (SOMLINK * somTD_xih_SimplePart_FacetAdded)(SimplePart *somSelf, Environment *ev,
  2390.         ODFacet* facet);
  2391. /* define the parent method call macro */
  2392. static somMethodProc* SimplePart_parent_ODPart_FacetAdded_resolved = 0;
  2393. #define SimplePart_parent_ODPart_FacetAdded(somSelf,ev,facet) \
  2394.   ((( somTD_xih_SimplePart_FacetAdded ) \
  2395.     ((SimplePart_parent_ODPart_FacetAdded_resolved)? \
  2396.       SimplePart_parent_ODPart_FacetAdded_resolved : \
  2397.       (SimplePart_parent_ODPart_FacetAdded_resolved = \
  2398.           somParentNumResolve(SimplePartCClassData.parentMtab, 1, ODPartClassData.FacetAdded)))) \
  2399.    (somSelf,ev,facet))
  2400. /* define a variety of (possibly ambiguous) short forms */
  2401. #ifndef SOMGD_pmc_parent_FacetAdded
  2402.   #ifdef parent_FacetAdded
  2403.     #define SOMGD_pmc_parent_FacetAdded
  2404.     #undef parent_FacetAdded
  2405.   #else
  2406. #define parent_FacetAdded SimplePart_parent_ODPart_FacetAdded
  2407.   #endif
  2408. #endif
  2409. #ifndef SOMGD_pmc_parent_ODPart_FacetAdded
  2410.   #ifdef parent_ODPart_FacetAdded
  2411.     #define SOMGD_pmc_parent_ODPart_FacetAdded
  2412.     #undef parent_ODPart_FacetAdded
  2413.   #else
  2414.     #define parent_ODPart_FacetAdded SimplePart_parent_ODPart_FacetAdded
  2415.   #endif
  2416. #endif
  2417. #define SimplePart_parents_FacetAdded(arg0,arg1) (\
  2418.    SimplePart_parent_ODPart_FacetAdded(arg0,arg1))
  2419.  
  2420. /*
  2421.  * Overridden method: FacetRemoved
  2422.  */
  2423. SOM_Scope void  SOMLINK SimplePartFacetRemoved(SimplePart *somSelf, Environment *ev,
  2424.         ODFacet* facet);
  2425. static char *somMN_SimplePartFacetRemoved = "ODPart::FacetRemoved";
  2426. static somId somId_SimplePartFacetRemoved = &somMN_SimplePartFacetRemoved;
  2427. #ifdef somId_FacetRemoved
  2428. #undef somId_FacetRemoved
  2429. #else
  2430. #define somId_FacetRemoved somId_SimplePartFacetRemoved
  2431. #endif
  2432. typedef void   (SOMLINK * somTD_xih_SimplePart_FacetRemoved)(SimplePart *somSelf, Environment *ev,
  2433.         ODFacet* facet);
  2434. /* define the parent method call macro */
  2435. static somMethodProc* SimplePart_parent_ODPart_FacetRemoved_resolved = 0;
  2436. #define SimplePart_parent_ODPart_FacetRemoved(somSelf,ev,facet) \
  2437.   ((( somTD_xih_SimplePart_FacetRemoved ) \
  2438.     ((SimplePart_parent_ODPart_FacetRemoved_resolved)? \
  2439.       SimplePart_parent_ODPart_FacetRemoved_resolved : \
  2440.       (SimplePart_parent_ODPart_FacetRemoved_resolved = \
  2441.           somParentNumResolve(SimplePartCClassData.parentMtab, 1, ODPartClassData.FacetRemoved)))) \
  2442.    (somSelf,ev,facet))
  2443. /* define a variety of (possibly ambiguous) short forms */
  2444. #ifndef SOMGD_pmc_parent_FacetRemoved
  2445.   #ifdef parent_FacetRemoved
  2446.     #define SOMGD_pmc_parent_FacetRemoved
  2447.     #undef parent_FacetRemoved
  2448.   #else
  2449. #define parent_FacetRemoved SimplePart_parent_ODPart_FacetRemoved
  2450.   #endif
  2451. #endif
  2452. #ifndef SOMGD_pmc_parent_ODPart_FacetRemoved
  2453.   #ifdef parent_ODPart_FacetRemoved
  2454.     #define SOMGD_pmc_parent_ODPart_FacetRemoved
  2455.     #undef parent_ODPart_FacetRemoved
  2456.   #else
  2457.     #define parent_ODPart_FacetRemoved SimplePart_parent_ODPart_FacetRemoved
  2458.   #endif
  2459. #endif
  2460. #define SimplePart_parents_FacetRemoved(arg0,arg1) (\
  2461.    SimplePart_parent_ODPart_FacetRemoved(arg0,arg1))
  2462.  
  2463. /*
  2464.  * Overridden method: CanvasChanged
  2465.  */
  2466. SOM_Scope void  SOMLINK SimplePartCanvasChanged(SimplePart *somSelf, Environment *ev,
  2467.         ODFacet* facet);
  2468. static char *somMN_SimplePartCanvasChanged = "ODPart::CanvasChanged";
  2469. static somId somId_SimplePartCanvasChanged = &somMN_SimplePartCanvasChanged;
  2470. #ifdef somId_CanvasChanged
  2471. #undef somId_CanvasChanged
  2472. #else
  2473. #define somId_CanvasChanged somId_SimplePartCanvasChanged
  2474. #endif
  2475. typedef void   (SOMLINK * somTD_xih_SimplePart_CanvasChanged)(SimplePart *somSelf, Environment *ev,
  2476.         ODFacet* facet);
  2477. /* define the parent method call macro */
  2478. static somMethodProc* SimplePart_parent_ODPart_CanvasChanged_resolved = 0;
  2479. #define SimplePart_parent_ODPart_CanvasChanged(somSelf,ev,facet) \
  2480.   ((( somTD_xih_SimplePart_CanvasChanged ) \
  2481.     ((SimplePart_parent_ODPart_CanvasChanged_resolved)? \
  2482.       SimplePart_parent_ODPart_CanvasChanged_resolved : \
  2483.       (SimplePart_parent_ODPart_CanvasChanged_resolved = \
  2484.           somParentNumResolve(SimplePartCClassData.parentMtab, 1, ODPartClassData.CanvasChanged)))) \
  2485.    (somSelf,ev,facet))
  2486. /* define a variety of (possibly ambiguous) short forms */
  2487. #ifndef SOMGD_pmc_parent_CanvasChanged
  2488.   #ifdef parent_CanvasChanged
  2489.     #define SOMGD_pmc_parent_CanvasChanged
  2490.     #undef parent_CanvasChanged
  2491.   #else
  2492. #define parent_CanvasChanged SimplePart_parent_ODPart_CanvasChanged
  2493.   #endif
  2494. #endif
  2495. #ifndef SOMGD_pmc_parent_ODPart_CanvasChanged
  2496.   #ifdef parent_ODPart_CanvasChanged
  2497.     #define SOMGD_pmc_parent_ODPart_CanvasChanged
  2498.     #undef parent_ODPart_CanvasChanged
  2499.   #else
  2500.     #define parent_ODPart_CanvasChanged SimplePart_parent_ODPart_CanvasChanged
  2501.   #endif
  2502. #endif
  2503. #define SimplePart_parents_CanvasChanged(arg0,arg1) (\
  2504.    SimplePart_parent_ODPart_CanvasChanged(arg0,arg1))
  2505.  
  2506. /*
  2507.  * Overridden method: GeometryChanged
  2508.  */
  2509. SOM_Scope void  SOMLINK SimplePartGeometryChanged(SimplePart *somSelf, Environment *ev,
  2510.         ODFacet* facet);
  2511. static char *somMN_SimplePartGeometryChanged = "ODPart::GeometryChanged";
  2512. static somId somId_SimplePartGeometryChanged = &somMN_SimplePartGeometryChanged;
  2513. #ifdef somId_GeometryChanged
  2514. #undef somId_GeometryChanged
  2515. #else
  2516. #define somId_GeometryChanged somId_SimplePartGeometryChanged
  2517. #endif
  2518. typedef void   (SOMLINK * somTD_xih_SimplePart_GeometryChanged)(SimplePart *somSelf, Environment *ev,
  2519.         ODFacet* facet);
  2520. /* define the parent method call macro */
  2521. static somMethodProc* SimplePart_parent_ODPart_GeometryChanged_resolved = 0;
  2522. #define SimplePart_parent_ODPart_GeometryChanged(somSelf,ev,facet) \
  2523.   ((( somTD_xih_SimplePart_GeometryChanged ) \
  2524.     ((SimplePart_parent_ODPart_GeometryChanged_resolved)? \
  2525.       SimplePart_parent_ODPart_GeometryChanged_resolved : \
  2526.       (SimplePart_parent_ODPart_GeometryChanged_resolved = \
  2527.           somParentNumResolve(SimplePartCClassData.parentMtab, 1, ODPartClassData.GeometryChanged)))) \
  2528.    (somSelf,ev,facet))
  2529. /* define a variety of (possibly ambiguous) short forms */
  2530. #ifndef SOMGD_pmc_parent_GeometryChanged
  2531.   #ifdef parent_GeometryChanged
  2532.     #define SOMGD_pmc_parent_GeometryChanged
  2533.     #undef parent_GeometryChanged
  2534.   #else
  2535. #define parent_GeometryChanged SimplePart_parent_ODPart_GeometryChanged
  2536.   #endif
  2537. #endif
  2538. #ifndef SOMGD_pmc_parent_ODPart_GeometryChanged
  2539.   #ifdef parent_ODPart_GeometryChanged
  2540.     #define SOMGD_pmc_parent_ODPart_GeometryChanged
  2541.     #undef parent_ODPart_GeometryChanged
  2542.   #else
  2543.     #define parent_ODPart_GeometryChanged SimplePart_parent_ODPart_GeometryChanged
  2544.   #endif
  2545. #endif
  2546. #define SimplePart_parents_GeometryChanged(arg0,arg1) (\
  2547.    SimplePart_parent_ODPart_GeometryChanged(arg0,arg1))
  2548.  
  2549. /*
  2550.  * Overridden method: Draw
  2551.  */
  2552. SOM_Scope void  SOMLINK SimplePartDraw(SimplePart *somSelf, Environment *ev,
  2553.         ODFacet* facet,
  2554.         ODShape* invalidShape);
  2555. static char *somMN_SimplePartDraw = "ODPart::Draw";
  2556. static somId somId_SimplePartDraw = &somMN_SimplePartDraw;
  2557. #ifdef somId_Draw
  2558. #undef somId_Draw
  2559. #else
  2560. #define somId_Draw somId_SimplePartDraw
  2561. #endif
  2562. typedef void   (SOMLINK * somTD_xih_SimplePart_Draw)(SimplePart *somSelf, Environment *ev,
  2563.         ODFacet* facet,
  2564.         ODShape* invalidShape);
  2565. /* define the parent method call macro */
  2566. static somMethodProc* SimplePart_parent_ODPart_Draw_resolved = 0;
  2567. #define SimplePart_parent_ODPart_Draw(somSelf,ev,facet,invalidShape) \
  2568.   ((( somTD_xih_SimplePart_Draw ) \
  2569.     ((SimplePart_parent_ODPart_Draw_resolved)? \
  2570.       SimplePart_parent_ODPart_Draw_resolved : \
  2571.       (SimplePart_parent_ODPart_Draw_resolved = \
  2572.           somParentNumResolve(SimplePartCClassData.parentMtab, 1, ODPartClassData.Draw)))) \
  2573.    (somSelf,ev,facet,invalidShape))
  2574. /* define a variety of (possibly ambiguous) short forms */
  2575. #ifndef SOMGD_pmc_parent_Draw
  2576.   #ifdef parent_Draw
  2577.     #define SOMGD_pmc_parent_Draw
  2578.     #undef parent_Draw
  2579.   #else
  2580. #define parent_Draw SimplePart_parent_ODPart_Draw
  2581.   #endif
  2582. #endif
  2583. #ifndef SOMGD_pmc_parent_ODPart_Draw
  2584.   #ifdef parent_ODPart_Draw
  2585.     #define SOMGD_pmc_parent_ODPart_Draw
  2586.     #undef parent_ODPart_Draw
  2587.   #else
  2588.     #define parent_ODPart_Draw SimplePart_parent_ODPart_Draw
  2589.   #endif
  2590. #endif
  2591. #define SimplePart_parents_Draw(arg0,arg1,arg2) (\
  2592.    SimplePart_parent_ODPart_Draw(arg0,arg1,arg2))
  2593.  
  2594. /*
  2595.  * Overridden method: CanvasUpdated
  2596.  */
  2597. SOM_Scope void  SOMLINK SimplePartCanvasUpdated(SimplePart *somSelf, Environment *ev,
  2598.         ODCanvas* canvas);
  2599. static char *somMN_SimplePartCanvasUpdated = "ODPart::CanvasUpdated";
  2600. static somId somId_SimplePartCanvasUpdated = &somMN_SimplePartCanvasUpdated;
  2601. #ifdef somId_CanvasUpdated
  2602. #undef somId_CanvasUpdated
  2603. #else
  2604. #define somId_CanvasUpdated somId_SimplePartCanvasUpdated
  2605. #endif
  2606. typedef void   (SOMLINK * somTD_xih_SimplePart_CanvasUpdated)(SimplePart *somSelf, Environment *ev,
  2607.         ODCanvas* canvas);
  2608. /* define the parent method call macro */
  2609. static somMethodProc* SimplePart_parent_ODPart_CanvasUpdated_resolved = 0;
  2610. #define SimplePart_parent_ODPart_CanvasUpdated(somSelf,ev,canvas) \
  2611.   ((( somTD_xih_SimplePart_CanvasUpdated ) \
  2612.     ((SimplePart_parent_ODPart_CanvasUpdated_resolved)? \
  2613.       SimplePart_parent_ODPart_CanvasUpdated_resolved : \
  2614.       (SimplePart_parent_ODPart_CanvasUpdated_resolved = \
  2615.           somParentNumResolve(SimplePartCClassData.parentMtab, 1, ODPartClassData.CanvasUpdated)))) \
  2616.    (somSelf,ev,canvas))
  2617. /* define a variety of (possibly ambiguous) short forms */
  2618. #ifndef SOMGD_pmc_parent_CanvasUpdated
  2619.   #ifdef parent_CanvasUpdated
  2620.     #define SOMGD_pmc_parent_CanvasUpdated
  2621.     #undef parent_CanvasUpdated
  2622.   #else
  2623. #define parent_CanvasUpdated SimplePart_parent_ODPart_CanvasUpdated
  2624.   #endif
  2625. #endif
  2626. #ifndef SOMGD_pmc_parent_ODPart_CanvasUpdated
  2627.   #ifdef parent_ODPart_CanvasUpdated
  2628.     #define SOMGD_pmc_parent_ODPart_CanvasUpdated
  2629.     #undef parent_ODPart_CanvasUpdated
  2630.   #else
  2631.     #define parent_ODPart_CanvasUpdated SimplePart_parent_ODPart_CanvasUpdated
  2632.   #endif
  2633. #endif
  2634. #define SimplePart_parents_CanvasUpdated(arg0,arg1) (\
  2635.    SimplePart_parent_ODPart_CanvasUpdated(arg0,arg1))
  2636.  
  2637. /*
  2638.  * Overridden method: HighlightChanged
  2639.  */
  2640. SOM_Scope void  SOMLINK SimplePartHighlightChanged(SimplePart *somSelf, Environment *ev,
  2641.         ODFacet* facet);
  2642. static char *somMN_SimplePartHighlightChanged = "ODPart::HighlightChanged";
  2643. static somId somId_SimplePartHighlightChanged = &somMN_SimplePartHighlightChanged;
  2644. #ifdef somId_HighlightChanged
  2645. #undef somId_HighlightChanged
  2646. #else
  2647. #define somId_HighlightChanged somId_SimplePartHighlightChanged
  2648. #endif
  2649. typedef void   (SOMLINK * somTD_xih_SimplePart_HighlightChanged)(SimplePart *somSelf, Environment *ev,
  2650.         ODFacet* facet);
  2651. /* define the parent method call macro */
  2652. static somMethodProc* SimplePart_parent_ODPart_HighlightChanged_resolved = 0;
  2653. #define SimplePart_parent_ODPart_HighlightChanged(somSelf,ev,facet) \
  2654.   ((( somTD_xih_SimplePart_HighlightChanged ) \
  2655.     ((SimplePart_parent_ODPart_HighlightChanged_resolved)? \
  2656.       SimplePart_parent_ODPart_HighlightChanged_resolved : \
  2657.       (SimplePart_parent_ODPart_HighlightChanged_resolved = \
  2658.           somParentNumResolve(SimplePartCClassData.parentMtab, 1, ODPartClassData.HighlightChanged)))) \
  2659.    (somSelf,ev,facet))
  2660. /* define a variety of (possibly ambiguous) short forms */
  2661. #ifndef SOMGD_pmc_parent_HighlightChanged
  2662.   #ifdef parent_HighlightChanged
  2663.     #define SOMGD_pmc_parent_HighlightChanged
  2664.     #undef parent_HighlightChanged
  2665.   #else
  2666. #define parent_HighlightChanged SimplePart_parent_ODPart_HighlightChanged
  2667.   #endif
  2668. #endif
  2669. #ifndef SOMGD_pmc_parent_ODPart_HighlightChanged
  2670.   #ifdef parent_ODPart_HighlightChanged
  2671.     #define SOMGD_pmc_parent_ODPart_HighlightChanged
  2672.     #undef parent_ODPart_HighlightChanged
  2673.   #else
  2674.     #define parent_ODPart_HighlightChanged SimplePart_parent_ODPart_HighlightChanged
  2675.   #endif
  2676. #endif
  2677. #define SimplePart_parents_HighlightChanged(arg0,arg1) (\
  2678.    SimplePart_parent_ODPart_HighlightChanged(arg0,arg1))
  2679.  
  2680. /*
  2681.  * Overridden method: CreateLink
  2682.  */
  2683. SOM_Scope ODLink*  SOMLINK SimplePartCreateLink(SimplePart *somSelf, Environment *ev,
  2684.         ODPtr data,
  2685.         ODULong size);
  2686. static char *somMN_SimplePartCreateLink = "ODPart::CreateLink";
  2687. static somId somId_SimplePartCreateLink = &somMN_SimplePartCreateLink;
  2688. #ifdef somId_CreateLink
  2689. #undef somId_CreateLink
  2690. #else
  2691. #define somId_CreateLink somId_SimplePartCreateLink
  2692. #endif
  2693. typedef ODLink*   (SOMLINK * somTD_xih_SimplePart_CreateLink)(SimplePart *somSelf, Environment *ev,
  2694.         ODPtr data,
  2695.         ODULong size);
  2696. /* define the parent method call macro */
  2697. static somMethodProc* SimplePart_parent_ODPart_CreateLink_resolved = 0;
  2698. #define SimplePart_parent_ODPart_CreateLink(somSelf,ev,data,size) \
  2699.   ((( somTD_xih_SimplePart_CreateLink ) \
  2700.     ((SimplePart_parent_ODPart_CreateLink_resolved)? \
  2701.       SimplePart_parent_ODPart_CreateLink_resolved : \
  2702.       (SimplePart_parent_ODPart_CreateLink_resolved = \
  2703.           somParentNumResolve(SimplePartCClassData.parentMtab, 1, ODPartClassData.CreateLink)))) \
  2704.    (somSelf,ev,data,size))
  2705. /* define a variety of (possibly ambiguous) short forms */
  2706. #ifndef SOMGD_pmc_parent_CreateLink
  2707.   #ifdef parent_CreateLink
  2708.     #define SOMGD_pmc_parent_CreateLink
  2709.     #undef parent_CreateLink
  2710.   #else
  2711. #define parent_CreateLink SimplePart_parent_ODPart_CreateLink
  2712.   #endif
  2713. #endif
  2714. #ifndef SOMGD_pmc_parent_ODPart_CreateLink
  2715.   #ifdef parent_ODPart_CreateLink
  2716.     #define SOMGD_pmc_parent_ODPart_CreateLink
  2717.     #undef parent_ODPart_CreateLink
  2718.   #else
  2719.     #define parent_ODPart_CreateLink SimplePart_parent_ODPart_CreateLink
  2720.   #endif
  2721. #endif
  2722. #define SimplePart_parents_CreateLink(arg0,arg1,arg2) (\
  2723.    SimplePart_parent_ODPart_CreateLink(arg0,arg1,arg2))
  2724.  
  2725. /*
  2726.  * Overridden method: LinkUpdated
  2727.  */
  2728. SOM_Scope void  SOMLINK SimplePartLinkUpdated(SimplePart *somSelf, Environment *ev,
  2729.         ODLink* updatedLink,
  2730.         ODChangeID id);
  2731. static char *somMN_SimplePartLinkUpdated = "ODPart::LinkUpdated";
  2732. static somId somId_SimplePartLinkUpdated = &somMN_SimplePartLinkUpdated;
  2733. #ifdef somId_LinkUpdated
  2734. #undef somId_LinkUpdated
  2735. #else
  2736. #define somId_LinkUpdated somId_SimplePartLinkUpdated
  2737. #endif
  2738. typedef void   (SOMLINK * somTD_xih_SimplePart_LinkUpdated)(SimplePart *somSelf, Environment *ev,
  2739.         ODLink* updatedLink,
  2740.         ODChangeID id);
  2741. /* define the parent method call macro */
  2742. static somMethodProc* SimplePart_parent_ODPart_LinkUpdated_resolved = 0;
  2743. #define SimplePart_parent_ODPart_LinkUpdated(somSelf,ev,updatedLink,id) \
  2744.   ((( somTD_xih_SimplePart_LinkUpdated ) \
  2745.     ((SimplePart_parent_ODPart_LinkUpdated_resolved)? \
  2746.       SimplePart_parent_ODPart_LinkUpdated_resolved : \
  2747.       (SimplePart_parent_ODPart_LinkUpdated_resolved = \
  2748.           somParentNumResolve(SimplePartCClassData.parentMtab, 1, ODPartClassData.LinkUpdated)))) \
  2749.    (somSelf,ev,updatedLink,id))
  2750. /* define a variety of (possibly ambiguous) short forms */
  2751. #ifndef SOMGD_pmc_parent_LinkUpdated
  2752.   #ifdef parent_LinkUpdated
  2753.     #define SOMGD_pmc_parent_LinkUpdated
  2754.     #undef parent_LinkUpdated
  2755.   #else
  2756. #define parent_LinkUpdated SimplePart_parent_ODPart_LinkUpdated
  2757.   #endif
  2758. #endif
  2759. #ifndef SOMGD_pmc_parent_ODPart_LinkUpdated
  2760.   #ifdef parent_ODPart_LinkUpdated
  2761.     #define SOMGD_pmc_parent_ODPart_LinkUpdated
  2762.     #undef parent_ODPart_LinkUpdated
  2763.   #else
  2764.     #define parent_ODPart_LinkUpdated SimplePart_parent_ODPart_LinkUpdated
  2765.   #endif
  2766. #endif
  2767. #define SimplePart_parents_LinkUpdated(arg0,arg1,arg2) (\
  2768.    SimplePart_parent_ODPart_LinkUpdated(arg0,arg1,arg2))
  2769.  
  2770. /*
  2771.  * Overridden method: RevealLink
  2772.  */
  2773. SOM_Scope void  SOMLINK SimplePartRevealLink(SimplePart *somSelf, Environment *ev,
  2774.         ODLinkSource* linkSource);
  2775. static char *somMN_SimplePartRevealLink = "ODPart::RevealLink";
  2776. static somId somId_SimplePartRevealLink = &somMN_SimplePartRevealLink;
  2777. #ifdef somId_RevealLink
  2778. #undef somId_RevealLink
  2779. #else
  2780. #define somId_RevealLink somId_SimplePartRevealLink
  2781. #endif
  2782. typedef void   (SOMLINK * somTD_xih_SimplePart_RevealLink)(SimplePart *somSelf, Environment *ev,
  2783.         ODLinkSource* linkSource);
  2784. /* define the parent method call macro */
  2785. static somMethodProc* SimplePart_parent_ODPart_RevealLink_resolved = 0;
  2786. #define SimplePart_parent_ODPart_RevealLink(somSelf,ev,linkSource) \
  2787.   ((( somTD_xih_SimplePart_RevealLink ) \
  2788.     ((SimplePart_parent_ODPart_RevealLink_resolved)? \
  2789.       SimplePart_parent_ODPart_RevealLink_resolved : \
  2790.       (SimplePart_parent_ODPart_RevealLink_resolved = \
  2791.           somParentNumResolve(SimplePartCClassData.parentMtab, 1, ODPartClassData.RevealLink)))) \
  2792.    (somSelf,ev,linkSource))
  2793. /* define a variety of (possibly ambiguous) short forms */
  2794. #ifndef SOMGD_pmc_parent_RevealLink
  2795.   #ifdef parent_RevealLink
  2796.     #define SOMGD_pmc_parent_RevealLink
  2797.     #undef parent_RevealLink
  2798.   #else
  2799. #define parent_RevealLink SimplePart_parent_ODPart_RevealLink
  2800.   #endif
  2801. #endif
  2802. #ifndef SOMGD_pmc_parent_ODPart_RevealLink
  2803.   #ifdef parent_ODPart_RevealLink
  2804.     #define SOMGD_pmc_parent_ODPart_RevealLink
  2805.     #undef parent_ODPart_RevealLink
  2806.   #else
  2807.     #define parent_ODPart_RevealLink SimplePart_parent_ODPart_RevealLink
  2808.   #endif
  2809. #endif
  2810. #define SimplePart_parents_RevealLink(arg0,arg1) (\
  2811.    SimplePart_parent_ODPart_RevealLink(arg0,arg1))
  2812.  
  2813. /*
  2814.  * Overridden method: EmbeddedFrameChanged
  2815.  */
  2816. SOM_Scope void  SOMLINK SimplePartEmbeddedFrameChanged(SimplePart *somSelf, Environment *ev,
  2817.         ODFrame* frame,
  2818.         ODChangeID change);
  2819. static char *somMN_SimplePartEmbeddedFrameChanged = "ODPart::EmbeddedFrameChanged";
  2820. static somId somId_SimplePartEmbeddedFrameChanged = &somMN_SimplePartEmbeddedFrameChanged;
  2821. #ifdef somId_EmbeddedFrameChanged
  2822. #undef somId_EmbeddedFrameChanged
  2823. #else
  2824. #define somId_EmbeddedFrameChanged somId_SimplePartEmbeddedFrameChanged
  2825. #endif
  2826. typedef void   (SOMLINK * somTD_xih_SimplePart_EmbeddedFrameChanged)(SimplePart *somSelf, Environment *ev,
  2827.         ODFrame* frame,
  2828.         ODChangeID change);
  2829. /* define the parent method call macro */
  2830. static somMethodProc* SimplePart_parent_ODPart_EmbeddedFrameChanged_resolved = 0;
  2831. #define SimplePart_parent_ODPart_EmbeddedFrameChanged(somSelf,ev,frame,change) \
  2832.   ((( somTD_xih_SimplePart_EmbeddedFrameChanged ) \
  2833.     ((SimplePart_parent_ODPart_EmbeddedFrameChanged_resolved)? \
  2834.       SimplePart_parent_ODPart_EmbeddedFrameChanged_resolved : \
  2835.       (SimplePart_parent_ODPart_EmbeddedFrameChanged_resolved = \
  2836.           somParentNumResolve(SimplePartCClassData.parentMtab, 1, ODPartClassData.EmbeddedFrameChanged)))) \
  2837.    (somSelf,ev,frame,change))
  2838. /* define a variety of (possibly ambiguous) short forms */
  2839. #ifndef SOMGD_pmc_parent_EmbeddedFrameChanged
  2840.   #ifdef parent_EmbeddedFrameChanged
  2841.     #define SOMGD_pmc_parent_EmbeddedFrameChanged
  2842.     #undef parent_EmbeddedFrameChanged
  2843.   #else
  2844. #define parent_EmbeddedFrameChanged SimplePart_parent_ODPart_EmbeddedFrameChanged
  2845.   #endif
  2846. #endif
  2847. #ifndef SOMGD_pmc_parent_ODPart_EmbeddedFrameChanged
  2848.   #ifdef parent_ODPart_EmbeddedFrameChanged
  2849.     #define SOMGD_pmc_parent_ODPart_EmbeddedFrameChanged
  2850.     #undef parent_ODPart_EmbeddedFrameChanged
  2851.   #else
  2852.     #define parent_ODPart_EmbeddedFrameChanged SimplePart_parent_ODPart_EmbeddedFrameChanged
  2853.   #endif
  2854. #endif
  2855. #define SimplePart_parents_EmbeddedFrameChanged(arg0,arg1,arg2) (\
  2856.    SimplePart_parent_ODPart_EmbeddedFrameChanged(arg0,arg1,arg2))
  2857.  
  2858. /*
  2859.  * Overridden method: LinkStatusChanged
  2860.  */
  2861. SOM_Scope void  SOMLINK SimplePartLinkStatusChanged(SimplePart *somSelf, Environment *ev,
  2862.         ODFrame* frame);
  2863. static char *somMN_SimplePartLinkStatusChanged = "ODPart::LinkStatusChanged";
  2864. static somId somId_SimplePartLinkStatusChanged = &somMN_SimplePartLinkStatusChanged;
  2865. #ifdef somId_LinkStatusChanged
  2866. #undef somId_LinkStatusChanged
  2867. #else
  2868. #define somId_LinkStatusChanged somId_SimplePartLinkStatusChanged
  2869. #endif
  2870. typedef void   (SOMLINK * somTD_xih_SimplePart_LinkStatusChanged)(SimplePart *somSelf, Environment *ev,
  2871.         ODFrame* frame);
  2872. /* define the parent method call macro */
  2873. static somMethodProc* SimplePart_parent_ODPart_LinkStatusChanged_resolved = 0;
  2874. #define SimplePart_parent_ODPart_LinkStatusChanged(somSelf,ev,frame) \
  2875.   ((( somTD_xih_SimplePart_LinkStatusChanged ) \
  2876.     ((SimplePart_parent_ODPart_LinkStatusChanged_resolved)? \
  2877.       SimplePart_parent_ODPart_LinkStatusChanged_resolved : \
  2878.       (SimplePart_parent_ODPart_LinkStatusChanged_resolved = \
  2879.           somParentNumResolve(SimplePartCClassData.parentMtab, 1, ODPartClassData.LinkStatusChanged)))) \
  2880.    (somSelf,ev,frame))
  2881. /* define a variety of (possibly ambiguous) short forms */
  2882. #ifndef SOMGD_pmc_parent_LinkStatusChanged
  2883.   #ifdef parent_LinkStatusChanged
  2884.     #define SOMGD_pmc_parent_LinkStatusChanged
  2885.     #undef parent_LinkStatusChanged
  2886.   #else
  2887. #define parent_LinkStatusChanged SimplePart_parent_ODPart_LinkStatusChanged
  2888.   #endif
  2889. #endif
  2890. #ifndef SOMGD_pmc_parent_ODPart_LinkStatusChanged
  2891.   #ifdef parent_ODPart_LinkStatusChanged
  2892.     #define SOMGD_pmc_parent_ODPart_LinkStatusChanged
  2893.     #undef parent_ODPart_LinkStatusChanged
  2894.   #else
  2895.     #define parent_ODPart_LinkStatusChanged SimplePart_parent_ODPart_LinkStatusChanged
  2896.   #endif
  2897. #endif
  2898. #define SimplePart_parents_LinkStatusChanged(arg0,arg1) (\
  2899.    SimplePart_parent_ODPart_LinkStatusChanged(arg0,arg1))
  2900.  
  2901. /*
  2902.  * Overridden method: BeginRelinquishFocus
  2903.  */
  2904. SOM_Scope ODBoolean  SOMLINK SimplePartBeginRelinquishFocus(SimplePart *somSelf, Environment *ev,
  2905.         ODTypeToken focus,
  2906.         ODFrame* ownerFrame,
  2907.         ODFrame* proposedFrame);
  2908. static char *somMN_SimplePartBeginRelinquishFocus = "ODPart::BeginRelinquishFocus";
  2909. static somId somId_SimplePartBeginRelinquishFocus = &somMN_SimplePartBeginRelinquishFocus;
  2910. #ifdef somId_BeginRelinquishFocus
  2911. #undef somId_BeginRelinquishFocus
  2912. #else
  2913. #define somId_BeginRelinquishFocus somId_SimplePartBeginRelinquishFocus
  2914. #endif
  2915. typedef ODBoolean   (SOMLINK * somTD_xih_SimplePart_BeginRelinquishFocus)(SimplePart *somSelf, Environment *ev,
  2916.         ODTypeToken focus,
  2917.         ODFrame* ownerFrame,
  2918.         ODFrame* proposedFrame);
  2919. /* define the parent method call macro */
  2920. static somMethodProc* SimplePart_parent_ODPart_BeginRelinquishFocus_resolved = 0;
  2921. #define SimplePart_parent_ODPart_BeginRelinquishFocus(somSelf,ev,focus,ownerFrame,proposedFrame) \
  2922.   ((( somTD_xih_SimplePart_BeginRelinquishFocus ) \
  2923.     ((SimplePart_parent_ODPart_BeginRelinquishFocus_resolved)? \
  2924.       SimplePart_parent_ODPart_BeginRelinquishFocus_resolved : \
  2925.       (SimplePart_parent_ODPart_BeginRelinquishFocus_resolved = \
  2926.           somParentNumResolve(SimplePartCClassData.parentMtab, 1, ODPartClassData.BeginRelinquishFocus)))) \
  2927.    (somSelf,ev,focus,ownerFrame,proposedFrame))
  2928. /* define a variety of (possibly ambiguous) short forms */
  2929. #ifndef SOMGD_pmc_parent_BeginRelinquishFocus
  2930.   #ifdef parent_BeginRelinquishFocus
  2931.     #define SOMGD_pmc_parent_BeginRelinquishFocus
  2932.     #undef parent_BeginRelinquishFocus
  2933.   #else
  2934. #define parent_BeginRelinquishFocus SimplePart_parent_ODPart_BeginRelinquishFocus
  2935.   #endif
  2936. #endif
  2937. #ifndef SOMGD_pmc_parent_ODPart_BeginRelinquishFocus
  2938.   #ifdef parent_ODPart_BeginRelinquishFocus
  2939.     #define SOMGD_pmc_parent_ODPart_BeginRelinquishFocus
  2940.     #undef parent_ODPart_BeginRelinquishFocus
  2941.   #else
  2942.     #define parent_ODPart_BeginRelinquishFocus SimplePart_parent_ODPart_BeginRelinquishFocus
  2943.   #endif
  2944. #endif
  2945. #define SimplePart_parents_BeginRelinquishFocus(arg0,arg1,arg2,arg3) (\
  2946.    SimplePart_parent_ODPart_BeginRelinquishFocus(arg0,arg1,arg2,arg3))
  2947.  
  2948. /*
  2949.  * Overridden method: CommitRelinquishFocus
  2950.  */
  2951. SOM_Scope void  SOMLINK SimplePartCommitRelinquishFocus(SimplePart *somSelf, Environment *ev,
  2952.         ODTypeToken focus,
  2953.         ODFrame* ownerFrame,
  2954.         ODFrame* proposedFrame);
  2955. static char *somMN_SimplePartCommitRelinquishFocus = "ODPart::CommitRelinquishFocus";
  2956. static somId somId_SimplePartCommitRelinquishFocus = &somMN_SimplePartCommitRelinquishFocus;
  2957. #ifdef somId_CommitRelinquishFocus
  2958. #undef somId_CommitRelinquishFocus
  2959. #else
  2960. #define somId_CommitRelinquishFocus somId_SimplePartCommitRelinquishFocus
  2961. #endif
  2962. typedef void   (SOMLINK * somTD_xih_SimplePart_CommitRelinquishFocus)(SimplePart *somSelf, Environment *ev,
  2963.         ODTypeToken focus,
  2964.         ODFrame* ownerFrame,
  2965.         ODFrame* proposedFrame);
  2966. /* define the parent method call macro */
  2967. static somMethodProc* SimplePart_parent_ODPart_CommitRelinquishFocus_resolved = 0;
  2968. #define SimplePart_parent_ODPart_CommitRelinquishFocus(somSelf,ev,focus,ownerFrame,proposedFrame) \
  2969.   ((( somTD_xih_SimplePart_CommitRelinquishFocus ) \
  2970.     ((SimplePart_parent_ODPart_CommitRelinquishFocus_resolved)? \
  2971.       SimplePart_parent_ODPart_CommitRelinquishFocus_resolved : \
  2972.       (SimplePart_parent_ODPart_CommitRelinquishFocus_resolved = \
  2973.           somParentNumResolve(SimplePartCClassData.parentMtab, 1, ODPartClassData.CommitRelinquishFocus)))) \
  2974.    (somSelf,ev,focus,ownerFrame,proposedFrame))
  2975. /* define a variety of (possibly ambiguous) short forms */
  2976. #ifndef SOMGD_pmc_parent_CommitRelinquishFocus
  2977.   #ifdef parent_CommitRelinquishFocus
  2978.     #define SOMGD_pmc_parent_CommitRelinquishFocus
  2979.     #undef parent_CommitRelinquishFocus
  2980.   #else
  2981. #define parent_CommitRelinquishFocus SimplePart_parent_ODPart_CommitRelinquishFocus
  2982.   #endif
  2983. #endif
  2984. #ifndef SOMGD_pmc_parent_ODPart_CommitRelinquishFocus
  2985.   #ifdef parent_ODPart_CommitRelinquishFocus
  2986.     #define SOMGD_pmc_parent_ODPart_CommitRelinquishFocus
  2987.     #undef parent_ODPart_CommitRelinquishFocus
  2988.   #else
  2989.     #define parent_ODPart_CommitRelinquishFocus SimplePart_parent_ODPart_CommitRelinquishFocus
  2990.   #endif
  2991. #endif
  2992. #define SimplePart_parents_CommitRelinquishFocus(arg0,arg1,arg2,arg3) (\
  2993.    SimplePart_parent_ODPart_CommitRelinquishFocus(arg0,arg1,arg2,arg3))
  2994.  
  2995. /*
  2996.  * Overridden method: AbortRelinquishFocus
  2997.  */
  2998. SOM_Scope void  SOMLINK SimplePartAbortRelinquishFocus(SimplePart *somSelf, Environment *ev,
  2999.         ODTypeToken focus,
  3000.         ODFrame* ownerFrame,
  3001.         ODFrame* proposedFrame);
  3002. static char *somMN_SimplePartAbortRelinquishFocus = "ODPart::AbortRelinquishFocus";
  3003. static somId somId_SimplePartAbortRelinquishFocus = &somMN_SimplePartAbortRelinquishFocus;
  3004. #ifdef somId_AbortRelinquishFocus
  3005. #undef somId_AbortRelinquishFocus
  3006. #else
  3007. #define somId_AbortRelinquishFocus somId_SimplePartAbortRelinquishFocus
  3008. #endif
  3009. typedef void   (SOMLINK * somTD_xih_SimplePart_AbortRelinquishFocus)(SimplePart *somSelf, Environment *ev,
  3010.         ODTypeToken focus,
  3011.         ODFrame* ownerFrame,
  3012.         ODFrame* proposedFrame);
  3013. /* define the parent method call macro */
  3014. static somMethodProc* SimplePart_parent_ODPart_AbortRelinquishFocus_resolved = 0;
  3015. #define SimplePart_parent_ODPart_AbortRelinquishFocus(somSelf,ev,focus,ownerFrame,proposedFrame) \
  3016.   ((( somTD_xih_SimplePart_AbortRelinquishFocus ) \
  3017.     ((SimplePart_parent_ODPart_AbortRelinquishFocus_resolved)? \
  3018.       SimplePart_parent_ODPart_AbortRelinquishFocus_resolved : \
  3019.       (SimplePart_parent_ODPart_AbortRelinquishFocus_resolved = \
  3020.           somParentNumResolve(SimplePartCClassData.parentMtab, 1, ODPartClassData.AbortRelinquishFocus)))) \
  3021.    (somSelf,ev,focus,ownerFrame,proposedFrame))
  3022. /* define a variety of (possibly ambiguous) short forms */
  3023. #ifndef SOMGD_pmc_parent_AbortRelinquishFocus
  3024.   #ifdef parent_AbortRelinquishFocus
  3025.     #define SOMGD_pmc_parent_AbortRelinquishFocus
  3026.     #undef parent_AbortRelinquishFocus
  3027.   #else
  3028. #define parent_AbortRelinquishFocus SimplePart_parent_ODPart_AbortRelinquishFocus
  3029.   #endif
  3030. #endif
  3031. #ifndef SOMGD_pmc_parent_ODPart_AbortRelinquishFocus
  3032.   #ifdef parent_ODPart_AbortRelinquishFocus
  3033.     #define SOMGD_pmc_parent_ODPart_AbortRelinquishFocus
  3034.     #undef parent_ODPart_AbortRelinquishFocus
  3035.   #else
  3036.     #define parent_ODPart_AbortRelinquishFocus SimplePart_parent_ODPart_AbortRelinquishFocus
  3037.   #endif
  3038. #endif
  3039. #define SimplePart_parents_AbortRelinquishFocus(arg0,arg1,arg2,arg3) (\
  3040.    SimplePart_parent_ODPart_AbortRelinquishFocus(arg0,arg1,arg2,arg3))
  3041.  
  3042. /*
  3043.  * Overridden method: FocusAcquired
  3044.  */
  3045. SOM_Scope void  SOMLINK SimplePartFocusAcquired(SimplePart *somSelf, Environment *ev,
  3046.         ODTypeToken focus,
  3047.         ODFrame* ownerFrame);
  3048. static char *somMN_SimplePartFocusAcquired = "ODPart::FocusAcquired";
  3049. static somId somId_SimplePartFocusAcquired = &somMN_SimplePartFocusAcquired;
  3050. #ifdef somId_FocusAcquired
  3051. #undef somId_FocusAcquired
  3052. #else
  3053. #define somId_FocusAcquired somId_SimplePartFocusAcquired
  3054. #endif
  3055. typedef void   (SOMLINK * somTD_xih_SimplePart_FocusAcquired)(SimplePart *somSelf, Environment *ev,
  3056.         ODTypeToken focus,
  3057.         ODFrame* ownerFrame);
  3058. /* define the parent method call macro */
  3059. static somMethodProc* SimplePart_parent_ODPart_FocusAcquired_resolved = 0;
  3060. #define SimplePart_parent_ODPart_FocusAcquired(somSelf,ev,focus,ownerFrame) \
  3061.   ((( somTD_xih_SimplePart_FocusAcquired ) \
  3062.     ((SimplePart_parent_ODPart_FocusAcquired_resolved)? \
  3063.       SimplePart_parent_ODPart_FocusAcquired_resolved : \
  3064.       (SimplePart_parent_ODPart_FocusAcquired_resolved = \
  3065.           somParentNumResolve(SimplePartCClassData.parentMtab, 1, ODPartClassData.FocusAcquired)))) \
  3066.    (somSelf,ev,focus,ownerFrame))
  3067. /* define a variety of (possibly ambiguous) short forms */
  3068. #ifndef SOMGD_pmc_parent_FocusAcquired
  3069.   #ifdef parent_FocusAcquired
  3070.     #define SOMGD_pmc_parent_FocusAcquired
  3071.     #undef parent_FocusAcquired
  3072.   #else
  3073. #define parent_FocusAcquired SimplePart_parent_ODPart_FocusAcquired
  3074.   #endif
  3075. #endif
  3076. #ifndef SOMGD_pmc_parent_ODPart_FocusAcquired
  3077.   #ifdef parent_ODPart_FocusAcquired
  3078.     #define SOMGD_pmc_parent_ODPart_FocusAcquired
  3079.     #undef parent_ODPart_FocusAcquired
  3080.   #else
  3081.     #define parent_ODPart_FocusAcquired SimplePart_parent_ODPart_FocusAcquired
  3082.   #endif
  3083. #endif
  3084. #define SimplePart_parents_FocusAcquired(arg0,arg1,arg2) (\
  3085.    SimplePart_parent_ODPart_FocusAcquired(arg0,arg1,arg2))
  3086.  
  3087. /*
  3088.  * Overridden method: FocusLost
  3089.  */
  3090. SOM_Scope void  SOMLINK SimplePartFocusLost(SimplePart *somSelf, Environment *ev,
  3091.         ODTypeToken focus,
  3092.         ODFrame* ownerFrame);
  3093. static char *somMN_SimplePartFocusLost = "ODPart::FocusLost";
  3094. static somId somId_SimplePartFocusLost = &somMN_SimplePartFocusLost;
  3095. #ifdef somId_FocusLost
  3096. #undef somId_FocusLost
  3097. #else
  3098. #define somId_FocusLost somId_SimplePartFocusLost
  3099. #endif
  3100. typedef void   (SOMLINK * somTD_xih_SimplePart_FocusLost)(SimplePart *somSelf, Environment *ev,
  3101.         ODTypeToken focus,
  3102.         ODFrame* ownerFrame);
  3103. /* define the parent method call macro */
  3104. static somMethodProc* SimplePart_parent_ODPart_FocusLost_resolved = 0;
  3105. #define SimplePart_parent_ODPart_FocusLost(somSelf,ev,focus,ownerFrame) \
  3106.   ((( somTD_xih_SimplePart_FocusLost ) \
  3107.     ((SimplePart_parent_ODPart_FocusLost_resolved)? \
  3108.       SimplePart_parent_ODPart_FocusLost_resolved : \
  3109.       (SimplePart_parent_ODPart_FocusLost_resolved = \
  3110.           somParentNumResolve(SimplePartCClassData.parentMtab, 1, ODPartClassData.FocusLost)))) \
  3111.    (somSelf,ev,focus,ownerFrame))
  3112. /* define a variety of (possibly ambiguous) short forms */
  3113. #ifndef SOMGD_pmc_parent_FocusLost
  3114.   #ifdef parent_FocusLost
  3115.     #define SOMGD_pmc_parent_FocusLost
  3116.     #undef parent_FocusLost
  3117.   #else
  3118. #define parent_FocusLost SimplePart_parent_ODPart_FocusLost
  3119.   #endif
  3120. #endif
  3121. #ifndef SOMGD_pmc_parent_ODPart_FocusLost
  3122.   #ifdef parent_ODPart_FocusLost
  3123.     #define SOMGD_pmc_parent_ODPart_FocusLost
  3124.     #undef parent_ODPart_FocusLost
  3125.   #else
  3126.     #define parent_ODPart_FocusLost SimplePart_parent_ODPart_FocusLost
  3127.   #endif
  3128. #endif
  3129. #define SimplePart_parents_FocusLost(arg0,arg1,arg2) (\
  3130.    SimplePart_parent_ODPart_FocusLost(arg0,arg1,arg2))
  3131.  
  3132. /*
  3133.  * Overridden method: CloneInto
  3134.  */
  3135. SOM_Scope void  SOMLINK SimplePartCloneInto(SimplePart *somSelf, Environment *ev,
  3136.         ODDraftKey key,
  3137.         ODStorageUnit* storageUnit,
  3138.         ODStorageUnit* initiatingFrame);
  3139. static char *somMN_SimplePartCloneInto = "ODPart::CloneInto";
  3140. static somId somId_SimplePartCloneInto = &somMN_SimplePartCloneInto;
  3141. #ifdef somId_CloneInto
  3142. #undef somId_CloneInto
  3143. #else
  3144. #define somId_CloneInto somId_SimplePartCloneInto
  3145. #endif
  3146. typedef void   (SOMLINK * somTD_xih_SimplePart_CloneInto)(SimplePart *somSelf, Environment *ev,
  3147.         ODDraftKey key,
  3148.         ODStorageUnit* storageUnit,
  3149.         ODStorageUnit* initiatingFrame);
  3150. /* define the parent method call macro */
  3151. static somMethodProc* SimplePart_parent_ODPart_CloneInto_resolved = 0;
  3152. #define SimplePart_parent_ODPart_CloneInto(somSelf,ev,key,storageUnit,initiatingFrame) \
  3153.   ((( somTD_xih_SimplePart_CloneInto ) \
  3154.     ((SimplePart_parent_ODPart_CloneInto_resolved)? \
  3155.       SimplePart_parent_ODPart_CloneInto_resolved : \
  3156.       (SimplePart_parent_ODPart_CloneInto_resolved = \
  3157.           somParentNumResolve(SimplePartCClassData.parentMtab, 1, ODPartClassData.CloneInto)))) \
  3158.    (somSelf,ev,key,storageUnit,initiatingFrame))
  3159. /* define a variety of (possibly ambiguous) short forms */
  3160. #ifndef SOMGD_pmc_parent_CloneInto
  3161.   #ifdef parent_CloneInto
  3162.     #define SOMGD_pmc_parent_CloneInto
  3163.     #undef parent_CloneInto
  3164.   #else
  3165. #define parent_CloneInto SimplePart_parent_ODPart_CloneInto
  3166.   #endif
  3167. #endif
  3168. #ifndef SOMGD_pmc_parent_ODPart_CloneInto
  3169.   #ifdef parent_ODPart_CloneInto
  3170.     #define SOMGD_pmc_parent_ODPart_CloneInto
  3171.     #undef parent_ODPart_CloneInto
  3172.   #else
  3173.     #define parent_ODPart_CloneInto SimplePart_parent_ODPart_CloneInto
  3174.   #endif
  3175. #endif
  3176. #define SimplePart_parents_CloneInto(arg0,arg1,arg2,arg3) (\
  3177.    SimplePart_parent_ODPart_CloneInto(arg0,arg1,arg2,arg3))
  3178.  
  3179. /*
  3180.  * Overridden method: ExternalizeKinds
  3181.  */
  3182. SOM_Scope void  SOMLINK SimplePartExternalizeKinds(SimplePart *somSelf, Environment *ev,
  3183.         ODTypeList* kindset);
  3184. static char *somMN_SimplePartExternalizeKinds = "ODPart::ExternalizeKinds";
  3185. static somId somId_SimplePartExternalizeKinds = &somMN_SimplePartExternalizeKinds;
  3186. #ifdef somId_ExternalizeKinds
  3187. #undef somId_ExternalizeKinds
  3188. #else
  3189. #define somId_ExternalizeKinds somId_SimplePartExternalizeKinds
  3190. #endif
  3191. typedef void   (SOMLINK * somTD_xih_SimplePart_ExternalizeKinds)(SimplePart *somSelf, Environment *ev,
  3192.         ODTypeList* kindset);
  3193. /* define the parent method call macro */
  3194. static somMethodProc* SimplePart_parent_ODPart_ExternalizeKinds_resolved = 0;
  3195. #define SimplePart_parent_ODPart_ExternalizeKinds(somSelf,ev,kindset) \
  3196.   ((( somTD_xih_SimplePart_ExternalizeKinds ) \
  3197.     ((SimplePart_parent_ODPart_ExternalizeKinds_resolved)? \
  3198.       SimplePart_parent_ODPart_ExternalizeKinds_resolved : \
  3199.       (SimplePart_parent_ODPart_ExternalizeKinds_resolved = \
  3200.           somParentNumResolve(SimplePartCClassData.parentMtab, 1, ODPartClassData.ExternalizeKinds)))) \
  3201.    (somSelf,ev,kindset))
  3202. /* define a variety of (possibly ambiguous) short forms */
  3203. #ifndef SOMGD_pmc_parent_ExternalizeKinds
  3204.   #ifdef parent_ExternalizeKinds
  3205.     #define SOMGD_pmc_parent_ExternalizeKinds
  3206.     #undef parent_ExternalizeKinds
  3207.   #else
  3208. #define parent_ExternalizeKinds SimplePart_parent_ODPart_ExternalizeKinds
  3209.   #endif
  3210. #endif
  3211. #ifndef SOMGD_pmc_parent_ODPart_ExternalizeKinds
  3212.   #ifdef parent_ODPart_ExternalizeKinds
  3213.     #define SOMGD_pmc_parent_ODPart_ExternalizeKinds
  3214.     #undef parent_ODPart_ExternalizeKinds
  3215.   #else
  3216.     #define parent_ODPart_ExternalizeKinds SimplePart_parent_ODPart_ExternalizeKinds
  3217.   #endif
  3218. #endif
  3219. #define SimplePart_parents_ExternalizeKinds(arg0,arg1) (\
  3220.    SimplePart_parent_ODPart_ExternalizeKinds(arg0,arg1))
  3221.  
  3222. /*
  3223.  * Overridden method: Externalize
  3224.  */
  3225. SOM_Scope void  SOMLINK SimplePartExternalize(SimplePart *somSelf, Environment *ev);
  3226. static char *somMN_SimplePartExternalize = "ODPersistentObject::Externalize";
  3227. static somId somId_SimplePartExternalize = &somMN_SimplePartExternalize;
  3228. #ifdef somId_Externalize
  3229. #undef somId_Externalize
  3230. #else
  3231. #define somId_Externalize somId_SimplePartExternalize
  3232. #endif
  3233. typedef void   (SOMLINK * somTD_xih_SimplePart_Externalize)(SimplePart *somSelf, Environment *ev);
  3234. /* define the parent method call macro */
  3235. static somMethodProc* SimplePart_parent_ODPart_Externalize_resolved = 0;
  3236. #define SimplePart_parent_ODPart_Externalize(somSelf,ev) \
  3237.   ((( somTD_xih_SimplePart_Externalize ) \
  3238.     ((SimplePart_parent_ODPart_Externalize_resolved)? \
  3239.       SimplePart_parent_ODPart_Externalize_resolved : \
  3240.       (SimplePart_parent_ODPart_Externalize_resolved = \
  3241.           somParentNumResolve(SimplePartCClassData.parentMtab, 1, ODPersistentObjectClassData.Externalize)))) \
  3242.    (somSelf,ev))
  3243. /* define a variety of (possibly ambiguous) short forms */
  3244. #ifndef SOMGD_pmc_parent_Externalize
  3245.   #ifdef parent_Externalize
  3246.     #define SOMGD_pmc_parent_Externalize
  3247.     #undef parent_Externalize
  3248.   #else
  3249. #define parent_Externalize SimplePart_parent_ODPart_Externalize
  3250.   #endif
  3251. #endif
  3252. #ifndef SOMGD_pmc_parent_ODPart_Externalize
  3253.   #ifdef parent_ODPart_Externalize
  3254.     #define SOMGD_pmc_parent_ODPart_Externalize
  3255.     #undef parent_ODPart_Externalize
  3256.   #else
  3257.     #define parent_ODPart_Externalize SimplePart_parent_ODPart_Externalize
  3258.   #endif
  3259. #endif
  3260. #define SimplePart_parents_Externalize(arg0) (\
  3261.    SimplePart_parent_ODPart_Externalize(arg0))
  3262.  
  3263. /*
  3264.  * Overridden method: ChangeKind
  3265.  */
  3266. SOM_Scope void  SOMLINK SimplePartChangeKind(SimplePart *somSelf, Environment *ev,
  3267.         ODType kind);
  3268. static char *somMN_SimplePartChangeKind = "ODPart::ChangeKind";
  3269. static somId somId_SimplePartChangeKind = &somMN_SimplePartChangeKind;
  3270. #ifdef somId_ChangeKind
  3271. #undef somId_ChangeKind
  3272. #else
  3273. #define somId_ChangeKind somId_SimplePartChangeKind
  3274. #endif
  3275. typedef void   (SOMLINK * somTD_xih_SimplePart_ChangeKind)(SimplePart *somSelf, Environment *ev,
  3276.         ODType kind);
  3277. /* define the parent method call macro */
  3278. static somMethodProc* SimplePart_parent_ODPart_ChangeKind_resolved = 0;
  3279. #define SimplePart_parent_ODPart_ChangeKind(somSelf,ev,kind) \
  3280.   ((( somTD_xih_SimplePart_ChangeKind ) \
  3281.     ((SimplePart_parent_ODPart_ChangeKind_resolved)? \
  3282.       SimplePart_parent_ODPart_ChangeKind_resolved : \
  3283.       (SimplePart_parent_ODPart_ChangeKind_resolved = \
  3284.           somParentNumResolve(SimplePartCClassData.parentMtab, 1, ODPartClassData.ChangeKind)))) \
  3285.    (somSelf,ev,kind))
  3286. /* define a variety of (possibly ambiguous) short forms */
  3287. #ifndef SOMGD_pmc_parent_ChangeKind
  3288.   #ifdef parent_ChangeKind
  3289.     #define SOMGD_pmc_parent_ChangeKind
  3290.     #undef parent_ChangeKind
  3291.   #else
  3292. #define parent_ChangeKind SimplePart_parent_ODPart_ChangeKind
  3293.   #endif
  3294. #endif
  3295. #ifndef SOMGD_pmc_parent_ODPart_ChangeKind
  3296.   #ifdef parent_ODPart_ChangeKind
  3297.     #define SOMGD_pmc_parent_ODPart_ChangeKind
  3298.     #undef parent_ODPart_ChangeKind
  3299.   #else
  3300.     #define parent_ODPart_ChangeKind SimplePart_parent_ODPart_ChangeKind
  3301.   #endif
  3302. #endif
  3303. #define SimplePart_parents_ChangeKind(arg0,arg1) (\
  3304.    SimplePart_parent_ODPart_ChangeKind(arg0,arg1))
  3305.  
  3306. /*
  3307.  * Overridden method: HandleEvent
  3308.  */
  3309. SOM_Scope ODBoolean  SOMLINK SimplePartHandleEvent(SimplePart *somSelf, Environment *ev,
  3310.         ODEventData* event,
  3311.         ODFrame* frame,
  3312.         ODFacet* facet);
  3313. static char *somMN_SimplePartHandleEvent = "ODPart::HandleEvent";
  3314. static somId somId_SimplePartHandleEvent = &somMN_SimplePartHandleEvent;
  3315. #ifdef somId_HandleEvent
  3316. #undef somId_HandleEvent
  3317. #else
  3318. #define somId_HandleEvent somId_SimplePartHandleEvent
  3319. #endif
  3320. typedef ODBoolean   (SOMLINK * somTD_xih_SimplePart_HandleEvent)(SimplePart *somSelf, Environment *ev,
  3321.         ODEventData* event,
  3322.         ODFrame* frame,
  3323.         ODFacet* facet);
  3324. /* define the parent method call macro */
  3325. static somMethodProc* SimplePart_parent_ODPart_HandleEvent_resolved = 0;
  3326. #define SimplePart_parent_ODPart_HandleEvent(somSelf,ev,event,frame,facet) \
  3327.   ((( somTD_xih_SimplePart_HandleEvent ) \
  3328.     ((SimplePart_parent_ODPart_HandleEvent_resolved)? \
  3329.       SimplePart_parent_ODPart_HandleEvent_resolved : \
  3330.       (SimplePart_parent_ODPart_HandleEvent_resolved = \
  3331.           somParentNumResolve(SimplePartCClassData.parentMtab, 1, ODPartClassData.HandleEvent)))) \
  3332.    (somSelf,ev,event,frame,facet))
  3333. /* define a variety of (possibly ambiguous) short forms */
  3334. #ifndef SOMGD_pmc_parent_HandleEvent
  3335.   #ifdef parent_HandleEvent
  3336.     #define SOMGD_pmc_parent_HandleEvent
  3337.     #undef parent_HandleEvent
  3338.   #else
  3339. #define parent_HandleEvent SimplePart_parent_ODPart_HandleEvent
  3340.   #endif
  3341. #endif
  3342. #ifndef SOMGD_pmc_parent_ODPart_HandleEvent
  3343.   #ifdef parent_ODPart_HandleEvent
  3344.     #define SOMGD_pmc_parent_ODPart_HandleEvent
  3345.     #undef parent_ODPart_HandleEvent
  3346.   #else
  3347.     #define parent_ODPart_HandleEvent SimplePart_parent_ODPart_HandleEvent
  3348.   #endif
  3349. #endif
  3350. #define SimplePart_parents_HandleEvent(arg0,arg1,arg2,arg3) (\
  3351.    SimplePart_parent_ODPart_HandleEvent(arg0,arg1,arg2,arg3))
  3352.  
  3353. /*
  3354.  * Overridden method: HandleEventInEmbedded
  3355.  */
  3356. SOM_Scope ODBoolean  SOMLINK SimplePartHandleEventInEmbedded(SimplePart *somSelf, Environment *ev,
  3357.         ODEventData* event,
  3358.         ODFrame* frame,
  3359.         ODFacet* facet,
  3360.         ODFrame* embeddedFrame,
  3361.         ODFacet* embeddedFacet);
  3362. static char *somMN_SimplePartHandleEventInEmbedded = "ODPart::HandleEventInEmbedded";
  3363. static somId somId_SimplePartHandleEventInEmbedded = &somMN_SimplePartHandleEventInEmbedded;
  3364. #ifdef somId_HandleEventInEmbedded
  3365. #undef somId_HandleEventInEmbedded
  3366. #else
  3367. #define somId_HandleEventInEmbedded somId_SimplePartHandleEventInEmbedded
  3368. #endif
  3369. typedef ODBoolean   (SOMLINK * somTD_xih_SimplePart_HandleEventInEmbedded)(SimplePart *somSelf, Environment *ev,
  3370.         ODEventData* event,
  3371.         ODFrame* frame,
  3372.         ODFacet* facet,
  3373.         ODFrame* embeddedFrame,
  3374.         ODFacet* embeddedFacet);
  3375. /* define the parent method call macro */
  3376. static somMethodProc* SimplePart_parent_ODPart_HandleEventInEmbedded_resolved = 0;
  3377. #define SimplePart_parent_ODPart_HandleEventInEmbedded(somSelf,ev,event,frame,facet,embeddedFrame,embeddedFacet) \
  3378.   ((( somTD_xih_SimplePart_HandleEventInEmbedded ) \
  3379.     ((SimplePart_parent_ODPart_HandleEventInEmbedded_resolved)? \
  3380.       SimplePart_parent_ODPart_HandleEventInEmbedded_resolved : \
  3381.       (SimplePart_parent_ODPart_HandleEventInEmbedded_resolved = \
  3382.           somParentNumResolve(SimplePartCClassData.parentMtab, 1, ODPartClassData.HandleEventInEmbedded)))) \
  3383.    (somSelf,ev,event,frame,facet,embeddedFrame,embeddedFacet))
  3384. /* define a variety of (possibly ambiguous) short forms */
  3385. #ifndef SOMGD_pmc_parent_HandleEventInEmbedded
  3386.   #ifdef parent_HandleEventInEmbedded
  3387.     #define SOMGD_pmc_parent_HandleEventInEmbedded
  3388.     #undef parent_HandleEventInEmbedded
  3389.   #else
  3390. #define parent_HandleEventInEmbedded SimplePart_parent_ODPart_HandleEventInEmbedded
  3391.   #endif
  3392. #endif
  3393. #ifndef SOMGD_pmc_parent_ODPart_HandleEventInEmbedded
  3394.   #ifdef parent_ODPart_HandleEventInEmbedded
  3395.     #define SOMGD_pmc_parent_ODPart_HandleEventInEmbedded
  3396.     #undef parent_ODPart_HandleEventInEmbedded
  3397.   #else
  3398.     #define parent_ODPart_HandleEventInEmbedded SimplePart_parent_ODPart_HandleEventInEmbedded
  3399.   #endif
  3400. #endif
  3401. #define SimplePart_parents_HandleEventInEmbedded(arg0,arg1,arg2,arg3,arg4,arg5) (\
  3402.    SimplePart_parent_ODPart_HandleEventInEmbedded(arg0,arg1,arg2,arg3,arg4,arg5))
  3403.  
  3404. /*
  3405.  * Overridden method: MouseEnter
  3406.  */
  3407. SOM_Scope void  SOMLINK SimplePartMouseEnter(SimplePart *somSelf, Environment *ev,
  3408.         ODFacet* facet,
  3409.         ODPoint* where);
  3410. static char *somMN_SimplePartMouseEnter = "ODPart::MouseEnter";
  3411. static somId somId_SimplePartMouseEnter = &somMN_SimplePartMouseEnter;
  3412. #ifdef somId_MouseEnter
  3413. #undef somId_MouseEnter
  3414. #else
  3415. #define somId_MouseEnter somId_SimplePartMouseEnter
  3416. #endif
  3417. typedef void   (SOMLINK * somTD_xih_SimplePart_MouseEnter)(SimplePart *somSelf, Environment *ev,
  3418.         ODFacet* facet,
  3419.         ODPoint* where);
  3420. /* define the parent method call macro */
  3421. static somMethodProc* SimplePart_parent_ODPart_MouseEnter_resolved = 0;
  3422. #define SimplePart_parent_ODPart_MouseEnter(somSelf,ev,facet,where) \
  3423.   ((( somTD_xih_SimplePart_MouseEnter ) \
  3424.     ((SimplePart_parent_ODPart_MouseEnter_resolved)? \
  3425.       SimplePart_parent_ODPart_MouseEnter_resolved : \
  3426.       (SimplePart_parent_ODPart_MouseEnter_resolved = \
  3427.           somParentNumResolve(SimplePartCClassData.parentMtab, 1, ODPartClassData.MouseEnter)))) \
  3428.    (somSelf,ev,facet,where))
  3429. /* define a variety of (possibly ambiguous) short forms */
  3430. #ifndef SOMGD_pmc_parent_MouseEnter
  3431.   #ifdef parent_MouseEnter
  3432.     #define SOMGD_pmc_parent_MouseEnter
  3433.     #undef parent_MouseEnter
  3434.   #else
  3435. #define parent_MouseEnter SimplePart_parent_ODPart_MouseEnter
  3436.   #endif
  3437. #endif
  3438. #ifndef SOMGD_pmc_parent_ODPart_MouseEnter
  3439.   #ifdef parent_ODPart_MouseEnter
  3440.     #define SOMGD_pmc_parent_ODPart_MouseEnter
  3441.     #undef parent_ODPart_MouseEnter
  3442.   #else
  3443.     #define parent_ODPart_MouseEnter SimplePart_parent_ODPart_MouseEnter
  3444.   #endif
  3445. #endif
  3446. #define SimplePart_parents_MouseEnter(arg0,arg1,arg2) (\
  3447.    SimplePart_parent_ODPart_MouseEnter(arg0,arg1,arg2))
  3448.  
  3449. /*
  3450.  * Overridden method: MouseWithin
  3451.  */
  3452. SOM_Scope void  SOMLINK SimplePartMouseWithin(SimplePart *somSelf, Environment *ev,
  3453.         ODFacet* facet,
  3454.         ODPoint* where);
  3455. static char *somMN_SimplePartMouseWithin = "ODPart::MouseWithin";
  3456. static somId somId_SimplePartMouseWithin = &somMN_SimplePartMouseWithin;
  3457. #ifdef somId_MouseWithin
  3458. #undef somId_MouseWithin
  3459. #else
  3460. #define somId_MouseWithin somId_SimplePartMouseWithin
  3461. #endif
  3462. typedef void   (SOMLINK * somTD_xih_SimplePart_MouseWithin)(SimplePart *somSelf, Environment *ev,
  3463.         ODFacet* facet,
  3464.         ODPoint* where);
  3465. /* define the parent method call macro */
  3466. static somMethodProc* SimplePart_parent_ODPart_MouseWithin_resolved = 0;
  3467. #define SimplePart_parent_ODPart_MouseWithin(somSelf,ev,facet,where) \
  3468.   ((( somTD_xih_SimplePart_MouseWithin ) \
  3469.     ((SimplePart_parent_ODPart_MouseWithin_resolved)? \
  3470.       SimplePart_parent_ODPart_MouseWithin_resolved : \
  3471.       (SimplePart_parent_ODPart_MouseWithin_resolved = \
  3472.           somParentNumResolve(SimplePartCClassData.parentMtab, 1, ODPartClassData.MouseWithin)))) \
  3473.    (somSelf,ev,facet,where))
  3474. /* define a variety of (possibly ambiguous) short forms */
  3475. #ifndef SOMGD_pmc_parent_MouseWithin
  3476.   #ifdef parent_MouseWithin
  3477.     #define SOMGD_pmc_parent_MouseWithin
  3478.     #undef parent_MouseWithin
  3479.   #else
  3480. #define parent_MouseWithin SimplePart_parent_ODPart_MouseWithin
  3481.   #endif
  3482. #endif
  3483. #ifndef SOMGD_pmc_parent_ODPart_MouseWithin
  3484.   #ifdef parent_ODPart_MouseWithin
  3485.     #define SOMGD_pmc_parent_ODPart_MouseWithin
  3486.     #undef parent_ODPart_MouseWithin
  3487.   #else
  3488.     #define parent_ODPart_MouseWithin SimplePart_parent_ODPart_MouseWithin
  3489.   #endif
  3490. #endif
  3491. #define SimplePart_parents_MouseWithin(arg0,arg1,arg2) (\
  3492.    SimplePart_parent_ODPart_MouseWithin(arg0,arg1,arg2))
  3493.  
  3494. /*
  3495.  * Overridden method: MouseLeave
  3496.  */
  3497. SOM_Scope void  SOMLINK SimplePartMouseLeave(SimplePart *somSelf, Environment *ev,
  3498.         ODFacet* facet);
  3499. static char *somMN_SimplePartMouseLeave = "ODPart::MouseLeave";
  3500. static somId somId_SimplePartMouseLeave = &somMN_SimplePartMouseLeave;
  3501. #ifdef somId_MouseLeave
  3502. #undef somId_MouseLeave
  3503. #else
  3504. #define somId_MouseLeave somId_SimplePartMouseLeave
  3505. #endif
  3506. typedef void   (SOMLINK * somTD_xih_SimplePart_MouseLeave)(SimplePart *somSelf, Environment *ev,
  3507.         ODFacet* facet);
  3508. /* define the parent method call macro */
  3509. static somMethodProc* SimplePart_parent_ODPart_MouseLeave_resolved = 0;
  3510. #define SimplePart_parent_ODPart_MouseLeave(somSelf,ev,facet) \
  3511.   ((( somTD_xih_SimplePart_MouseLeave ) \
  3512.     ((SimplePart_parent_ODPart_MouseLeave_resolved)? \
  3513.       SimplePart_parent_ODPart_MouseLeave_resolved : \
  3514.       (SimplePart_parent_ODPart_MouseLeave_resolved = \
  3515.           somParentNumResolve(SimplePartCClassData.parentMtab, 1, ODPartClassData.MouseLeave)))) \
  3516.    (somSelf,ev,facet))
  3517. /* define a variety of (possibly ambiguous) short forms */
  3518. #ifndef SOMGD_pmc_parent_MouseLeave
  3519.   #ifdef parent_MouseLeave
  3520.     #define SOMGD_pmc_parent_MouseLeave
  3521.     #undef parent_MouseLeave
  3522.   #else
  3523. #define parent_MouseLeave SimplePart_parent_ODPart_MouseLeave
  3524.   #endif
  3525. #endif
  3526. #ifndef SOMGD_pmc_parent_ODPart_MouseLeave
  3527.   #ifdef parent_ODPart_MouseLeave
  3528.     #define SOMGD_pmc_parent_ODPart_MouseLeave
  3529.     #undef parent_ODPart_MouseLeave
  3530.   #else
  3531.     #define parent_ODPart_MouseLeave SimplePart_parent_ODPart_MouseLeave
  3532.   #endif
  3533. #endif
  3534. #define SimplePart_parents_MouseLeave(arg0,arg1) (\
  3535.    SimplePart_parent_ODPart_MouseLeave(arg0,arg1))
  3536.  
  3537. /*
  3538.  * Overridden method: AdjustMenus
  3539.  */
  3540. SOM_Scope void  SOMLINK SimplePartAdjustMenus(SimplePart *somSelf, Environment *ev,
  3541.         ODFrame* frame);
  3542. static char *somMN_SimplePartAdjustMenus = "ODPart::AdjustMenus";
  3543. static somId somId_SimplePartAdjustMenus = &somMN_SimplePartAdjustMenus;
  3544. #ifdef somId_AdjustMenus
  3545. #undef somId_AdjustMenus
  3546. #else
  3547. #define somId_AdjustMenus somId_SimplePartAdjustMenus
  3548. #endif
  3549. typedef void   (SOMLINK * somTD_xih_SimplePart_AdjustMenus)(SimplePart *somSelf, Environment *ev,
  3550.         ODFrame* frame);
  3551. /* define the parent method call macro */
  3552. static somMethodProc* SimplePart_parent_ODPart_AdjustMenus_resolved = 0;
  3553. #define SimplePart_parent_ODPart_AdjustMenus(somSelf,ev,frame) \
  3554.   ((( somTD_xih_SimplePart_AdjustMenus ) \
  3555.     ((SimplePart_parent_ODPart_AdjustMenus_resolved)? \
  3556.       SimplePart_parent_ODPart_AdjustMenus_resolved : \
  3557.       (SimplePart_parent_ODPart_AdjustMenus_resolved = \
  3558.           somParentNumResolve(SimplePartCClassData.parentMtab, 1, ODPartClassData.AdjustMenus)))) \
  3559.    (somSelf,ev,frame))
  3560. /* define a variety of (possibly ambiguous) short forms */
  3561. #ifndef SOMGD_pmc_parent_AdjustMenus
  3562.   #ifdef parent_AdjustMenus
  3563.     #define SOMGD_pmc_parent_AdjustMenus
  3564.     #undef parent_AdjustMenus
  3565.   #else
  3566. #define parent_AdjustMenus SimplePart_parent_ODPart_AdjustMenus
  3567.   #endif
  3568. #endif
  3569. #ifndef SOMGD_pmc_parent_ODPart_AdjustMenus
  3570.   #ifdef parent_ODPart_AdjustMenus
  3571.     #define SOMGD_pmc_parent_ODPart_AdjustMenus
  3572.     #undef parent_ODPart_AdjustMenus
  3573.   #else
  3574.     #define parent_ODPart_AdjustMenus SimplePart_parent_ODPart_AdjustMenus
  3575.   #endif
  3576. #endif
  3577. #define SimplePart_parents_AdjustMenus(arg0,arg1) (\
  3578.    SimplePart_parent_ODPart_AdjustMenus(arg0,arg1))
  3579.  
  3580. /*
  3581.  * Overridden method: UndoAction
  3582.  */
  3583. SOM_Scope void  SOMLINK SimplePartUndoAction(SimplePart *somSelf, Environment *ev,
  3584.         ODActionData actionState);
  3585. static char *somMN_SimplePartUndoAction = "ODPart::UndoAction";
  3586. static somId somId_SimplePartUndoAction = &somMN_SimplePartUndoAction;
  3587. #ifdef somId_UndoAction
  3588. #undef somId_UndoAction
  3589. #else
  3590. #define somId_UndoAction somId_SimplePartUndoAction
  3591. #endif
  3592. typedef void   (SOMLINK * somTD_xih_SimplePart_UndoAction)(SimplePart *somSelf, Environment *ev,
  3593.         ODActionData actionState);
  3594. /* define the parent method call macro */
  3595. static somMethodProc* SimplePart_parent_ODPart_UndoAction_resolved = 0;
  3596. #define SimplePart_parent_ODPart_UndoAction(somSelf,ev,actionState) \
  3597.   ((( somTD_xih_SimplePart_UndoAction ) \
  3598.     ((SimplePart_parent_ODPart_UndoAction_resolved)? \
  3599.       SimplePart_parent_ODPart_UndoAction_resolved : \
  3600.       (SimplePart_parent_ODPart_UndoAction_resolved = \
  3601.           somParentNumResolve(SimplePartCClassData.parentMtab, 1, ODPartClassData.UndoAction)))) \
  3602.    (somSelf,ev,actionState))
  3603. /* define a variety of (possibly ambiguous) short forms */
  3604. #ifndef SOMGD_pmc_parent_UndoAction
  3605.   #ifdef parent_UndoAction
  3606.     #define SOMGD_pmc_parent_UndoAction
  3607.     #undef parent_UndoAction
  3608.   #else
  3609. #define parent_UndoAction SimplePart_parent_ODPart_UndoAction
  3610.   #endif
  3611. #endif
  3612. #ifndef SOMGD_pmc_parent_ODPart_UndoAction
  3613.   #ifdef parent_ODPart_UndoAction
  3614.     #define SOMGD_pmc_parent_ODPart_UndoAction
  3615.     #undef parent_ODPart_UndoAction
  3616.   #else
  3617.     #define parent_ODPart_UndoAction SimplePart_parent_ODPart_UndoAction
  3618.   #endif
  3619. #endif
  3620. #define SimplePart_parents_UndoAction(arg0,arg1) (\
  3621.    SimplePart_parent_ODPart_UndoAction(arg0,arg1))
  3622.  
  3623. /*
  3624.  * Overridden method: RedoAction
  3625.  */
  3626. SOM_Scope void  SOMLINK SimplePartRedoAction(SimplePart *somSelf, Environment *ev,
  3627.         ODActionData actionState);
  3628. static char *somMN_SimplePartRedoAction = "ODPart::RedoAction";
  3629. static somId somId_SimplePartRedoAction = &somMN_SimplePartRedoAction;
  3630. #ifdef somId_RedoAction
  3631. #undef somId_RedoAction
  3632. #else
  3633. #define somId_RedoAction somId_SimplePartRedoAction
  3634. #endif
  3635. typedef void   (SOMLINK * somTD_xih_SimplePart_RedoAction)(SimplePart *somSelf, Environment *ev,
  3636.         ODActionData actionState);
  3637. /* define the parent method call macro */
  3638. static somMethodProc* SimplePart_parent_ODPart_RedoAction_resolved = 0;
  3639. #define SimplePart_parent_ODPart_RedoAction(somSelf,ev,actionState) \
  3640.   ((( somTD_xih_SimplePart_RedoAction ) \
  3641.     ((SimplePart_parent_ODPart_RedoAction_resolved)? \
  3642.       SimplePart_parent_ODPart_RedoAction_resolved : \
  3643.       (SimplePart_parent_ODPart_RedoAction_resolved = \
  3644.           somParentNumResolve(SimplePartCClassData.parentMtab, 1, ODPartClassData.RedoAction)))) \
  3645.    (somSelf,ev,actionState))
  3646. /* define a variety of (possibly ambiguous) short forms */
  3647. #ifndef SOMGD_pmc_parent_RedoAction
  3648.   #ifdef parent_RedoAction
  3649.     #define SOMGD_pmc_parent_RedoAction
  3650.     #undef parent_RedoAction
  3651.   #else
  3652. #define parent_RedoAction SimplePart_parent_ODPart_RedoAction
  3653.   #endif
  3654. #endif
  3655. #ifndef SOMGD_pmc_parent_ODPart_RedoAction
  3656.   #ifdef parent_ODPart_RedoAction
  3657.     #define SOMGD_pmc_parent_ODPart_RedoAction
  3658.     #undef parent_ODPart_RedoAction
  3659.   #else
  3660.     #define parent_ODPart_RedoAction SimplePart_parent_ODPart_RedoAction
  3661.   #endif
  3662. #endif
  3663. #define SimplePart_parents_RedoAction(arg0,arg1) (\
  3664.    SimplePart_parent_ODPart_RedoAction(arg0,arg1))
  3665.  
  3666. /*
  3667.  * Overridden method: DisposeActionState
  3668.  */
  3669. SOM_Scope void  SOMLINK SimplePartDisposeActionState(SimplePart *somSelf, Environment *ev,
  3670.         ODActionData actionState,
  3671.         ODDoneState doneState);
  3672. static char *somMN_SimplePartDisposeActionState = "ODPart::DisposeActionState";
  3673. static somId somId_SimplePartDisposeActionState = &somMN_SimplePartDisposeActionState;
  3674. #ifdef somId_DisposeActionState
  3675. #undef somId_DisposeActionState
  3676. #else
  3677. #define somId_DisposeActionState somId_SimplePartDisposeActionState
  3678. #endif
  3679. typedef void   (SOMLINK * somTD_xih_SimplePart_DisposeActionState)(SimplePart *somSelf, Environment *ev,
  3680.         ODActionData actionState,
  3681.         ODDoneState doneState);
  3682. /* define the parent method call macro */
  3683. static somMethodProc* SimplePart_parent_ODPart_DisposeActionState_resolved = 0;
  3684. #define SimplePart_parent_ODPart_DisposeActionState(somSelf,ev,actionState,doneState) \
  3685.   ((( somTD_xih_SimplePart_DisposeActionState ) \
  3686.     ((SimplePart_parent_ODPart_DisposeActionState_resolved)? \
  3687.       SimplePart_parent_ODPart_DisposeActionState_resolved : \
  3688.       (SimplePart_parent_ODPart_DisposeActionState_resolved = \
  3689.           somParentNumResolve(SimplePartCClassData.parentMtab, 1, ODPartClassData.DisposeActionState)))) \
  3690.    (somSelf,ev,actionState,doneState))
  3691. /* define a variety of (possibly ambiguous) short forms */
  3692. #ifndef SOMGD_pmc_parent_DisposeActionState
  3693.   #ifdef parent_DisposeActionState
  3694.     #define SOMGD_pmc_parent_DisposeActionState
  3695.     #undef parent_DisposeActionState
  3696.   #else
  3697. #define parent_DisposeActionState SimplePart_parent_ODPart_DisposeActionState
  3698.   #endif
  3699. #endif
  3700. #ifndef SOMGD_pmc_parent_ODPart_DisposeActionState
  3701.   #ifdef parent_ODPart_DisposeActionState
  3702.     #define SOMGD_pmc_parent_ODPart_DisposeActionState
  3703.     #undef parent_ODPart_DisposeActionState
  3704.   #else
  3705.     #define parent_ODPart_DisposeActionState SimplePart_parent_ODPart_DisposeActionState
  3706.   #endif
  3707. #endif
  3708. #define SimplePart_parents_DisposeActionState(arg0,arg1,arg2) (\
  3709.    SimplePart_parent_ODPart_DisposeActionState(arg0,arg1,arg2))
  3710.  
  3711. /*
  3712.  * Overridden method: WriteActionState
  3713.  */
  3714. SOM_Scope void  SOMLINK SimplePartWriteActionState(SimplePart *somSelf, Environment *ev,
  3715.         ODPtr actionState,
  3716.         ODStorageUnitView* storageUnitView);
  3717. static char *somMN_SimplePartWriteActionState = "ODPart::WriteActionState";
  3718. static somId somId_SimplePartWriteActionState = &somMN_SimplePartWriteActionState;
  3719. #ifdef somId_WriteActionState
  3720. #undef somId_WriteActionState
  3721. #else
  3722. #define somId_WriteActionState somId_SimplePartWriteActionState
  3723. #endif
  3724. typedef void   (SOMLINK * somTD_xih_SimplePart_WriteActionState)(SimplePart *somSelf, Environment *ev,
  3725.         ODPtr actionState,
  3726.         ODStorageUnitView* storageUnitView);
  3727. /* define the parent method call macro */
  3728. static somMethodProc* SimplePart_parent_ODPart_WriteActionState_resolved = 0;
  3729. #define SimplePart_parent_ODPart_WriteActionState(somSelf,ev,actionState,storageUnitView) \
  3730.   ((( somTD_xih_SimplePart_WriteActionState ) \
  3731.     ((SimplePart_parent_ODPart_WriteActionState_resolved)? \
  3732.       SimplePart_parent_ODPart_WriteActionState_resolved : \
  3733.       (SimplePart_parent_ODPart_WriteActionState_resolved = \
  3734.           somParentNumResolve(SimplePartCClassData.parentMtab, 1, ODPartClassData.WriteActionState)))) \
  3735.    (somSelf,ev,actionState,storageUnitView))
  3736. /* define a variety of (possibly ambiguous) short forms */
  3737. #ifndef SOMGD_pmc_parent_WriteActionState
  3738.   #ifdef parent_WriteActionState
  3739.     #define SOMGD_pmc_parent_WriteActionState
  3740.     #undef parent_WriteActionState
  3741.   #else
  3742. #define parent_WriteActionState SimplePart_parent_ODPart_WriteActionState
  3743.   #endif
  3744. #endif
  3745. #ifndef SOMGD_pmc_parent_ODPart_WriteActionState
  3746.   #ifdef parent_ODPart_WriteActionState
  3747.     #define SOMGD_pmc_parent_ODPart_WriteActionState
  3748.     #undef parent_ODPart_WriteActionState
  3749.   #else
  3750.     #define parent_ODPart_WriteActionState SimplePart_parent_ODPart_WriteActionState
  3751.   #endif
  3752. #endif
  3753. #define SimplePart_parents_WriteActionState(arg0,arg1,arg2) (\
  3754.    SimplePart_parent_ODPart_WriteActionState(arg0,arg1,arg2))
  3755.  
  3756. /*
  3757.  * Overridden method: ReadActionState
  3758.  */
  3759. SOM_Scope ODPtr  SOMLINK SimplePartReadActionState(SimplePart *somSelf, Environment *ev,
  3760.         ODStorageUnitView* storageUnitView);
  3761. static char *somMN_SimplePartReadActionState = "ODPart::ReadActionState";
  3762. static somId somId_SimplePartReadActionState = &somMN_SimplePartReadActionState;
  3763. #ifdef somId_ReadActionState
  3764. #undef somId_ReadActionState
  3765. #else
  3766. #define somId_ReadActionState somId_SimplePartReadActionState
  3767. #endif
  3768. typedef ODPtr   (SOMLINK * somTD_xih_SimplePart_ReadActionState)(SimplePart *somSelf, Environment *ev,
  3769.         ODStorageUnitView* storageUnitView);
  3770. /* define the parent method call macro */
  3771. static somMethodProc* SimplePart_parent_ODPart_ReadActionState_resolved = 0;
  3772. #define SimplePart_parent_ODPart_ReadActionState(somSelf,ev,storageUnitView) \
  3773.   ((( somTD_xih_SimplePart_ReadActionState ) \
  3774.     ((SimplePart_parent_ODPart_ReadActionState_resolved)? \
  3775.       SimplePart_parent_ODPart_ReadActionState_resolved : \
  3776.       (SimplePart_parent_ODPart_ReadActionState_resolved = \
  3777.           somParentNumResolve(SimplePartCClassData.parentMtab, 1, ODPartClassData.ReadActionState)))) \
  3778.    (somSelf,ev,storageUnitView))
  3779. /* define a variety of (possibly ambiguous) short forms */
  3780. #ifndef SOMGD_pmc_parent_ReadActionState
  3781.   #ifdef parent_ReadActionState
  3782.     #define SOMGD_pmc_parent_ReadActionState
  3783.     #undef parent_ReadActionState
  3784.   #else
  3785. #define parent_ReadActionState SimplePart_parent_ODPart_ReadActionState
  3786.   #endif
  3787. #endif
  3788. #ifndef SOMGD_pmc_parent_ODPart_ReadActionState
  3789.   #ifdef parent_ODPart_ReadActionState
  3790.     #define SOMGD_pmc_parent_ODPart_ReadActionState
  3791.     #undef parent_ODPart_ReadActionState
  3792.   #else
  3793.     #define parent_ODPart_ReadActionState SimplePart_parent_ODPart_ReadActionState
  3794.   #endif
  3795. #endif
  3796. #define SimplePart_parents_ReadActionState(arg0,arg1) (\
  3797.    SimplePart_parent_ODPart_ReadActionState(arg0,arg1))
  3798.  
  3799. /*
  3800.  * Overridden method: InitPart
  3801.  */
  3802. SOM_Scope void  SOMLINK SimplePartInitPart(SimplePart *somSelf, Environment *ev,
  3803.         ODStorageUnit* storageUnit);
  3804. static char *somMN_SimplePartInitPart = "ODPart::InitPart";
  3805. static somId somId_SimplePartInitPart = &somMN_SimplePartInitPart;
  3806. #ifdef somId_InitPart
  3807. #undef somId_InitPart
  3808. #else
  3809. #define somId_InitPart somId_SimplePartInitPart
  3810. #endif
  3811. typedef void   (SOMLINK * somTD_xih_SimplePart_InitPart)(SimplePart *somSelf, Environment *ev,
  3812.         ODStorageUnit* storageUnit);
  3813. /* define the parent method call macro */
  3814. static somMethodProc* SimplePart_parent_ODPart_InitPart_resolved = 0;
  3815. #define SimplePart_parent_ODPart_InitPart(somSelf,ev,storageUnit) \
  3816.   ((( somTD_xih_SimplePart_InitPart ) \
  3817.     ((SimplePart_parent_ODPart_InitPart_resolved)? \
  3818.       SimplePart_parent_ODPart_InitPart_resolved : \
  3819.       (SimplePart_parent_ODPart_InitPart_resolved = \
  3820.           somParentNumResolve(SimplePartCClassData.parentMtab, 1, ODPartClassData.InitPart)))) \
  3821.    (somSelf,ev,storageUnit))
  3822. /* define a variety of (possibly ambiguous) short forms */
  3823. #ifndef SOMGD_pmc_parent_InitPart
  3824.   #ifdef parent_InitPart
  3825.     #define SOMGD_pmc_parent_InitPart
  3826.     #undef parent_InitPart
  3827.   #else
  3828. #define parent_InitPart SimplePart_parent_ODPart_InitPart
  3829.   #endif
  3830. #endif
  3831. #ifndef SOMGD_pmc_parent_ODPart_InitPart
  3832.   #ifdef parent_ODPart_InitPart
  3833.     #define SOMGD_pmc_parent_ODPart_InitPart
  3834.     #undef parent_ODPart_InitPart
  3835.   #else
  3836.     #define parent_ODPart_InitPart SimplePart_parent_ODPart_InitPart
  3837.   #endif
  3838. #endif
  3839. #define SimplePart_parents_InitPart(arg0,arg1) (\
  3840.    SimplePart_parent_ODPart_InitPart(arg0,arg1))
  3841.  
  3842. /*
  3843.  * Overridden method: InitPartFromStorage
  3844.  */
  3845. SOM_Scope void  SOMLINK SimplePartInitPartFromStorage(SimplePart *somSelf, Environment *ev,
  3846.         ODStorageUnit* storageUnit);
  3847. static char *somMN_SimplePartInitPartFromStorage = "ODPart::InitPartFromStorage";
  3848. static somId somId_SimplePartInitPartFromStorage = &somMN_SimplePartInitPartFromStorage;
  3849. #ifdef somId_InitPartFromStorage
  3850. #undef somId_InitPartFromStorage
  3851. #else
  3852. #define somId_InitPartFromStorage somId_SimplePartInitPartFromStorage
  3853. #endif
  3854. typedef void   (SOMLINK * somTD_xih_SimplePart_InitPartFromStorage)(SimplePart *somSelf, Environment *ev,
  3855.         ODStorageUnit* storageUnit);
  3856. /* define the parent method call macro */
  3857. static somMethodProc* SimplePart_parent_ODPart_InitPartFromStorage_resolved = 0;
  3858. #define SimplePart_parent_ODPart_InitPartFromStorage(somSelf,ev,storageUnit) \
  3859.   ((( somTD_xih_SimplePart_InitPartFromStorage ) \
  3860.     ((SimplePart_parent_ODPart_InitPartFromStorage_resolved)? \
  3861.       SimplePart_parent_ODPart_InitPartFromStorage_resolved : \
  3862.       (SimplePart_parent_ODPart_InitPartFromStorage_resolved = \
  3863.           somParentNumResolve(SimplePartCClassData.parentMtab, 1, ODPartClassData.InitPartFromStorage)))) \
  3864.    (somSelf,ev,storageUnit))
  3865. /* define a variety of (possibly ambiguous) short forms */
  3866. #ifndef SOMGD_pmc_parent_InitPartFromStorage
  3867.   #ifdef parent_InitPartFromStorage
  3868.     #define SOMGD_pmc_parent_InitPartFromStorage
  3869.     #undef parent_InitPartFromStorage
  3870.   #else
  3871. #define parent_InitPartFromStorage SimplePart_parent_ODPart_InitPartFromStorage
  3872.   #endif
  3873. #endif
  3874. #ifndef SOMGD_pmc_parent_ODPart_InitPartFromStorage
  3875.   #ifdef parent_ODPart_InitPartFromStorage
  3876.     #define SOMGD_pmc_parent_ODPart_InitPartFromStorage
  3877.     #undef parent_ODPart_InitPartFromStorage
  3878.   #else
  3879.     #define parent_ODPart_InitPartFromStorage SimplePart_parent_ODPart_InitPartFromStorage
  3880.   #endif
  3881. #endif
  3882. #define SimplePart_parents_InitPartFromStorage(arg0,arg1) (\
  3883.    SimplePart_parent_ODPart_InitPartFromStorage(arg0,arg1))
  3884.  
  3885. /*
  3886.  * Overridden method: Release
  3887.  */
  3888. SOM_Scope void  SOMLINK SimplePartRelease(SimplePart *somSelf, Environment *ev);
  3889. static char *somMN_SimplePartRelease = "ODRefCntObject::Release";
  3890. static somId somId_SimplePartRelease = &somMN_SimplePartRelease;
  3891. #ifdef somId_Release
  3892. #undef somId_Release
  3893. #else
  3894. #define somId_Release somId_SimplePartRelease
  3895. #endif
  3896. typedef void   (SOMLINK * somTD_xih_SimplePart_Release)(SimplePart *somSelf, Environment *ev);
  3897. /* define the parent method call macro */
  3898. static somMethodProc* SimplePart_parent_ODPart_Release_resolved = 0;
  3899. #define SimplePart_parent_ODPart_Release(somSelf,ev) \
  3900.   ((( somTD_xih_SimplePart_Release ) \
  3901.     ((SimplePart_parent_ODPart_Release_resolved)? \
  3902.       SimplePart_parent_ODPart_Release_resolved : \
  3903.       (SimplePart_parent_ODPart_Release_resolved = \
  3904.           somParentNumResolve(SimplePartCClassData.parentMtab, 1, ODRefCntObjectClassData.Release)))) \
  3905.    (somSelf,ev))
  3906. /* define a variety of (possibly ambiguous) short forms */
  3907. #ifndef SOMGD_pmc_parent_Release
  3908.   #ifdef parent_Release
  3909.     #define SOMGD_pmc_parent_Release
  3910.     #undef parent_Release
  3911.   #else
  3912. #define parent_Release SimplePart_parent_ODPart_Release
  3913.   #endif
  3914. #endif
  3915. #ifndef SOMGD_pmc_parent_ODPart_Release
  3916.   #ifdef parent_ODPart_Release
  3917.     #define SOMGD_pmc_parent_ODPart_Release
  3918.     #undef parent_ODPart_Release
  3919.   #else
  3920.     #define parent_ODPart_Release SimplePart_parent_ODPart_Release
  3921.   #endif
  3922. #endif
  3923. #define SimplePart_parents_Release(arg0) (\
  3924.    SimplePart_parent_ODPart_Release(arg0))
  3925.  
  3926. /*
  3927.  * -- Routines and Structures to create the class object
  3928.  */
  3929.  
  3930.  
  3931. /*
  3932.  * Declare the Static Methods table.
  3933.  */
  3934. static somStaticMethod_t SimplePartSM[] = {
  3935.     {    &SimplePartClassData.GetSemanticInterface,
  3936.          &somId_GetSemanticInterface,
  3937.          &somDI_GetSemanticInterface,
  3938.          (somMethodProc *) SimplePartGetSemanticInterface,
  3939.          (somMethodProc *) somRD_SimplePartGetSemanticInterface,
  3940.          (somMethodProc *) somAP_SimplePartGetSemanticInterface    },
  3941.     {    &SimplePartClassData.CommonInitSimplePart,
  3942.          &somId_CommonInitSimplePart,
  3943.          &somDI_CommonInitSimplePart,
  3944.          (somMethodProc *) SimplePartCommonInitSimplePart,
  3945.          (somMethodProc *) somRD_SimplePartCommonInitSimplePart,
  3946.          (somMethodProc *) somAP_SimplePartCommonInitSimplePart    },
  3947.     {    &SimplePartClassData.HandleMouseDown,
  3948.          &somId_HandleMouseDown,
  3949.          &somDI_HandleMouseDown,
  3950.          (somMethodProc *) SimplePartHandleMouseDown,
  3951.          (somMethodProc *) somRD_SimplePartHandleMouseDown,
  3952.          (somMethodProc *) somAP_SimplePartHandleMouseDown    },
  3953.     {    &SimplePartClassData.MoveResize,
  3954.          &somId_MoveResize,
  3955.          &somDI_MoveResize,
  3956.          (somMethodProc *) SimplePartMoveResize,
  3957.          (somMethodProc *) somRD_SimplePartMoveResize,
  3958.          (somMethodProc *) somAP_SimplePartMoveResize    },
  3959.     {    &SimplePartClassData.HandleMouseDownEdgeResize,
  3960.          &somId_HandleMouseDownEdgeResize,
  3961.          &somDI_HandleMouseDownEdgeResize,
  3962.          (somMethodProc *) SimplePartHandleMouseDownEdgeResize,
  3963.          (somMethodProc *) somRD_SimplePartHandleMouseDownEdgeResize,
  3964.          (somMethodProc *) somAP_SimplePartHandleMouseDownEdgeResize    },
  3965.     {    &SimplePartClassData.HandleMouseDownCornerResize,
  3966.          &somId_HandleMouseDownCornerResize,
  3967.          &somDI_HandleMouseDownCornerResize,
  3968.          (somMethodProc *) SimplePartHandleMouseDownCornerResize,
  3969.          (somMethodProc *) somRD_SimplePartHandleMouseDownCornerResize,
  3970.          (somMethodProc *) somAP_SimplePartHandleMouseDownCornerResize    },
  3971.     {    &SimplePartClassData.HandleKeyDown,
  3972.          &somId_HandleKeyDown,
  3973.          &somDI_HandleKeyDown,
  3974.          (somMethodProc *) SimplePartHandleKeyDown,
  3975.          (somMethodProc *) somRD_SimplePartHandleKeyDown,
  3976.          (somMethodProc *) somAP_SimplePartHandleKeyDown    },
  3977.     {    &SimplePartClassData.HandleMouseMove,
  3978.          &somId_HandleMouseMove,
  3979.          &somDI_HandleMouseMove,
  3980.          (somMethodProc *) SimplePartHandleMouseMove,
  3981.          (somMethodProc *) somRD_SimplePartHandleMouseMove,
  3982.          (somMethodProc *) somAP_SimplePartHandleMouseMove    },
  3983.     {    &SimplePartClassData.ActivateFrame,
  3984.          &somId_ActivateFrame,
  3985.          &somDI_ActivateFrame,
  3986.          (somMethodProc *) SimplePartActivateFrame,
  3987.          (somMethodProc *) somRD_SimplePartActivateFrame,
  3988.          (somMethodProc *) somAP_SimplePartActivateFrame    },
  3989.     {    &SimplePartClassData.DeActivateFrame,
  3990.          &somId_DeActivateFrame,
  3991.          &somDI_DeActivateFrame,
  3992.          (somMethodProc *) SimplePartDeActivateFrame,
  3993.          (somMethodProc *) somRD_SimplePartDeActivateFrame,
  3994.          (somMethodProc *) somAP_SimplePartDeActivateFrame    },
  3995.     {    &SimplePartClassData.ActivatingWindow,
  3996.          &somId_ActivatingWindow,
  3997.          &somDI_ActivatingWindow,
  3998.          (somMethodProc *) SimplePartActivatingWindow,
  3999.          (somMethodProc *) somRD_SimplePartActivatingWindow,
  4000.          (somMethodProc *) somAP_SimplePartActivatingWindow    },
  4001.     {    &SimplePartClassData.DeActivatingWindow,
  4002.          &somId_DeActivatingWindow,
  4003.          &somDI_DeActivatingWindow,
  4004.          (somMethodProc *) SimplePartDeActivatingWindow,
  4005.          (somMethodProc *) somRD_SimplePartDeActivatingWindow,
  4006.          (somMethodProc *) somAP_SimplePartDeActivatingWindow    },
  4007.     {    &SimplePartClassData.UserSetBGColor,
  4008.          &somId_UserSetBGColor,
  4009.          &somDI_UserSetBGColor,
  4010.          (somMethodProc *) SimplePartUserSetBGColor,
  4011.          (somMethodProc *) somRD_SimplePartUserSetBGColor,
  4012.          (somMethodProc *) somAP_SimplePartUserSetBGColor    },
  4013.     {    &SimplePartClassData.SetBGColor,
  4014.          &somId_SetBGColor,
  4015.          &somDI_SetBGColor,
  4016.          (somMethodProc *) SimplePartSetBGColor,
  4017.          (somMethodProc *) somRD_SimplePartSetBGColor,
  4018.          (somMethodProc *) somAP_SimplePartSetBGColor    },
  4019.     {    &SimplePartClassData.CreateWindow,
  4020.          &somId_CreateWindow,
  4021.          &somDI_CreateWindow,
  4022.          (somMethodProc *) SimplePartCreateWindow,
  4023.          (somMethodProc *) somRD_SimplePartCreateWindow,
  4024.          (somMethodProc *) somAP_SimplePartCreateWindow    },
  4025.     {    &SimplePartClassData.HandleMenuEvent,
  4026.          &somId_HandleMenuEvent,
  4027.          &somDI_HandleMenuEvent,
  4028.          (somMethodProc *) SimplePartHandleMenuEvent,
  4029.          (somMethodProc *) somRD_SimplePartHandleMenuEvent,
  4030.          (somMethodProc *) somAP_SimplePartHandleMenuEvent    },
  4031.     {    &SimplePartClassData.SetGrafPortOrigin,
  4032.          &somId_SetGrafPortOrigin,
  4033.          &somDI_SetGrafPortOrigin,
  4034.          (somMethodProc *) SimplePartSetGrafPortOrigin,
  4035.          (somMethodProc *) somRD_SimplePartSetGrafPortOrigin,
  4036.          (somMethodProc *) somAP_SimplePartSetGrafPortOrigin    },
  4037.     {    &SimplePartClassData.GetDefaultColor,
  4038.          &somId_GetDefaultColor,
  4039.          &somDI_GetDefaultColor,
  4040.          (somMethodProc *) SimplePartGetDefaultColor,
  4041.          (somMethodProc *) somRD_SimplePartGetDefaultColor,
  4042.          (somMethodProc *) somAP_SimplePartGetDefaultColor    },
  4043.     {    &SimplePartClassData.SetDefaultColor,
  4044.          &somId_SetDefaultColor,
  4045.          &somDI_SetDefaultColor,
  4046.          (somMethodProc *) SimplePartSetDefaultColor,
  4047.          (somMethodProc *) somRD_SimplePartSetDefaultColor,
  4048.          (somMethodProc *) somAP_SimplePartSetDefaultColor    },
  4049.     {    &SimplePartClassData.Activate,
  4050.          &somId_Activate,
  4051.          &somDI_Activate,
  4052.          (somMethodProc *) SimplePartActivate,
  4053.          (somMethodProc *) somRD_SimplePartActivate,
  4054.          (somMethodProc *) somAP_SimplePartActivate    },
  4055. };
  4056.  
  4057.  
  4058. /*
  4059.  * Declare the Override Methods table.
  4060.  */
  4061. static somOverrideMethod_t SimplePartOM[] = {
  4062.     {    &somId_SimplePartsomInit,
  4063.          (somMethodProc *) SimplePartsomInit  },
  4064.     {    &somId_SimplePartsomUninit,
  4065.          (somMethodProc *) SimplePartsomUninit  },
  4066.     {    &somId_SimplePartFulfillPromise,
  4067.          (somMethodProc *) SimplePartFulfillPromise  },
  4068.     {    &somId_SimplePartDropCompleted,
  4069.          (somMethodProc *) SimplePartDropCompleted  },
  4070.     {    &somId_SimplePartDragEnter,
  4071.          (somMethodProc *) SimplePartDragEnter  },
  4072.     {    &somId_SimplePartDragWithin,
  4073.          (somMethodProc *) SimplePartDragWithin  },
  4074.     {    &somId_SimplePartDragLeave,
  4075.          (somMethodProc *) SimplePartDragLeave  },
  4076.     {    &somId_SimplePartDrop,
  4077.          (somMethodProc *) SimplePartDrop  },
  4078.     {    &somId_SimplePartContainingPartPropertiesChanged,
  4079.          (somMethodProc *) SimplePartContainingPartPropertiesChanged  },
  4080.     {    &somId_SimplePartGetContainingPartProperties,
  4081.          (somMethodProc *) SimplePartGetContainingPartProperties  },
  4082.     {    &somId_SimplePartRevealFrame,
  4083.          (somMethodProc *) SimplePartRevealFrame  },
  4084.     {    &somId_SimplePartEmbeddedFrameSpec,
  4085.          (somMethodProc *) SimplePartEmbeddedFrameSpec  },
  4086.     {    &somId_SimplePartCreateEmbeddedFramesIterator,
  4087.          (somMethodProc *) SimplePartCreateEmbeddedFramesIterator  },
  4088.     {    &somId_SimplePartAddDisplayFrame,
  4089.          (somMethodProc *) SimplePartAddDisplayFrame  },
  4090.     {    &somId_SimplePartAttachSourceFrame,
  4091.          (somMethodProc *) SimplePartAttachSourceFrame  },
  4092.     {    &somId_SimplePartRemoveDisplayFrame,
  4093.          (somMethodProc *) SimplePartRemoveDisplayFrame  },
  4094.     {    &somId_SimplePartCloseDisplayFrame,
  4095.          (somMethodProc *) SimplePartCloseDisplayFrame  },
  4096.     {    &somId_SimplePartFrameShapeChanged,
  4097.          (somMethodProc *) SimplePartFrameShapeChanged  },
  4098.     {    &somId_SimplePartViewTypeChanged,
  4099.          (somMethodProc *) SimplePartViewTypeChanged  },
  4100.     {    &somId_SimplePartPresentationChanged,
  4101.          (somMethodProc *) SimplePartPresentationChanged  },
  4102.     {    &somId_SimplePartSequenceChanged,
  4103.          (somMethodProc *) SimplePartSequenceChanged  },
  4104.     {    &somId_SimplePartWritePartInfo,
  4105.          (somMethodProc *) SimplePartWritePartInfo  },
  4106.     {    &somId_SimplePartReadPartInfo,
  4107.          (somMethodProc *) SimplePartReadPartInfo  },
  4108.     {    &somId_SimplePartOpen,
  4109.          (somMethodProc *) SimplePartOpen  },
  4110.     {    &somId_SimplePartRequestEmbeddedFrame,
  4111.          (somMethodProc *) SimplePartRequestEmbeddedFrame  },
  4112.     {    &somId_SimplePartRemoveEmbeddedFrame,
  4113.          (somMethodProc *) SimplePartRemoveEmbeddedFrame  },
  4114.     {    &somId_SimplePartRequestFrameShape,
  4115.          (somMethodProc *) SimplePartRequestFrameShape  },
  4116.     {    &somId_SimplePartUsedShapeChanged,
  4117.          (somMethodProc *) SimplePartUsedShapeChanged  },
  4118.     {    &somId_SimplePartAdjustBorderShape,
  4119.          (somMethodProc *) SimplePartAdjustBorderShape  },
  4120.     {    &somId_SimplePartFacetAdded,
  4121.          (somMethodProc *) SimplePartFacetAdded  },
  4122.     {    &somId_SimplePartFacetRemoved,
  4123.          (somMethodProc *) SimplePartFacetRemoved  },
  4124.     {    &somId_SimplePartCanvasChanged,
  4125.          (somMethodProc *) SimplePartCanvasChanged  },
  4126.     {    &somId_SimplePartGeometryChanged,
  4127.          (somMethodProc *) SimplePartGeometryChanged  },
  4128.     {    &somId_SimplePartDraw,
  4129.          (somMethodProc *) SimplePartDraw  },
  4130.     {    &somId_SimplePartCanvasUpdated,
  4131.          (somMethodProc *) SimplePartCanvasUpdated  },
  4132.     {    &somId_SimplePartHighlightChanged,
  4133.          (somMethodProc *) SimplePartHighlightChanged  },
  4134.     {    &somId_SimplePartCreateLink,
  4135.          (somMethodProc *) SimplePartCreateLink  },
  4136.     {    &somId_SimplePartLinkUpdated,
  4137.          (somMethodProc *) SimplePartLinkUpdated  },
  4138.     {    &somId_SimplePartRevealLink,
  4139.          (somMethodProc *) SimplePartRevealLink  },
  4140.     {    &somId_SimplePartEmbeddedFrameChanged,
  4141.          (somMethodProc *) SimplePartEmbeddedFrameChanged  },
  4142.     {    &somId_SimplePartLinkStatusChanged,
  4143.          (somMethodProc *) SimplePartLinkStatusChanged  },
  4144.     {    &somId_SimplePartBeginRelinquishFocus,
  4145.          (somMethodProc *) SimplePartBeginRelinquishFocus  },
  4146.     {    &somId_SimplePartCommitRelinquishFocus,
  4147.          (somMethodProc *) SimplePartCommitRelinquishFocus  },
  4148.     {    &somId_SimplePartAbortRelinquishFocus,
  4149.          (somMethodProc *) SimplePartAbortRelinquishFocus  },
  4150.     {    &somId_SimplePartFocusAcquired,
  4151.          (somMethodProc *) SimplePartFocusAcquired  },
  4152.     {    &somId_SimplePartFocusLost,
  4153.          (somMethodProc *) SimplePartFocusLost  },
  4154.     {    &somId_SimplePartCloneInto,
  4155.          (somMethodProc *) SimplePartCloneInto  },
  4156.     {    &somId_SimplePartExternalizeKinds,
  4157.          (somMethodProc *) SimplePartExternalizeKinds  },
  4158.     {    &somId_SimplePartExternalize,
  4159.          (somMethodProc *) SimplePartExternalize  },
  4160.     {    &somId_SimplePartChangeKind,
  4161.          (somMethodProc *) SimplePartChangeKind  },
  4162.     {    &somId_SimplePartHandleEvent,
  4163.          (somMethodProc *) SimplePartHandleEvent  },
  4164.     {    &somId_SimplePartHandleEventInEmbedded,
  4165.          (somMethodProc *) SimplePartHandleEventInEmbedded  },
  4166.     {    &somId_SimplePartMouseEnter,
  4167.          (somMethodProc *) SimplePartMouseEnter  },
  4168.     {    &somId_SimplePartMouseWithin,
  4169.          (somMethodProc *) SimplePartMouseWithin  },
  4170.     {    &somId_SimplePartMouseLeave,
  4171.          (somMethodProc *) SimplePartMouseLeave  },
  4172.     {    &somId_SimplePartAdjustMenus,
  4173.          (somMethodProc *) SimplePartAdjustMenus  },
  4174.     {    &somId_SimplePartUndoAction,
  4175.          (somMethodProc *) SimplePartUndoAction  },
  4176.     {    &somId_SimplePartRedoAction,
  4177.          (somMethodProc *) SimplePartRedoAction  },
  4178.     {    &somId_SimplePartDisposeActionState,
  4179.          (somMethodProc *) SimplePartDisposeActionState  },
  4180.     {    &somId_SimplePartWriteActionState,
  4181.          (somMethodProc *) SimplePartWriteActionState  },
  4182.     {    &somId_SimplePartReadActionState,
  4183.          (somMethodProc *) SimplePartReadActionState  },
  4184.     {    &somId_SimplePartInitPart,
  4185.          (somMethodProc *) SimplePartInitPart  },
  4186.     {    &somId_SimplePartInitPartFromStorage,
  4187.          (somMethodProc *) SimplePartInitPartFromStorage  },
  4188.     {    &somId_SimplePartRelease,
  4189.          (somMethodProc *) SimplePartRelease  },
  4190. };
  4191.  
  4192.  
  4193. /*
  4194.  *  class Ids
  4195.  */
  4196. static char * somCN_SimplePart = "SimplePart";
  4197. static char * somPCN_SimplePart_ODPart = "ODPart";
  4198.  
  4199. static somId somPCSimplePart[] = {
  4200.     &somPCN_SimplePart_ODPart,
  4201. };
  4202.  
  4203. static somStaticClassInfo SimplePartSCI = {
  4204.     4, 20, 64, 0, 0, 0, /* layout version 4 */ 
  4205.     SimplePart_MajorVersion, SimplePart_MinorVersion,
  4206.     sizeof(SimplePartData), SimplePart_MaxNoMethods, 1,
  4207.     &somCN_SimplePart,
  4208.     (somId) NULL, 1,
  4209.     somPCSimplePart,
  4210.     (somClassDataStructure *) &SimplePartClassData,
  4211.     (somCClassDataStructure *) &SimplePartCClassData,
  4212.     SimplePartSM, SimplePartOM,
  4213.     (char *) NULL,
  4214.     (somNonInternalData_t *) NULL,
  4215.    (somProcMethods_t *) NULL,
  4216.     (somVarargsFuncs_t *) NULL,
  4217.     (somTP_somClassInitFunc *) NULL,
  4218.     0, /* default alignment */
  4219.     -1, /* use parents as DirectInitClasses */
  4220.     0, /* no explicit DirectInitClasses */
  4221.     0, /* number of general methods */
  4222.     (somMethods_t *) NULL,
  4223.     0, /* no public data offset */
  4224.     0, /* no sci development level check */
  4225.     0, /* number of SelectInheritedMethods */
  4226.     0, /* no SelectInheritedMethods */
  4227.     21, /* number of classdata entries */
  4228.     0, /* no list provided currently */
  4229.     0, /* number of migrated methods */
  4230.     0, /* no migrated method implementations */
  4231.     0, /* number of initializers */
  4232.     0, /* no initializers */
  4233.     0, /* not a DTS class */
  4234.     0, /* no dynamically computed info */
  4235. };
  4236.  
  4237.  
  4238. /*
  4239.  * Class Creation and Initialization
  4240.  */
  4241.  
  4242. SOMClass * SOMLINK SimplePartNewClass (integer4 somtmajorVersion,
  4243.         integer4 somtminorVersion)
  4244. {
  4245.     ODPartNewClass(ODPart_MajorVersion,ODPart_MinorVersion);    /* static reference */
  4246.     return (SOMClass*) ((void*)(somBuildClass(1,&SimplePartSCI, somtmajorVersion, somtminorVersion)));
  4247. }
  4248.  
  4249. /*
  4250.  * Functions for attributes.
  4251.  */
  4252.  
  4253. /*
  4254.  * Macros for initializer/destructor entry/exit
  4255.  */
  4256.  
  4257. #endif /* Primary Implementation Support */
  4258.  
  4259. #endif       /* SOM_SimplePart_xih */
  4260.