home *** CD-ROM | disk | FTP | other *** search
Text File | 1996-08-16 | 1.3 KB | 51 lines | [TEXT/CWIE] |
- // Release Version: $ ODF 1 $
- // Copyright: (c) 1993 - 1996 by Apple Computer, Inc., all rights reserved.
-
- #ifndef PART_H
- #define PART_H
-
- //=======================================================================
- #ifndef DEFINES_K
- #include "Defines.k"
- #endif
-
- // ----- Framework Includes -----
- #ifndef FWPART_H
- #include "FWPart.h" // FW_CPart
- #endif
-
-
- //=======================================================================
- class FW_CPart;
- class FW_CMenuBar;
- class FW_CMenuEvent;
- class FW_CPresentation;
-
- //=======================================================================
- class CMnuPart : public FW_CPart {
- public:
- FW_DECLARE_AUTO(CMnuPart)
- CMnuPart(ODPart* odPart);
- virtual ~CMnuPart();
- // overrides
- protected:
- virtual void Initialize(Environment* ev);
- virtual FW_CContent* NewPartContent(Environment* ev);
- virtual FW_CFrame* NewFrame(Environment* ev,
- ODFrame* odFrame,
- FW_CPresentation* presentation,
- FW_Boolean fromStorage);
- virtual FW_Boolean DoAdjustMenus(Environment* ev,
- FW_CMenuBar* menuBar,
- FW_Boolean hasMenuFocus,
- FW_Boolean isRoot);
- virtual FW_Boolean DoMenu(Environment* ev,
- const FW_CMenuEvent& theMenuEvent);
- // new members
- private:
- FW_CPresentation* fPresentation;
- };
-
- //=======================================================================
- #endif
-