home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
ibmodf.zip
/
CNTNRPRT.ZIP
/
CNTNRRMB.XIH
< prev
next >
Wrap
Text File
|
1995-04-13
|
13KB
|
341 lines
/*
* This file was generated by the SOM Compiler.
* FileName: CntnrRMB.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_ODContainerRootFrameMenuBar_xih
#define SOM_ODContainerRootFrameMenuBar_xih
#include <somcls.xh>
#include <somcm.xh>
#ifndef SOM_ODContainerRootFrameMenuBar_xh
#include <CntnrRMB.xh>
#endif
/*
* Set the scope of methods functions
*/
#ifndef SOM_Scope
#define SOM_Scope extern "C"
#endif
#define ODContainerRootFrameMenuBar_MaxNoMethods 0
/*
* -- Instance Data
*/
typedef struct {
long DemoOpenCount;
} ODContainerRootFrameMenuBarData;
/*
* -- Getdata Macro
*/
/*
* -- This emitter treats Data Tokens as Thunks by default.
* -- Use the sc modifier "nothunks" to override this default.
*/
typedef ODContainerRootFrameMenuBarData* (SOMLINK * somTD_ODContainerRootFrameMenuBar_DataThunk)(void*);
#define ODContainerRootFrameMenuBarGetData(somSelf) \
(((somTD_ODContainerRootFrameMenuBar_DataThunk)(ODContainerRootFrameMenuBarCClassData.instanceDataToken))(somSelf))
/*
* -- Instance Data Access Macros for use in Method Procedures
*/
#ifdef VARIABLE_MACROS
#define _DemoOpenCount (somThis->DemoOpenCount)
#endif
/*
* -- Primary Implementation File Support
*/
#if (defined(ODContainerRootFrameMenuBar_Class_Source) || defined(SOM_Module_cntnrrmb_Source))
/*
* Trace/Debug macro
*/
#ifndef ODContainerRootFrameMenuBarMethodDebug
#define ODContainerRootFrameMenuBarMethodDebug(c,m) SOMMethodDebug(c,m)
#endif
/*
* -- Method Macros for use in Method Procedures
*/
#ifdef METHOD_MACROS
#define _SetDependeeMenuBar somSelf->SetDependeeMenuBar
#define _GetDependeeMenuBar somSelf->GetDependeeMenuBar
#define _SetOwner somSelf->SetOwner
#define _AdjustRootMenus somSelf->AdjustRootMenus
#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 _somInit somSelf->somInit
#define _AdjustRootMenus somSelf->AdjustRootMenus
#endif
/*
* -- The ODContainerRootFrameMenuBar ClassData Structure
*/
SOMEXTERN struct ODContainerRootFrameMenuBarClassDataStructure SOMDLINK ODContainerRootFrameMenuBarClassData = {(SOMClass *) NULL};
/*
* -- The auxiliary ODContainerRootFrameMenuBar ClassData structure
*/
SOMEXTERN struct ODContainerRootFrameMenuBarCClassDataStructure SOMDLINK ODContainerRootFrameMenuBarCClassData = {(somMethodTabs) NULL};
/*
* Overridden method: somInit
*/
SOM_Scope void SOMLINK ODContainerRootFrameMenuBarsomInit(ODContainerRootFrameMenuBar *somSelf);
static char *somMN_ODContainerRootFrameMenuBarsomInit = "SOMObject::somInit";
static somId somId_ODContainerRootFrameMenuBarsomInit = &somMN_ODContainerRootFrameMenuBarsomInit;
#ifdef somId_somInit
#undef somId_somInit
#else
#define somId_somInit somId_ODContainerRootFrameMenuBarsomInit
#endif
typedef void (SOMLINK * somTD_xih_ODContainerRootFrameMenuBar_somInit)(ODContainerRootFrameMenuBar *somSelf);
/* define the parent method call macro */
#define ODContainerRootFrameMenuBar_parent_ODRootFrameMenuBar_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 ODContainerRootFrameMenuBar_parent_ODRootFrameMenuBar_somInit
#endif
#endif
#ifndef SOMGD_pmc_parent_ODRootFrameMenuBar_somInit
#ifdef parent_ODRootFrameMenuBar_somInit
#define SOMGD_pmc_parent_ODRootFrameMenuBar_somInit
#undef parent_ODRootFrameMenuBar_somInit
#else
#define parent_ODRootFrameMenuBar_somInit ODContainerRootFrameMenuBar_parent_ODRootFrameMenuBar_somInit
#endif
#endif
#define ODContainerRootFrameMenuBar_parents_somInit(somSelf) (somSelf)
/*
* Overridden method: AdjustRootMenus
*/
SOM_Scope void SOMLINK ODContainerRootFrameMenuBarAdjustRootMenus(ODContainerRootFrameMenuBar *somSelf, Environment *ev,
ODMenuID menuID,
ODFrame* frame);
static char *somMN_ODContainerRootFrameMenuBarAdjustRootMenus = "ODRootFrameMenuBar::AdjustRootMenus";
static somId somId_ODContainerRootFrameMenuBarAdjustRootMenus = &somMN_ODContainerRootFrameMenuBarAdjustRootMenus;
#ifdef somId_AdjustRootMenus
#undef somId_AdjustRootMenus
#else
#define somId_AdjustRootMenus somId_ODContainerRootFrameMenuBarAdjustRootMenus
#endif
typedef void (SOMLINK * somTD_xih_ODContainerRootFrameMenuBar_AdjustRootMenus)(ODContainerRootFrameMenuBar *somSelf, Environment *ev,
ODMenuID menuID,
ODFrame* frame);
/* define the parent method call macro */
static somMethodProc* ODContainerRootFrameMenuBar_parent_ODRootFrameMenuBar_AdjustRootMenus_resolved = 0;
#define ODContainerRootFrameMenuBar_parent_ODRootFrameMenuBar_AdjustRootMenus(somSelf,ev,menuID,frame) \
((( somTD_xih_ODContainerRootFrameMenuBar_AdjustRootMenus ) \
((ODContainerRootFrameMenuBar_parent_ODRootFrameMenuBar_AdjustRootMenus_resolved)? \
ODContainerRootFrameMenuBar_parent_ODRootFrameMenuBar_AdjustRootMenus_resolved : \
(ODContainerRootFrameMenuBar_parent_ODRootFrameMenuBar_AdjustRootMenus_resolved = \
somParentNumResolve(ODContainerRootFrameMenuBarCClassData.parentMtab, 1, ODRootFrameMenuBarClassData.AdjustRootMenus)))) \
(somSelf,ev,menuID,frame))
/* define a variety of (possibly ambiguous) short forms */
#ifndef SOMGD_pmc_parent_AdjustRootMenus
#ifdef parent_AdjustRootMenus
#define SOMGD_pmc_parent_AdjustRootMenus
#undef parent_AdjustRootMenus
#else
#define parent_AdjustRootMenus ODContainerRootFrameMenuBar_parent_ODRootFrameMenuBar_AdjustRootMenus
#endif
#endif
#ifndef SOMGD_pmc_parent_ODRootFrameMenuBar_AdjustRootMenus
#ifdef parent_ODRootFrameMenuBar_AdjustRootMenus
#define SOMGD_pmc_parent_ODRootFrameMenuBar_AdjustRootMenus
#undef parent_ODRootFrameMenuBar_AdjustRootMenus
#else
#define parent_ODRootFrameMenuBar_AdjustRootMenus ODContainerRootFrameMenuBar_parent_ODRootFrameMenuBar_AdjustRootMenus
#endif
#endif
#define ODContainerRootFrameMenuBar_parents_AdjustRootMenus(arg0,arg1,arg2) (\
ODContainerRootFrameMenuBar_parent_ODRootFrameMenuBar_AdjustRootMenus(arg0,arg1,arg2))
/*
* -- Routines and Structures to create the class object
*/
/*
* Declare the Override Methods table.
*/
static somOverrideMethod_t ODContainerRootFrameMenuBarOM[] = {
{ &somId_ODContainerRootFrameMenuBarsomInit,
(somMethodProc *) ODContainerRootFrameMenuBarsomInit },
{ &somId_ODContainerRootFrameMenuBarAdjustRootMenus,
(somMethodProc *) ODContainerRootFrameMenuBarAdjustRootMenus },
};
/*
* class Ids
*/
static char * somCN_ODContainerRootFrameMenuBar = "ODContainerRootFrameMenuBar";
static char * somPCN_ODContainerRootFrameMenuBar_ODRootFrameMenuBar = "ODRootFrameMenuBar";
static somId somPCODContainerRootFrameMenuBar[] = {
&somPCN_ODContainerRootFrameMenuBar_ODRootFrameMenuBar,
};
static somStaticClassInfo ODContainerRootFrameMenuBarSCI = {
4, 0, 2, 0, 0, 0, /* layout version 4 */
ODContainerRootFrameMenuBar_MajorVersion, ODContainerRootFrameMenuBar_MinorVersion,
sizeof(ODContainerRootFrameMenuBarData), ODContainerRootFrameMenuBar_MaxNoMethods, 1,
&somCN_ODContainerRootFrameMenuBar,
(somId) NULL, 1,
somPCODContainerRootFrameMenuBar,
(somClassDataStructure *) &ODContainerRootFrameMenuBarClassData,
(somCClassDataStructure *) &ODContainerRootFrameMenuBarCClassData,
(somStaticMethod_t *) NULL, ODContainerRootFrameMenuBarOM,
(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 */
0, /* 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 ODContainerRootFrameMenuBarNewClass (integer4 somtmajorVersion,
integer4 somtminorVersion)
{
ODRootFrameMenuBarNewClass(ODRootFrameMenuBar_MajorVersion,ODRootFrameMenuBar_MinorVersion); /* static reference */
return (SOMClass*) ((void*)(somBuildClass(1,&ODContainerRootFrameMenuBarSCI, somtmajorVersion, somtminorVersion)));
}
/*
* Functions for attributes.
*/
/*
* Macros for initializer/destructor entry/exit
*/
#endif /* Primary Implementation Support */
#endif /* SOM_ODContainerRootFrameMenuBar_xih */