home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / ibmodf.zip / CNTNRPRT.ZIP / MENUBROT.IDL < prev    next >
Text File  |  1994-10-19  |  3KB  |  106 lines

  1. #ifdef __PRIVATE__
  2. //#
  3. //#  File:    MenuBRot.idl
  4. //#
  5. //#  Contains:  Class definition for ODRootFrameMenuBar
  6. //#
  7. //#  Written by:  Jason Crawford
  8. //#
  9. //#  Copyright:  (c) 1994 by IBM Corp., all rights reserved.
  10. //#
  11. //#  Change History (most recent first):
  12. //#
  13. //#     <1>    ?/?/94  JLC   first checked in
  14. //#
  15. //#  To Do:
  16. //#
  17. #else
  18. //#  Copyright:  (c) 1993-1994 by IBM Corp., all rights reserved.
  19. #endif
  20.  
  21. #ifndef _MENUBROT_
  22. #define _MENUBROT_
  23.  
  24. #ifndef _MENUBAR_
  25.    #include "MenuBar.idl"
  26. #endif
  27.  
  28. //=====================================================================================
  29. // Classes defined in this interface
  30. //=====================================================================================
  31.  
  32. interface  ODRootFrameMenuBar;
  33.  
  34. //=====================================================================================
  35. // Classes used by this interface
  36. //=====================================================================================
  37.  
  38. interface  ODSession;
  39. interface  ODPart;
  40. interface  ODFrame;
  41.  
  42. #ifdef __PRIVATE__
  43. //=====================================================================================
  44. // Implementation Types
  45. //=====================================================================================
  46.  
  47.  
  48. #endif //# __PRIVATE__
  49.  
  50. //=====================================================================================
  51. // Class ODRootFrameMenuBar
  52. //=====================================================================================
  53.  
  54. #ifdef _PLATFORM_OS2_
  55.  
  56. interface ODRootFrameMenuBar :  ODMenuBar
  57. {
  58.    void SetDependeeMenuBar( in ODMenuBar menuBar );
  59.    ODMenuBar GetDependeeMenuBar( );
  60.    void SetOwner( in ODFrame frame );
  61.  
  62.    void AdjustRootMenus( in ODMenuID menuID, in ODFrame frame );
  63.  
  64.  
  65. #ifdef __SOMIDL__
  66.   implementation
  67.   {
  68.      functionprefix = ODRootFrameMenuBar;
  69.  
  70.      override:
  71.          somInit,
  72.          HandleEvent,
  73.          UpdateMenuDependencyChain,
  74.          somUninit;
  75.  
  76.      releaseorder:
  77.          SetOwner,
  78.          SetDependeeMenuBar,
  79.          GetDependeeMenuBar,
  80.          AdjustRootMenus;
  81.  
  82.      majorversion = 1; minorversion = 0;
  83.  
  84.      #ifdef __PRIVATE__
  85.         ODFrame   fOwnerFrame;
  86.         ODBoolean fInRecursion1;
  87.  
  88.         //ODSession fSession;
  89.  
  90.         //ODMenuBar mbFirstDependent;
  91.         //ODMenuBar mbNextDependent;
  92.         ODMenuBar mbDependentUpon;
  93.         //long      fSynchedChangeNumber;
  94.         //long      fChangeNumber;
  95.         //ODiMenuItem *  xpmiFirstChild;
  96.      #endif
  97.  
  98.   };
  99. #endif //# __SOMIDL__
  100.  
  101. };
  102.  
  103. #endif //#  _PLATFORM_OS2_
  104.  
  105. #endif //# _MENUBROT_
  106.