home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
ibmodf.zip
/
CNTNRPRT.ZIP
/
MENUBROT.XIH
< prev
next >
Wrap
Text File
|
1995-04-13
|
23KB
|
610 lines
/*
* This file was generated by the SOM Compiler.
* FileName: MenuBRot.xih.
* Generated using:
* SOM Precompiler somipc: 2.29.1.2
* SOM Emitter emitxih: 2.41
*/
/*
*
* Classes defined in this interface
*
*/
/*
* -- By default, for classes declared using IDL,
* -- this emitter doesn't define redispatch/apply stubs.
* -- Instead, it requests that the SOM kernel produce them.
* -- To override this default, use the "notc" modifier.
*/
#ifndef SOM_ODRootFrameMenuBar_xih
#define SOM_ODRootFrameMenuBar_xih
#include <somcls.xh>
#include <somcm.xh>
#ifndef SOM_ODRootFrameMenuBar_xh
#include <MenuBRot.xh>
#endif
/*
* Set the scope of methods functions
*/
#ifndef SOM_Scope
#define SOM_Scope extern "C"
#endif
#define ODRootFrameMenuBar_MaxNoMethods 4
/*
* -- Instance Data
*/
typedef struct {
ODFrame* fOwnerFrame;
ODBoolean fInRecursion1;
ODMenuBar* mbDependentUpon;
} ODRootFrameMenuBarData;
/*
* -- Getdata Macro
*/
/*
* -- This emitter treats Data Tokens as Thunks by default.
* -- Use the sc modifier "nothunks" to override this default.
*/
typedef ODRootFrameMenuBarData* (SOMLINK * somTD_ODRootFrameMenuBar_DataThunk)(void*);
#define ODRootFrameMenuBarGetData(somSelf) \
(((somTD_ODRootFrameMenuBar_DataThunk)(ODRootFrameMenuBarCClassData.instanceDataToken))(somSelf))
/*
* -- Instance Data Access Macros for use in Method Procedures
*/
#ifdef VARIABLE_MACROS
#define _fOwnerFrame (somThis->fOwnerFrame)
#define _fInRecursion1 (somThis->fInRecursion1)
#define _mbDependentUpon (somThis->mbDependentUpon)
#endif
/*
* -- Primary Implementation File Support
*/
#if (defined(ODRootFrameMenuBar_Class_Source) || defined(SOM_Module_menubrot_Source))
/*
* Trace/Debug macro
*/
#ifndef ODRootFrameMenuBarMethodDebug
#define ODRootFrameMenuBarMethodDebug(c,m) SOMMethodDebug(c,m)
#endif
/*
* -- Method Macros for use in Method Procedures
*/
#ifdef METHOD_MACROS
#define _InitMenuBar somSelf->InitMenuBar
#define _AddMenuAfter somSelf->AddMenuAfter
#define _AddItemBefore somSelf->AddItemBefore
#define _AddItemLast somSelf->AddItemLast
#define _AddMenuBBefore somSelf->AddMenuBBefore
#define _AddMenuBLast somSelf->AddMenuBLast
#define _HandleEvent somSelf->HandleEvent
#define _CheckItem somSelf->CheckItem
#define _EnableItem somSelf->EnableItem
#define _Exists somSelf->Exists
#define _GetChangeNumber somSelf->GetChangeNumber
#define _GetItem somSelf->GetItem
#define _GetItemChecked somSelf->GetItemChecked
#define _GetItemEnabled somSelf->GetItemEnabled
#define _GetItemString somSelf->GetItemString
#define _GetOldMenuID somSelf->GetOldMenuID
#define _GetPromptString somSelf->GetPromptString
#define _GetFirstMenuID somSelf->GetFirstMenuID
#define _GetNextMenuID somSelf->GetNextMenuID
#define _GetLastMenuID somSelf->GetLastMenuID
#define _RemapIDs somSelf->RemapIDs
#define _SetItemString somSelf->SetItemString
#define _UpdateMenuDependencyChain somSelf->UpdateMenuDependencyChain
#define _DependentMenuBarRemoved somSelf->DependentMenuBarRemoved
#define _DependentMenuBarAdded somSelf->DependentMenuBarAdded
#define _UpdateMenuWindowTree somSelf->UpdateMenuWindowTree
#define _Display somSelf->Display
#define _Copy somSelf->Copy
#define _AddMenuLast somSelf->AddMenuLast
#define _AddMenuBefore somSelf->AddMenuBefore
#define _RemoveMenu somSelf->RemoveMenu
#define _GetMenu somSelf->GetMenu
#define _InitRefCntObject somSelf->InitRefCntObject
#define _IncrementRefCount somSelf->IncrementRefCount
#define _Release somSelf->Release
#define _GetRefCount somSelf->GetRefCount
#define _InitObject somSelf->InitObject
#define _IsInitialized somSelf->IsInitialized
#define _HasExtension somSelf->HasExtension
#define _GetExtension somSelf->GetExtension
#define _ReleaseExtension somSelf->ReleaseExtension
#define _Purge somSelf->Purge
#define _SubClassResponsibility somSelf->SubClassResponsibility
#define _somDefaultInit somSelf->somDefaultInit
#define _somDestruct somSelf->somDestruct
#define _somDefaultCopyInit somSelf->somDefaultCopyInit
#define _somDefaultAssign somSelf->somDefaultAssign
#define _somDefaultConstCopyInit somSelf->somDefaultConstCopyInit
#define _somDefaultVCopyInit somSelf->somDefaultVCopyInit
#define _somDefaultConstVCopyInit somSelf->somDefaultConstVCopyInit
#define _somDefaultConstAssign somSelf->somDefaultConstAssign
#define _somDefaultVAssign somSelf->somDefaultVAssign
#define _somDefaultConstVAssign somSelf->somDefaultConstVAssign
#define _somInit somSelf->somInit
#define _somFree somSelf->somFree
#define _somUninit somSelf->somUninit
#define _somGetClass somSelf->somGetClass
#define _somGetClassName somSelf->somGetClassName
#define _somGetSize somSelf->somGetSize
#define _somIsA somSelf->somIsA
#define _somIsInstanceOf somSelf->somIsInstanceOf
#define _somRespondsTo somSelf->somRespondsTo
#define _somDispatch somSelf->somDispatch
#define _somClassDispatch somSelf->somClassDispatch
#define _somCastObj somSelf->somCastObj
#define _somResetObj somSelf->somResetObj
#define _somDispatchV somSelf->somDispatchV
#define _somDispatchL somSelf->somDispatchL
#define _somDispatchA somSelf->somDispatchA
#define _somDispatchD somSelf->somDispatchD
#define _somPrintSelf somSelf->somPrintSelf
#define _somDumpSelf somSelf->somDumpSelf
#define _somDumpSelfInt somSelf->somDumpSelfInt
#define _SetDependeeMenuBar somSelf->SetDependeeMenuBar
#define _GetDependeeMenuBar somSelf->GetDependeeMenuBar
#define _SetOwner somSelf->SetOwner
#define _AdjustRootMenus somSelf->AdjustRootMenus
#define _somInit somSelf->somInit
#define _HandleEvent somSelf->HandleEvent
#define _UpdateMenuDependencyChain somSelf->UpdateMenuDependencyChain
#define _somUninit somSelf->somUninit
#endif
/*
* -- The ODRootFrameMenuBar ClassData Structure
*/
SOMEXTERN struct ODRootFrameMenuBarClassDataStructure SOMDLINK ODRootFrameMenuBarClassData = {(SOMClass *) NULL};
/*
* -- The auxiliary ODRootFrameMenuBar ClassData structure
*/
SOMEXTERN struct ODRootFrameMenuBarCClassDataStructure SOMDLINK ODRootFrameMenuBarCClassData = {(somMethodTabs) NULL};
/*
* -- Apply Stubs for New Methods
*/
static void SOMLINK somAP_ODRootFrameMenuBarSetDependeeMenuBar(ODRootFrameMenuBar *somSelf,
void *__retVal,
somMethodProc *__methodPtr,
va_list __ap)
{
somSelf = va_arg(__ap, ODRootFrameMenuBar*);
Environment *ev = va_arg(__ap, Environment*);
ODMenuBar* menuBar = va_arg(__ap, ODMenuBar*);
SOM_IgnoreWarning(__retVal);
((somTD_ODRootFrameMenuBar_SetDependeeMenuBar) __methodPtr) (somSelf, ev, menuBar);
}
static void SOMLINK somAP_ODRootFrameMenuBarGetDependeeMenuBar(ODRootFrameMenuBar *somSelf,
ODMenuBar* *__retVal,
somMethodProc *__methodPtr,
va_list __ap)
{
somSelf = va_arg(__ap, ODRootFrameMenuBar*);
Environment *ev = va_arg(__ap, Environment*);
SOM_IgnoreWarning(__ap);
*__retVal = ((somTD_ODRootFrameMenuBar_GetDependeeMenuBar) __methodPtr) (somSelf, ev);
}
static void SOMLINK somAP_ODRootFrameMenuBarSetOwner(ODRootFrameMenuBar *somSelf,
void *__retVal,
somMethodProc *__methodPtr,
va_list __ap)
{
somSelf = va_arg(__ap, ODRootFrameMenuBar*);
Environment *ev = va_arg(__ap, Environment*);
ODFrame* frame = va_arg(__ap, ODFrame*);
SOM_IgnoreWarning(__retVal);
((somTD_ODRootFrameMenuBar_SetOwner) __methodPtr) (somSelf, ev, frame);
}
static void SOMLINK somAP_ODRootFrameMenuBarAdjustRootMenus(ODRootFrameMenuBar *somSelf,
void *__retVal,
somMethodProc *__methodPtr,
va_list __ap)
{
somSelf = va_arg(__ap, ODRootFrameMenuBar*);
Environment *ev = va_arg(__ap, Environment*);
ODMenuID menuID = va_arg(__ap, int);
ODFrame* frame = va_arg(__ap, ODFrame*);
SOM_IgnoreWarning(__retVal);
((somTD_ODRootFrameMenuBar_AdjustRootMenus) __methodPtr) (somSelf, ev, menuID,frame);
}
/*
* New Method: SetDependeeMenuBar
*/
SOM_Scope void SOMLINK ODRootFrameMenuBarSetDependeeMenuBar(ODRootFrameMenuBar *somSelf, Environment *ev,
ODMenuBar* menuBar);
#ifndef somMN_SetDependeeMenuBar_defined
#define somMN_SetDependeeMenuBar_defined
static char *somMN_SetDependeeMenuBar = "SetDependeeMenuBar";
static somId somId_SetDependeeMenuBar = &somMN_SetDependeeMenuBar;
#endif /* somMN_SetDependeeMenuBar_defined */
#ifndef somDS_SetDependeeMenuBar_defined
#define somDS_SetDependeeMenuBar_defined
static char *somDS_SetDependeeMenuBar = "::ODRootFrameMenuBar::SetDependeeMenuBar";
static somId somDI_SetDependeeMenuBar = &somDS_SetDependeeMenuBar;
#endif /* somDS_SetDependeeMenuBar_defined */
static void SOMLINK somRD_ODRootFrameMenuBarSetDependeeMenuBar(ODRootFrameMenuBar *somSelf, Environment *ev,
ODMenuBar* menuBar)
{
void* __retVal;
somSelf->somDispatch((void **)&__retVal, somId_SetDependeeMenuBar, somSelf , ev
,menuBar);
}
/*
* New Method: GetDependeeMenuBar
*/
SOM_Scope ODMenuBar* SOMLINK ODRootFrameMenuBarGetDependeeMenuBar(ODRootFrameMenuBar *somSelf, Environment *ev);
#ifndef somMN_GetDependeeMenuBar_defined
#define somMN_GetDependeeMenuBar_defined
static char *somMN_GetDependeeMenuBar = "GetDependeeMenuBar";
static somId somId_GetDependeeMenuBar = &somMN_GetDependeeMenuBar;
#endif /* somMN_GetDependeeMenuBar_defined */
#ifndef somDS_GetDependeeMenuBar_defined
#define somDS_GetDependeeMenuBar_defined
static char *somDS_GetDependeeMenuBar = "::ODRootFrameMenuBar::GetDependeeMenuBar";
static somId somDI_GetDependeeMenuBar = &somDS_GetDependeeMenuBar;
#endif /* somDS_GetDependeeMenuBar_defined */
static ODMenuBar* SOMLINK somRD_ODRootFrameMenuBarGetDependeeMenuBar(ODRootFrameMenuBar *somSelf, Environment *ev)
{
ODMenuBar* __retVal;
somSelf->somDispatch((void **)&__retVal, somId_GetDependeeMenuBar, somSelf , ev
);
return __retVal;
}
/*
* New Method: SetOwner
*/
SOM_Scope void SOMLINK ODRootFrameMenuBarSetOwner(ODRootFrameMenuBar *somSelf, Environment *ev,
ODFrame* frame);
#ifndef somMN_SetOwner_defined
#define somMN_SetOwner_defined
static char *somMN_SetOwner = "SetOwner";
static somId somId_SetOwner = &somMN_SetOwner;
#endif /* somMN_SetOwner_defined */
#ifndef somDS_SetOwner_defined
#define somDS_SetOwner_defined
static char *somDS_SetOwner = "::ODRootFrameMenuBar::SetOwner";
static somId somDI_SetOwner = &somDS_SetOwner;
#endif /* somDS_SetOwner_defined */
static void SOMLINK somRD_ODRootFrameMenuBarSetOwner(ODRootFrameMenuBar *somSelf, Environment *ev,
ODFrame* frame)
{
void* __retVal;
somSelf->somDispatch((void **)&__retVal, somId_SetOwner, somSelf , ev
,frame);
}
/*
* New Method: AdjustRootMenus
*/
SOM_Scope void SOMLINK ODRootFrameMenuBarAdjustRootMenus(ODRootFrameMenuBar *somSelf, Environment *ev,
ODMenuID menuID,
ODFrame* frame);
#ifndef somMN_AdjustRootMenus_defined
#define somMN_AdjustRootMenus_defined
static char *somMN_AdjustRootMenus = "AdjustRootMenus";
static somId somId_AdjustRootMenus = &somMN_AdjustRootMenus;
#endif /* somMN_AdjustRootMenus_defined */
#ifndef somDS_AdjustRootMenus_defined
#define somDS_AdjustRootMenus_defined
static char *somDS_AdjustRootMenus = "::ODRootFrameMenuBar::AdjustRootMenus";
static somId somDI_AdjustRootMenus = &somDS_AdjustRootMenus;
#endif /* somDS_AdjustRootMenus_defined */
static void SOMLINK somRD_ODRootFrameMenuBarAdjustRootMenus(ODRootFrameMenuBar *somSelf, Environment *ev,
ODMenuID menuID,
ODFrame* frame)
{
void* __retVal;
somSelf->somDispatch((void **)&__retVal, somId_AdjustRootMenus, somSelf , ev
,menuID,frame);
}
/*
* Overridden method: somInit
*/
SOM_Scope void SOMLINK ODRootFrameMenuBarsomInit(ODRootFrameMenuBar *somSelf);
static char *somMN_ODRootFrameMenuBarsomInit = "SOMObject::somInit";
static somId somId_ODRootFrameMenuBarsomInit = &somMN_ODRootFrameMenuBarsomInit;
#ifdef somId_somInit
#undef somId_somInit
#else
#define somId_somInit somId_ODRootFrameMenuBarsomInit
#endif
typedef void (SOMLINK * somTD_xih_ODRootFrameMenuBar_somInit)(ODRootFrameMenuBar *somSelf);
/* define the parent method call macro */
#define ODRootFrameMenuBar_parent_ODMenuBar_somInit(__somSelf) \
somSelf = (__somSelf,somSelf) /* pcalls for somInit/somUninit turned off */
/* define a variety of (possibly ambiguous) short forms */
#ifndef SOMGD_pmc_parent_somInit
#ifdef parent_somInit
#define SOMGD_pmc_parent_somInit
#undef parent_somInit
#else
#define parent_somInit ODRootFrameMenuBar_parent_ODMenuBar_somInit
#endif
#endif
#ifndef SOMGD_pmc_parent_ODMenuBar_somInit
#ifdef parent_ODMenuBar_somInit
#define SOMGD_pmc_parent_ODMenuBar_somInit
#undef parent_ODMenuBar_somInit
#else
#define parent_ODMenuBar_somInit ODRootFrameMenuBar_parent_ODMenuBar_somInit
#endif
#endif
#define ODRootFrameMenuBar_parents_somInit(somSelf) (somSelf)
/*
* Overridden method: HandleEvent
*/
SOM_Scope ODBoolean SOMLINK ODRootFrameMenuBarHandleEvent(ODRootFrameMenuBar *somSelf, Environment *ev,
ODEventData* event);
static char *somMN_ODRootFrameMenuBarHandleEvent = "ODMenuBar::HandleEvent";
static somId somId_ODRootFrameMenuBarHandleEvent = &somMN_ODRootFrameMenuBarHandleEvent;
#ifdef somId_HandleEvent
#undef somId_HandleEvent
#else
#define somId_HandleEvent somId_ODRootFrameMenuBarHandleEvent
#endif
typedef ODBoolean (SOMLINK * somTD_xih_ODRootFrameMenuBar_HandleEvent)(ODRootFrameMenuBar *somSelf, Environment *ev,
ODEventData* event);
/* define the parent method call macro */
static somMethodProc* ODRootFrameMenuBar_parent_ODMenuBar_HandleEvent_resolved = 0;
#define ODRootFrameMenuBar_parent_ODMenuBar_HandleEvent(somSelf,ev,event) \
((( somTD_xih_ODRootFrameMenuBar_HandleEvent ) \
((ODRootFrameMenuBar_parent_ODMenuBar_HandleEvent_resolved)? \
ODRootFrameMenuBar_parent_ODMenuBar_HandleEvent_resolved : \
(ODRootFrameMenuBar_parent_ODMenuBar_HandleEvent_resolved = \
somParentNumResolve(ODRootFrameMenuBarCClassData.parentMtab, 1, ODMenuBarClassData.HandleEvent)))) \
(somSelf,ev,event))
/* define a variety of (possibly ambiguous) short forms */
#ifndef SOMGD_pmc_parent_HandleEvent
#ifdef parent_HandleEvent
#define SOMGD_pmc_parent_HandleEvent
#undef parent_HandleEvent
#else
#define parent_HandleEvent ODRootFrameMenuBar_parent_ODMenuBar_HandleEvent
#endif
#endif
#ifndef SOMGD_pmc_parent_ODMenuBar_HandleEvent
#ifdef parent_ODMenuBar_HandleEvent
#define SOMGD_pmc_parent_ODMenuBar_HandleEvent
#undef parent_ODMenuBar_HandleEvent
#else
#define parent_ODMenuBar_HandleEvent ODRootFrameMenuBar_parent_ODMenuBar_HandleEvent
#endif
#endif
#define ODRootFrameMenuBar_parents_HandleEvent(arg0,arg1) (\
ODRootFrameMenuBar_parent_ODMenuBar_HandleEvent(arg0,arg1))
/*
* Overridden method: UpdateMenuDependencyChain
*/
SOM_Scope void SOMLINK ODRootFrameMenuBarUpdateMenuDependencyChain(ODRootFrameMenuBar *somSelf, Environment *ev,
ODMenuID menuID);
static char *somMN_ODRootFrameMenuBarUpdateMenuDependencyChain = "ODMenuBar::UpdateMenuDependencyChain";
static somId somId_ODRootFrameMenuBarUpdateMenuDependencyChain = &somMN_ODRootFrameMenuBarUpdateMenuDependencyChain;
#ifdef somId_UpdateMenuDependencyChain
#undef somId_UpdateMenuDependencyChain
#else
#define somId_UpdateMenuDependencyChain somId_ODRootFrameMenuBarUpdateMenuDependencyChain
#endif
typedef void (SOMLINK * somTD_xih_ODRootFrameMenuBar_UpdateMenuDependencyChain)(ODRootFrameMenuBar *somSelf, Environment *ev,
ODMenuID menuID);
/* define the parent method call macro */
static somMethodProc* ODRootFrameMenuBar_parent_ODMenuBar_UpdateMenuDependencyChain_resolved = 0;
#define ODRootFrameMenuBar_parent_ODMenuBar_UpdateMenuDependencyChain(somSelf,ev,menuID) \
((( somTD_xih_ODRootFrameMenuBar_UpdateMenuDependencyChain ) \
((ODRootFrameMenuBar_parent_ODMenuBar_UpdateMenuDependencyChain_resolved)? \
ODRootFrameMenuBar_parent_ODMenuBar_UpdateMenuDependencyChain_resolved : \
(ODRootFrameMenuBar_parent_ODMenuBar_UpdateMenuDependencyChain_resolved = \
somParentNumResolve(ODRootFrameMenuBarCClassData.parentMtab, 1, ODMenuBarClassData.UpdateMenuDependencyChain)))) \
(somSelf,ev,menuID))
/* define a variety of (possibly ambiguous) short forms */
#ifndef SOMGD_pmc_parent_UpdateMenuDependencyChain
#ifdef parent_UpdateMenuDependencyChain
#define SOMGD_pmc_parent_UpdateMenuDependencyChain
#undef parent_UpdateMenuDependencyChain
#else
#define parent_UpdateMenuDependencyChain ODRootFrameMenuBar_parent_ODMenuBar_UpdateMenuDependencyChain
#endif
#endif
#ifndef SOMGD_pmc_parent_ODMenuBar_UpdateMenuDependencyChain
#ifdef parent_ODMenuBar_UpdateMenuDependencyChain
#define SOMGD_pmc_parent_ODMenuBar_UpdateMenuDependencyChain
#undef parent_ODMenuBar_UpdateMenuDependencyChain
#else
#define parent_ODMenuBar_UpdateMenuDependencyChain ODRootFrameMenuBar_parent_ODMenuBar_UpdateMenuDependencyChain
#endif
#endif
#define ODRootFrameMenuBar_parents_UpdateMenuDependencyChain(arg0,arg1) (\
ODRootFrameMenuBar_parent_ODMenuBar_UpdateMenuDependencyChain(arg0,arg1))
/*
* Overridden method: somUninit
*/
SOM_Scope void SOMLINK ODRootFrameMenuBarsomUninit(ODRootFrameMenuBar *somSelf);
static char *somMN_ODRootFrameMenuBarsomUninit = "SOMObject::somUninit";
static somId somId_ODRootFrameMenuBarsomUninit = &somMN_ODRootFrameMenuBarsomUninit;
#ifdef somId_somUninit
#undef somId_somUninit
#else
#define somId_somUninit somId_ODRootFrameMenuBarsomUninit
#endif
typedef void (SOMLINK * somTD_xih_ODRootFrameMenuBar_somUninit)(ODRootFrameMenuBar *somSelf);
/* define the parent method call macro */
#define ODRootFrameMenuBar_parent_ODMenuBar_somUninit(__somSelf) \
somSelf = (__somSelf,somSelf) /* pcalls for somInit/somUninit turned off */
/* define a variety of (possibly ambiguous) short forms */
#ifndef SOMGD_pmc_parent_somUninit
#ifdef parent_somUninit
#define SOMGD_pmc_parent_somUninit
#undef parent_somUninit
#else
#define parent_somUninit ODRootFrameMenuBar_parent_ODMenuBar_somUninit
#endif
#endif
#ifndef SOMGD_pmc_parent_ODMenuBar_somUninit
#ifdef parent_ODMenuBar_somUninit
#define SOMGD_pmc_parent_ODMenuBar_somUninit
#undef parent_ODMenuBar_somUninit
#else
#define parent_ODMenuBar_somUninit ODRootFrameMenuBar_parent_ODMenuBar_somUninit
#endif
#endif
#define ODRootFrameMenuBar_parents_somUninit(somSelf) (somSelf)
/*
* -- Routines and Structures to create the class object
*/
/*
* Declare the Static Methods table.
*/
static somStaticMethod_t ODRootFrameMenuBarSM[] = {
{ &ODRootFrameMenuBarClassData.SetDependeeMenuBar,
&somId_SetDependeeMenuBar,
&somDI_SetDependeeMenuBar,
(somMethodProc *) ODRootFrameMenuBarSetDependeeMenuBar,
(somMethodProc *) somRD_ODRootFrameMenuBarSetDependeeMenuBar,
(somMethodProc *) somAP_ODRootFrameMenuBarSetDependeeMenuBar },
{ &ODRootFrameMenuBarClassData.GetDependeeMenuBar,
&somId_GetDependeeMenuBar,
&somDI_GetDependeeMenuBar,
(somMethodProc *) ODRootFrameMenuBarGetDependeeMenuBar,
(somMethodProc *) somRD_ODRootFrameMenuBarGetDependeeMenuBar,
(somMethodProc *) somAP_ODRootFrameMenuBarGetDependeeMenuBar },
{ &ODRootFrameMenuBarClassData.SetOwner,
&somId_SetOwner,
&somDI_SetOwner,
(somMethodProc *) ODRootFrameMenuBarSetOwner,
(somMethodProc *) somRD_ODRootFrameMenuBarSetOwner,
(somMethodProc *) somAP_ODRootFrameMenuBarSetOwner },
{ &ODRootFrameMenuBarClassData.AdjustRootMenus,
&somId_AdjustRootMenus,
&somDI_AdjustRootMenus,
(somMethodProc *) ODRootFrameMenuBarAdjustRootMenus,
(somMethodProc *) somRD_ODRootFrameMenuBarAdjustRootMenus,
(somMethodProc *) somAP_ODRootFrameMenuBarAdjustRootMenus },
};
/*
* Declare the Override Methods table.
*/
static somOverrideMethod_t ODRootFrameMenuBarOM[] = {
{ &somId_ODRootFrameMenuBarsomInit,
(somMethodProc *) ODRootFrameMenuBarsomInit },
{ &somId_ODRootFrameMenuBarHandleEvent,
(somMethodProc *) ODRootFrameMenuBarHandleEvent },
{ &somId_ODRootFrameMenuBarUpdateMenuDependencyChain,
(somMethodProc *) ODRootFrameMenuBarUpdateMenuDependencyChain },
{ &somId_ODRootFrameMenuBarsomUninit,
(somMethodProc *) ODRootFrameMenuBarsomUninit },
};
/*
* class Ids
*/
static char * somCN_ODRootFrameMenuBar = "ODRootFrameMenuBar";
static char * somPCN_ODRootFrameMenuBar_ODMenuBar = "ODMenuBar";
static somId somPCODRootFrameMenuBar[] = {
&somPCN_ODRootFrameMenuBar_ODMenuBar,
};
static somStaticClassInfo ODRootFrameMenuBarSCI = {
4, 4, 4, 0, 0, 0, /* layout version 4 */
ODRootFrameMenuBar_MajorVersion, ODRootFrameMenuBar_MinorVersion,
sizeof(ODRootFrameMenuBarData), ODRootFrameMenuBar_MaxNoMethods, 1,
&somCN_ODRootFrameMenuBar,
(somId) NULL, 1,
somPCODRootFrameMenuBar,
(somClassDataStructure *) &ODRootFrameMenuBarClassData,
(somCClassDataStructure *) &ODRootFrameMenuBarCClassData,
ODRootFrameMenuBarSM, ODRootFrameMenuBarOM,
(char *) NULL,
(somNonInternalData_t *) NULL,
(somProcMethods_t *) NULL,
(somVarargsFuncs_t *) NULL,
(somTP_somClassInitFunc *) NULL,
0, /* default alignment */
-1, /* use parents as DirectInitClasses */
0, /* no explicit DirectInitClasses */
0, /* number of general methods */
(somMethods_t *) NULL,
0, /* no public data offset */
0, /* no sci development level check */
0, /* number of SelectInheritedMethods */
0, /* no SelectInheritedMethods */
4, /* number of classdata entries */
0, /* no list provided currently */
0, /* number of migrated methods */
0, /* no migrated method implementations */
0, /* number of initializers */
0, /* no initializers */
0, /* not a DTS class */
0, /* no dynamically computed info */
};
/*
* Class Creation and Initialization
*/
SOMClass * SOMLINK ODRootFrameMenuBarNewClass (integer4 somtmajorVersion,
integer4 somtminorVersion)
{
ODMenuBarNewClass(ODMenuBar_MajorVersion,ODMenuBar_MinorVersion); /* static reference */
return (SOMClass*) ((void*)(somBuildClass(1,&ODRootFrameMenuBarSCI, somtmajorVersion, somtminorVersion)));
}
/*
* Functions for attributes.
*/
/*
* Macros for initializer/destructor entry/exit
*/
#endif /* Primary Implementation Support */
#endif /* SOM_ODRootFrameMenuBar_xih */