home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Professional Developers Kit 1992 November / Disc01 / Disc01.mdf / cppbeta / ibmcli / isysmenu.hp_ / ISYSMENU.HPP
Encoding:
C/C++ Source or Header  |  1992-10-26  |  2.8 KB  |  59 lines

  1. #ifndef _ISYSMENU_
  2.   #define _ISYSMENU_
  3. /**************************************************************/
  4. /* FILE NAME: isysmenu.hpp                                    */
  5. /*                                                            */
  6. /* DESCRIPTION:                                               */
  7. /*    Declaration of the class:                               */
  8. /*      ISystemMenu - wrapper for the System menu             */
  9. /*                                                            */
  10. /* COPYRIGHT:                                                 */
  11. /*   Licensed Materials - Property of IBM                     */
  12. /*   (c) Copyright IBM Corporation 1992, 1993                 */
  13. /*   US Government Users Restricted Rights - Use duplication  */
  14. /*   or disclosure restricted by GSA ADP Schedule Contract    */
  15. /*   with IBM Corp.                                           */
  16. /*                                                            */
  17. /* $Log:   G:/IBMCLASS/IBASEAPP/VCS/ISYSMENU.HPV  $                                                      */
  18. // 
  19. //    Rev 1.2   26 Oct 1992 10:00:44   HARPERSP
  20. // Updates for standardized header documentation.
  21. /*                                                            */
  22. /**************************************************************/
  23.  
  24. #ifndef _IMENU_
  25. #include <imenu.hpp>
  26. #endif
  27.  
  28. // Forward declarations for other classes
  29. class  ISystemMenu;        /*  sysmn  */
  30. class  IWindow;
  31.  
  32. class ISystemMenu : public IMenu
  33. {
  34. /**********************************************************************
  35. * Creates an object that can be used to manipulate the System Menu.   *
  36. *                                                                     *
  37. * Example:                                                            *
  38. *   ISystemMenu menu(myFrame);                                        *
  39. *     The System Menu can now be manipulated using "menu"             *
  40. *                                                                     *
  41. * The member functions in IMenu and ISubMenu can be used to           *
  42. * change the ISystemMenu. IMenuItem objects can be added to the       *
  43. * ISystemMenu.                                                        *
  44. **********************************************************************/
  45.   public:
  46. /*------------------ CONSTRUCTORS/DESTRUCTORS -------------------------
  47. |  There is 1 way to construct instances of this class:               |
  48. |    1. ISystemMenu(const IWindow* const owner);                      |
  49. |                                                                     |
  50. ---------------------------------------------------------------------*/
  51.      ISystemMenu(const IWindow* const owner);
  52.  
  53.  
  54. /*----------------------- PRIVATE -----------------------------------*/
  55.   private:
  56.     const IWindow* pwndClOwner;
  57. };
  58. #endif  /* _ISYSMENU_ */
  59.