home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / opendc12.zip / od124os2.exe / od12otk1.exe / include / Popup.idl < prev    next >
Text File  |  1997-04-02  |  3KB  |  142 lines

  1. /* @(#)Z 1.17 com/src/ui/idl/Popup.idl, odui, od96os2, odos29712d 97/03/21 17:36:12 (96/10/15 18:14:20) */
  2. //#====START_GENERATED_PROLOG======================================
  3. //#
  4. //#
  5. //#   COMPONENT_NAME: odui
  6. //#
  7. //#   CLASSES: none
  8. //#
  9. //#   ORIGINS: 82,27
  10. //#
  11. //#
  12. //#   (C) COPYRIGHT International Business Machines Corp. 1995,1996
  13. //#   All Rights Reserved
  14. //#   Licensed Materials - Property of IBM
  15. //#   US Government Users Restricted Rights - Use, duplication or
  16. //#   disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
  17. //#       
  18. //#   IBM DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
  19. //#   ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
  20. //#   PURPOSE. IN NO EVENT SHALL IBM BE LIABLE FOR ANY SPECIAL, INDIRECT OR
  21. //#   CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF
  22. //#   USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
  23. //#   OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE
  24. //#   OR PERFORMANCE OF THIS SOFTWARE.
  25. //#
  26. //#====END_GENERATED_PROLOG========================================
  27. //#
  28.  
  29. #ifndef _POPUP_
  30. #define _POPUP_
  31.  
  32. #ifndef _MENUBAR_
  33. #include "MenuBar.idl"
  34. #endif
  35.  
  36. #ifndef _ODTYPESM_
  37. #include "ODTypesM.idl"
  38. #endif
  39.  
  40. //======================================================================
  41. // Classes defined in this interface
  42. //======================================================================
  43.  
  44. interface  ODPopup;
  45.  
  46. //======================================================================
  47. // Classes used by this interface
  48. //======================================================================
  49.  
  50. interface  ODSession;
  51. interface  ODPart;
  52. interface  ODFrame;
  53. interface  ODMenuBar;
  54.  
  55. //======================================================================
  56. // Class ODPopupMenu
  57. //======================================================================
  58.  
  59. interface ODPopup :  ODMenuBar
  60. {
  61.  
  62.     ODBoolean AddDefaultMenuItemBefore    (in ODMenuItemID menuItemID,
  63.                      in ODMenuItemID beforeID);
  64.  
  65.     ODBoolean AddDefaultMenuItemLast    (in ODMenuItemID menuItemID);
  66.  
  67.  
  68. #ifdef __SOMIDL__
  69.     implementation
  70.     {
  71.     majorversion = 1;
  72.     minorversion = 0;
  73.  
  74.     functionprefix = ODPopup;
  75.  
  76.     override:
  77.         somInit,
  78.         somUninit,
  79.         Display,
  80.         Copy,
  81.         AddMenuLast,
  82.         AddMenuBefore,
  83.         RemoveMenu,
  84.         GetMenu,
  85.         IsValid,
  86.         GetMenuText,
  87.         SetMenuText,
  88.         GetMenuItemText,
  89.         SetMenuItemText,
  90.         SetHideMenuItem,
  91.         SetShowMenuItem,
  92.         CheckMenuItem,
  93.         EnableMenu,
  94.         EnableMenuItem,
  95.         AddMenuItemBefore,
  96.         AddMenuItemLast,
  97.         InsertSubmenu,
  98.         AddSubMenuBefore,
  99.         AddSubMenuLast,
  100.         MenuExists,
  101.         IsMenuEnabled,
  102.         MenuItemExists,
  103.         Exists,
  104.         IsItemEnabled,
  105.         IsItemChecked,
  106.         IsItemHidden,
  107.         RemoveMenuItem,
  108.  
  109.     #ifdef _PLATFORM_WIN32_
  110.         AddMenuLastEx,
  111.         AddMenuBeforeEx,
  112.         AddSubMenuBeforeEx,
  113.         AddSubMenuLastEx,
  114.     #endif // PLATFORM_WIN32
  115.  
  116.         #ifdef _PLATFORM_AIX_
  117.                 CreateX11PlatformMenu,
  118.                 DestroyX11PlatformMenu,
  119.         #endif // PLATFORM_AIX
  120.  
  121.         GetMenuItem;
  122.  
  123.     releaseorder:
  124.         AddDefaultMenuItemBefore,
  125.         AddDefaultMenuItemLast,
  126.  
  127.     #ifdef _PLATFORM_WIN32_
  128.         reserved1,
  129.     #endif // PLATFORM_WIN32
  130.  
  131.         reserved2,
  132.         reserved3;
  133.  
  134.  
  135.  
  136.     };
  137. #endif // __SOMIDL__
  138.  
  139. };
  140.  
  141. #endif // _POPUP_
  142.