home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / ibmodf.zip / CNTNRPRT.ZIP / CNTNRPUM.XIH < prev    next >
Text File  |  1995-04-13  |  19KB  |  482 lines

  1.  
  2. /*
  3.  * This file was generated by the SOM Compiler.
  4.  * FileName: CntnrPUM.xih.
  5.  * Generated using:
  6.  *     SOM Precompiler somipc: 2.29.1.2
  7.  *     SOM Emitter emitxih: 2.41
  8.  */
  9.  
  10. /*
  11.  * 
  12.  *  Classes defined in this interface
  13.  * 
  14.  */
  15.  
  16.  
  17. /*
  18.  * -- By default, for classes declared using IDL,
  19.  * -- this emitter doesn't define redispatch/apply stubs.
  20.  * -- Instead, it requests that the SOM kernel produce them.
  21.  * -- To override this default, use the "notc" modifier.
  22.  */
  23.  
  24. #ifndef SOM_ODPopupContainerMenu_xih
  25. #define SOM_ODPopupContainerMenu_xih
  26.  
  27. #include <somcls.xh>
  28. #include <somcm.xh>
  29.  
  30. #ifndef SOM_ODPopupContainerMenu_xh
  31. #include <CntnrPUM.xh>
  32. #endif
  33.  
  34. /*
  35.  * Set the scope of methods functions
  36.  */
  37. #ifndef SOM_Scope
  38. #define SOM_Scope extern "C"
  39. #endif
  40.  
  41. #define ODPopupContainerMenu_MaxNoMethods 1
  42.  
  43. /*
  44.  * -- Instance Data
  45.  */
  46. typedef struct {
  47.     ODFrame* fOwnerFrame;
  48.     HWND fMenuHwnd;
  49.     HWND fObjectHwnd;
  50. } ODPopupContainerMenuData;
  51.  
  52. /*
  53.  * -- Getdata Macro
  54.  */
  55.  
  56. /*
  57.  * -- This emitter treats Data Tokens as Thunks by default.
  58.  * -- Use the sc modifier "nothunks" to override this default.
  59.  */
  60. typedef ODPopupContainerMenuData* (SOMLINK * somTD_ODPopupContainerMenu_DataThunk)(void*);
  61. #define ODPopupContainerMenuGetData(somSelf) \
  62.    (((somTD_ODPopupContainerMenu_DataThunk)(ODPopupContainerMenuCClassData.instanceDataToken))(somSelf))
  63.  
  64. /*
  65.  * -- Instance Data Access Macros for use in Method Procedures
  66.  */
  67. #ifdef VARIABLE_MACROS
  68.   #define _fOwnerFrame (somThis->fOwnerFrame)
  69.   #define _fMenuHwnd (somThis->fMenuHwnd)
  70.   #define _fObjectHwnd (somThis->fObjectHwnd)
  71. #endif
  72.  
  73.  
  74. /*
  75.  * -- Primary Implementation File Support
  76.  */
  77. #if (defined(ODPopupContainerMenu_Class_Source) || defined(SOM_Module_cntnrpum_Source))
  78.  
  79. /*
  80.  * Trace/Debug macro
  81.  */
  82. #ifndef ODPopupContainerMenuMethodDebug
  83.    #define ODPopupContainerMenuMethodDebug(c,m) SOMMethodDebug(c,m)
  84. #endif
  85.  
  86. /*
  87.  * -- Method Macros for use in Method Procedures
  88.  */
  89. #ifdef METHOD_MACROS
  90.   #define _SetDependeeMenuBar somSelf->SetDependeeMenuBar
  91.   #define _SetOwner somSelf->SetOwner
  92.   #define _GetDependeeMenuBar somSelf->GetDependeeMenuBar
  93.   #define _AdjustMenus somSelf->AdjustMenus
  94.   #define _InitMenuBar somSelf->InitMenuBar
  95.   #define _AddMenuAfter somSelf->AddMenuAfter
  96.   #define _AddItemBefore somSelf->AddItemBefore
  97.   #define _AddItemLast somSelf->AddItemLast
  98.   #define _AddMenuBBefore somSelf->AddMenuBBefore
  99.   #define _AddMenuBLast somSelf->AddMenuBLast
  100.   #define _HandleEvent somSelf->HandleEvent
  101.   #define _CheckItem somSelf->CheckItem
  102.   #define _EnableItem somSelf->EnableItem
  103.   #define _Exists somSelf->Exists
  104.   #define _GetChangeNumber somSelf->GetChangeNumber
  105.   #define _GetItem somSelf->GetItem
  106.   #define _GetItemChecked somSelf->GetItemChecked
  107.   #define _GetItemEnabled somSelf->GetItemEnabled
  108.   #define _GetItemString somSelf->GetItemString
  109.   #define _GetOldMenuID somSelf->GetOldMenuID
  110.   #define _GetPromptString somSelf->GetPromptString
  111.   #define _GetFirstMenuID somSelf->GetFirstMenuID
  112.   #define _GetNextMenuID somSelf->GetNextMenuID
  113.   #define _GetLastMenuID somSelf->GetLastMenuID
  114.   #define _RemapIDs somSelf->RemapIDs
  115.   #define _SetItemString somSelf->SetItemString
  116.   #define _UpdateMenuDependencyChain somSelf->UpdateMenuDependencyChain
  117.   #define _DependentMenuBarRemoved somSelf->DependentMenuBarRemoved
  118.   #define _DependentMenuBarAdded somSelf->DependentMenuBarAdded
  119.   #define _UpdateMenuWindowTree somSelf->UpdateMenuWindowTree
  120.   #define _Display somSelf->Display
  121.   #define _Copy somSelf->Copy
  122.   #define _AddMenuLast somSelf->AddMenuLast
  123.   #define _AddMenuBefore somSelf->AddMenuBefore
  124.   #define _RemoveMenu somSelf->RemoveMenu
  125.   #define _GetMenu somSelf->GetMenu
  126.   #define _InitRefCntObject somSelf->InitRefCntObject
  127.   #define _IncrementRefCount somSelf->IncrementRefCount
  128.   #define _Release somSelf->Release
  129.   #define _GetRefCount somSelf->GetRefCount
  130.   #define _InitObject somSelf->InitObject
  131.   #define _IsInitialized somSelf->IsInitialized
  132.   #define _HasExtension somSelf->HasExtension
  133.   #define _GetExtension somSelf->GetExtension
  134.   #define _ReleaseExtension somSelf->ReleaseExtension
  135.   #define _Purge somSelf->Purge
  136.   #define _SubClassResponsibility somSelf->SubClassResponsibility
  137.   #define _somDefaultInit somSelf->somDefaultInit
  138.   #define _somDestruct somSelf->somDestruct
  139.   #define _somDefaultCopyInit somSelf->somDefaultCopyInit
  140.   #define _somDefaultAssign somSelf->somDefaultAssign
  141.   #define _somDefaultConstCopyInit somSelf->somDefaultConstCopyInit
  142.   #define _somDefaultVCopyInit somSelf->somDefaultVCopyInit
  143.   #define _somDefaultConstVCopyInit somSelf->somDefaultConstVCopyInit
  144.   #define _somDefaultConstAssign somSelf->somDefaultConstAssign
  145.   #define _somDefaultVAssign somSelf->somDefaultVAssign
  146.   #define _somDefaultConstVAssign somSelf->somDefaultConstVAssign
  147.   #define _somInit somSelf->somInit
  148.   #define _somFree somSelf->somFree
  149.   #define _somUninit somSelf->somUninit
  150.   #define _somGetClass somSelf->somGetClass
  151.   #define _somGetClassName somSelf->somGetClassName
  152.   #define _somGetSize somSelf->somGetSize
  153.   #define _somIsA somSelf->somIsA
  154.   #define _somIsInstanceOf somSelf->somIsInstanceOf
  155.   #define _somRespondsTo somSelf->somRespondsTo
  156.   #define _somDispatch somSelf->somDispatch
  157.   #define _somClassDispatch somSelf->somClassDispatch
  158.   #define _somCastObj somSelf->somCastObj
  159.   #define _somResetObj somSelf->somResetObj
  160.   #define _somDispatchV somSelf->somDispatchV
  161.   #define _somDispatchL somSelf->somDispatchL
  162.   #define _somDispatchA somSelf->somDispatchA
  163.   #define _somDispatchD somSelf->somDispatchD
  164.   #define _somPrintSelf somSelf->somPrintSelf
  165.   #define _somDumpSelf somSelf->somDumpSelf
  166.   #define _somDumpSelfInt somSelf->somDumpSelfInt
  167.   #define _InitPopupContainerMenu somSelf->InitPopupContainerMenu
  168.   #define _somInit somSelf->somInit
  169.   #define _UpdateMenuDependencyChain somSelf->UpdateMenuDependencyChain
  170.   #define _Display somSelf->Display
  171.   #define _somUninit somSelf->somUninit
  172. #endif
  173.  
  174.  
  175. /*
  176.  * -- The ODPopupContainerMenu ClassData Structure
  177.  */
  178. SOMEXTERN struct ODPopupContainerMenuClassDataStructure SOMDLINK ODPopupContainerMenuClassData = {(SOMClass *) NULL};
  179.  
  180. /*
  181.  * -- The auxiliary ODPopupContainerMenu ClassData structure
  182.  */
  183. SOMEXTERN struct ODPopupContainerMenuCClassDataStructure SOMDLINK ODPopupContainerMenuCClassData = {(somMethodTabs) NULL};
  184.  
  185.  
  186. /*
  187.  * -- Apply Stubs for New Methods
  188.  */
  189. static void SOMLINK somAP_ODPopupContainerMenuInitPopupContainerMenu(ODPopupContainerMenu *somSelf,
  190.         void *__retVal,
  191.         somMethodProc *__methodPtr,
  192.         va_list __ap)
  193. {
  194.     somSelf = va_arg(__ap, ODPopupContainerMenu*);
  195.     Environment *ev = va_arg(__ap, Environment*);
  196.     ODSession* session = va_arg(__ap, ODSession*);
  197.     ODFrame* frame = va_arg(__ap, ODFrame*);
  198.     SOM_IgnoreWarning(__retVal);
  199.  
  200.     ((somTD_ODPopupContainerMenu_InitPopupContainerMenu) __methodPtr) (somSelf, ev, session,frame);
  201. }
  202.  
  203.  
  204. /*
  205.  * New Method: InitPopupContainerMenu
  206.  */
  207. SOM_Scope void  SOMLINK ODPopupContainerMenuInitPopupContainerMenu(ODPopupContainerMenu *somSelf, Environment *ev,
  208.         ODSession* session,
  209.         ODFrame* frame);
  210. #ifndef somMN_InitPopupContainerMenu_defined
  211. #define somMN_InitPopupContainerMenu_defined
  212. static char *somMN_InitPopupContainerMenu = "InitPopupContainerMenu";
  213. static somId somId_InitPopupContainerMenu = &somMN_InitPopupContainerMenu;
  214. #endif  /* somMN_InitPopupContainerMenu_defined */
  215. #ifndef somDS_InitPopupContainerMenu_defined
  216. #define somDS_InitPopupContainerMenu_defined
  217. static char *somDS_InitPopupContainerMenu = "::ODPopupContainerMenu::InitPopupContainerMenu";
  218. static somId somDI_InitPopupContainerMenu = &somDS_InitPopupContainerMenu;
  219. #endif  /* somDS_InitPopupContainerMenu_defined */
  220. static void  SOMLINK somRD_ODPopupContainerMenuInitPopupContainerMenu(ODPopupContainerMenu *somSelf, Environment *ev,
  221.         ODSession* session,
  222.         ODFrame* frame)
  223. {
  224.     void* __retVal;
  225.  
  226.     somSelf->somDispatch((void **)&__retVal, somId_InitPopupContainerMenu, somSelf , ev
  227.         ,session,frame);
  228. }
  229.  
  230. /*
  231.  * Overridden method: somInit
  232.  */
  233. SOM_Scope void  SOMLINK ODPopupContainerMenusomInit(ODPopupContainerMenu *somSelf);
  234. static char *somMN_ODPopupContainerMenusomInit = "SOMObject::somInit";
  235. static somId somId_ODPopupContainerMenusomInit = &somMN_ODPopupContainerMenusomInit;
  236. #ifdef somId_somInit
  237. #undef somId_somInit
  238. #else
  239. #define somId_somInit somId_ODPopupContainerMenusomInit
  240. #endif
  241. typedef void   (SOMLINK * somTD_xih_ODPopupContainerMenu_somInit)(ODPopupContainerMenu *somSelf);
  242. /* define the parent method call macro */
  243. #define ODPopupContainerMenu_parent_ODActiveFrameMenuBar_somInit(__somSelf) \
  244.     somSelf = (__somSelf,somSelf) /* pcalls for somInit/somUninit turned off */
  245. /* define a variety of (possibly ambiguous) short forms */
  246. #ifndef SOMGD_pmc_parent_somInit
  247.   #ifdef parent_somInit
  248.     #define SOMGD_pmc_parent_somInit
  249.     #undef parent_somInit
  250.   #else
  251. #define parent_somInit ODPopupContainerMenu_parent_ODActiveFrameMenuBar_somInit
  252.   #endif
  253. #endif
  254. #ifndef SOMGD_pmc_parent_ODActiveFrameMenuBar_somInit
  255.   #ifdef parent_ODActiveFrameMenuBar_somInit
  256.     #define SOMGD_pmc_parent_ODActiveFrameMenuBar_somInit
  257.     #undef parent_ODActiveFrameMenuBar_somInit
  258.   #else
  259.     #define parent_ODActiveFrameMenuBar_somInit ODPopupContainerMenu_parent_ODActiveFrameMenuBar_somInit
  260.   #endif
  261. #endif
  262. #define ODPopupContainerMenu_parents_somInit(somSelf) (somSelf)
  263.  
  264. /*
  265.  * Overridden method: UpdateMenuDependencyChain
  266.  */
  267. SOM_Scope void  SOMLINK ODPopupContainerMenuUpdateMenuDependencyChain(ODPopupContainerMenu *somSelf, Environment *ev,
  268.         ODMenuID menuID);
  269. static char *somMN_ODPopupContainerMenuUpdateMenuDependencyChain = "ODMenuBar::UpdateMenuDependencyChain";
  270. static somId somId_ODPopupContainerMenuUpdateMenuDependencyChain = &somMN_ODPopupContainerMenuUpdateMenuDependencyChain;
  271. #ifdef somId_UpdateMenuDependencyChain
  272. #undef somId_UpdateMenuDependencyChain
  273. #else
  274. #define somId_UpdateMenuDependencyChain somId_ODPopupContainerMenuUpdateMenuDependencyChain
  275. #endif
  276. typedef void   (SOMLINK * somTD_xih_ODPopupContainerMenu_UpdateMenuDependencyChain)(ODPopupContainerMenu *somSelf, Environment *ev,
  277.         ODMenuID menuID);
  278. /* define the parent method call macro */
  279. static somMethodProc* ODPopupContainerMenu_parent_ODActiveFrameMenuBar_UpdateMenuDependencyChain_resolved = 0;
  280. #define ODPopupContainerMenu_parent_ODActiveFrameMenuBar_UpdateMenuDependencyChain(somSelf,ev,menuID) \
  281.   ((( somTD_xih_ODPopupContainerMenu_UpdateMenuDependencyChain ) \
  282.     ((ODPopupContainerMenu_parent_ODActiveFrameMenuBar_UpdateMenuDependencyChain_resolved)? \
  283.       ODPopupContainerMenu_parent_ODActiveFrameMenuBar_UpdateMenuDependencyChain_resolved : \
  284.       (ODPopupContainerMenu_parent_ODActiveFrameMenuBar_UpdateMenuDependencyChain_resolved = \
  285.           somParentNumResolve(ODPopupContainerMenuCClassData.parentMtab, 1, ODMenuBarClassData.UpdateMenuDependencyChain)))) \
  286.    (somSelf,ev,menuID))
  287. /* define a variety of (possibly ambiguous) short forms */
  288. #ifndef SOMGD_pmc_parent_UpdateMenuDependencyChain
  289.   #ifdef parent_UpdateMenuDependencyChain
  290.     #define SOMGD_pmc_parent_UpdateMenuDependencyChain
  291.     #undef parent_UpdateMenuDependencyChain
  292.   #else
  293. #define parent_UpdateMenuDependencyChain ODPopupContainerMenu_parent_ODActiveFrameMenuBar_UpdateMenuDependencyChain
  294.   #endif
  295. #endif
  296. #ifndef SOMGD_pmc_parent_ODActiveFrameMenuBar_UpdateMenuDependencyChain
  297.   #ifdef parent_ODActiveFrameMenuBar_UpdateMenuDependencyChain
  298.     #define SOMGD_pmc_parent_ODActiveFrameMenuBar_UpdateMenuDependencyChain
  299.     #undef parent_ODActiveFrameMenuBar_UpdateMenuDependencyChain
  300.   #else
  301.     #define parent_ODActiveFrameMenuBar_UpdateMenuDependencyChain ODPopupContainerMenu_parent_ODActiveFrameMenuBar_UpdateMenuDependencyChain
  302.   #endif
  303. #endif
  304. #define ODPopupContainerMenu_parents_UpdateMenuDependencyChain(arg0,arg1) (\
  305.    ODPopupContainerMenu_parent_ODActiveFrameMenuBar_UpdateMenuDependencyChain(arg0,arg1))
  306.  
  307. /*
  308.  * Overridden method: Display
  309.  */
  310. SOM_Scope void  SOMLINK ODPopupContainerMenuDisplay(ODPopupContainerMenu *somSelf, Environment *ev);
  311. static char *somMN_ODPopupContainerMenuDisplay = "ODBaseMenuBar::Display";
  312. static somId somId_ODPopupContainerMenuDisplay = &somMN_ODPopupContainerMenuDisplay;
  313. #ifdef somId_Display
  314. #undef somId_Display
  315. #else
  316. #define somId_Display somId_ODPopupContainerMenuDisplay
  317. #endif
  318. typedef void   (SOMLINK * somTD_xih_ODPopupContainerMenu_Display)(ODPopupContainerMenu *somSelf, Environment *ev);
  319. /* define the parent method call macro */
  320. static somMethodProc* ODPopupContainerMenu_parent_ODActiveFrameMenuBar_Display_resolved = 0;
  321. #define ODPopupContainerMenu_parent_ODActiveFrameMenuBar_Display(somSelf,ev) \
  322.   ((( somTD_xih_ODPopupContainerMenu_Display ) \
  323.     ((ODPopupContainerMenu_parent_ODActiveFrameMenuBar_Display_resolved)? \
  324.       ODPopupContainerMenu_parent_ODActiveFrameMenuBar_Display_resolved : \
  325.       (ODPopupContainerMenu_parent_ODActiveFrameMenuBar_Display_resolved = \
  326.           somParentNumResolve(ODPopupContainerMenuCClassData.parentMtab, 1, ODBaseMenuBarClassData.Display)))) \
  327.    (somSelf,ev))
  328. /* define a variety of (possibly ambiguous) short forms */
  329. #ifndef SOMGD_pmc_parent_Display
  330.   #ifdef parent_Display
  331.     #define SOMGD_pmc_parent_Display
  332.     #undef parent_Display
  333.   #else
  334. #define parent_Display ODPopupContainerMenu_parent_ODActiveFrameMenuBar_Display
  335.   #endif
  336. #endif
  337. #ifndef SOMGD_pmc_parent_ODActiveFrameMenuBar_Display
  338.   #ifdef parent_ODActiveFrameMenuBar_Display
  339.     #define SOMGD_pmc_parent_ODActiveFrameMenuBar_Display
  340.     #undef parent_ODActiveFrameMenuBar_Display
  341.   #else
  342.     #define parent_ODActiveFrameMenuBar_Display ODPopupContainerMenu_parent_ODActiveFrameMenuBar_Display
  343.   #endif
  344. #endif
  345. #define ODPopupContainerMenu_parents_Display(arg0) (\
  346.    ODPopupContainerMenu_parent_ODActiveFrameMenuBar_Display(arg0))
  347.  
  348. /*
  349.  * Overridden method: somUninit
  350.  */
  351. SOM_Scope void  SOMLINK ODPopupContainerMenusomUninit(ODPopupContainerMenu *somSelf);
  352. static char *somMN_ODPopupContainerMenusomUninit = "SOMObject::somUninit";
  353. static somId somId_ODPopupContainerMenusomUninit = &somMN_ODPopupContainerMenusomUninit;
  354. #ifdef somId_somUninit
  355. #undef somId_somUninit
  356. #else
  357. #define somId_somUninit somId_ODPopupContainerMenusomUninit
  358. #endif
  359. typedef void   (SOMLINK * somTD_xih_ODPopupContainerMenu_somUninit)(ODPopupContainerMenu *somSelf);
  360. /* define the parent method call macro */
  361. #define ODPopupContainerMenu_parent_ODActiveFrameMenuBar_somUninit(__somSelf) \
  362.     somSelf = (__somSelf,somSelf) /* pcalls for somInit/somUninit turned off */
  363. /* define a variety of (possibly ambiguous) short forms */
  364. #ifndef SOMGD_pmc_parent_somUninit
  365.   #ifdef parent_somUninit
  366.     #define SOMGD_pmc_parent_somUninit
  367.     #undef parent_somUninit
  368.   #else
  369. #define parent_somUninit ODPopupContainerMenu_parent_ODActiveFrameMenuBar_somUninit
  370.   #endif
  371. #endif
  372. #ifndef SOMGD_pmc_parent_ODActiveFrameMenuBar_somUninit
  373.   #ifdef parent_ODActiveFrameMenuBar_somUninit
  374.     #define SOMGD_pmc_parent_ODActiveFrameMenuBar_somUninit
  375.     #undef parent_ODActiveFrameMenuBar_somUninit
  376.   #else
  377.     #define parent_ODActiveFrameMenuBar_somUninit ODPopupContainerMenu_parent_ODActiveFrameMenuBar_somUninit
  378.   #endif
  379. #endif
  380. #define ODPopupContainerMenu_parents_somUninit(somSelf) (somSelf)
  381.  
  382. /*
  383.  * -- Routines and Structures to create the class object
  384.  */
  385.  
  386.  
  387. /*
  388.  * Declare the Static Methods table.
  389.  */
  390. static somStaticMethod_t ODPopupContainerMenuSM[] = {
  391.     {    &ODPopupContainerMenuClassData.InitPopupContainerMenu,
  392.          &somId_InitPopupContainerMenu,
  393.          &somDI_InitPopupContainerMenu,
  394.          (somMethodProc *) ODPopupContainerMenuInitPopupContainerMenu,
  395.          (somMethodProc *) somRD_ODPopupContainerMenuInitPopupContainerMenu,
  396.          (somMethodProc *) somAP_ODPopupContainerMenuInitPopupContainerMenu    },
  397. };
  398.  
  399.  
  400. /*
  401.  * Declare the Override Methods table.
  402.  */
  403. static somOverrideMethod_t ODPopupContainerMenuOM[] = {
  404.     {    &somId_ODPopupContainerMenusomInit,
  405.          (somMethodProc *) ODPopupContainerMenusomInit  },
  406.     {    &somId_ODPopupContainerMenuUpdateMenuDependencyChain,
  407.          (somMethodProc *) ODPopupContainerMenuUpdateMenuDependencyChain  },
  408.     {    &somId_ODPopupContainerMenuDisplay,
  409.          (somMethodProc *) ODPopupContainerMenuDisplay  },
  410.     {    &somId_ODPopupContainerMenusomUninit,
  411.          (somMethodProc *) ODPopupContainerMenusomUninit  },
  412. };
  413.  
  414.  
  415. /*
  416.  *  class Ids
  417.  */
  418. static char * somCN_ODPopupContainerMenu = "ODPopupContainerMenu";
  419. static char * somPCN_ODPopupContainerMenu_ODActiveFrameMenuBar = "ODActiveFrameMenuBar";
  420.  
  421. static somId somPCODPopupContainerMenu[] = {
  422.     &somPCN_ODPopupContainerMenu_ODActiveFrameMenuBar,
  423. };
  424.  
  425. static somStaticClassInfo ODPopupContainerMenuSCI = {
  426.     4, 1, 4, 0, 0, 0, /* layout version 4 */ 
  427.     ODPopupContainerMenu_MajorVersion, ODPopupContainerMenu_MinorVersion,
  428.     sizeof(ODPopupContainerMenuData), ODPopupContainerMenu_MaxNoMethods, 1,
  429.     &somCN_ODPopupContainerMenu,
  430.     (somId) NULL, 1,
  431.     somPCODPopupContainerMenu,
  432.     (somClassDataStructure *) &ODPopupContainerMenuClassData,
  433.     (somCClassDataStructure *) &ODPopupContainerMenuCClassData,
  434.     ODPopupContainerMenuSM, ODPopupContainerMenuOM,
  435.     (char *) NULL,
  436.     (somNonInternalData_t *) NULL,
  437.    (somProcMethods_t *) NULL,
  438.     (somVarargsFuncs_t *) NULL,
  439.     (somTP_somClassInitFunc *) NULL,
  440.     0, /* default alignment */
  441.     -1, /* use parents as DirectInitClasses */
  442.     0, /* no explicit DirectInitClasses */
  443.     0, /* number of general methods */
  444.     (somMethods_t *) NULL,
  445.     0, /* no public data offset */
  446.     0, /* no sci development level check */
  447.     0, /* number of SelectInheritedMethods */
  448.     0, /* no SelectInheritedMethods */
  449.     1, /* number of classdata entries */
  450.     0, /* no list provided currently */
  451.     0, /* number of migrated methods */
  452.     0, /* no migrated method implementations */
  453.     0, /* number of initializers */
  454.     0, /* no initializers */
  455.     0, /* not a DTS class */
  456.     0, /* no dynamically computed info */
  457. };
  458.  
  459.  
  460. /*
  461.  * Class Creation and Initialization
  462.  */
  463.  
  464. SOMClass * SOMLINK ODPopupContainerMenuNewClass (integer4 somtmajorVersion,
  465.         integer4 somtminorVersion)
  466. {
  467.     ODActiveFrameMenuBarNewClass(ODActiveFrameMenuBar_MajorVersion,ODActiveFrameMenuBar_MinorVersion);    /* static reference */
  468.     return (SOMClass*) ((void*)(somBuildClass(1,&ODPopupContainerMenuSCI, somtmajorVersion, somtminorVersion)));
  469. }
  470.  
  471. /*
  472.  * Functions for attributes.
  473.  */
  474.  
  475. /*
  476.  * Macros for initializer/destructor entry/exit
  477.  */
  478.  
  479. #endif /* Primary Implementation Support */
  480.  
  481. #endif       /* SOM_ODPopupContainerMenu_xih */
  482.