home *** CD-ROM | disk | FTP | other *** search
Text File | 1996-03-29 | 1.8 KB | 70 lines | [TEXT/CWIE] |
- // Release Version: $ ODF 1 $
- // Copyright: (c) 1993 - 1996 by Apple Computer, Inc., all rights reserved.
-
- //================================================================================
- #ifndef PART_H
- #include "Part.h"
- #endif
-
- #ifndef FRAME_H
- #include "Frame.h"
- #endif
-
- #ifndef DEFINES_K
- #include "Defines.k"
- #endif
-
- #ifndef BINDING_K
- #include "Binding.k"
- #endif
-
- // ----- Framework Includes -----
- #ifndef FWUTIL_H
- #include "FWUtil.h"
- #endif
-
- //==============================================================================
- #ifdef FW_BUILD_MAC
- #pragma segment GraphicsGX
- #endif
-
- FW_DEFINE_AUTO(CGraphicsGXPart)
-
- //==============================================================================
- CGraphicsGXPart::CGraphicsGXPart(ODPart* odPart)
- : FW_CPart(odPart, FW_gInstance, kPartInfoID)
- {
- }
-
- //--------------------------------------------------------------------------------
- CGraphicsGXPart::~CGraphicsGXPart()
- {
- }
-
- //--------------------------------------------------------------------------------
- void
- CGraphicsGXPart::Initialize(Environment* ev) // Override
- {
- FW_CPart::Initialize(ev);
- FW_CSelection* selection = NULL;
- const ODType kMainPresentation = "Apple:Presentation:GraphicsGX";
- this->RegisterPresentation(ev, kMainPresentation, true, selection);
- }
-
- //--------------------------------------------------------------------------------
- FW_CFrame*
- CGraphicsGXPart::NewFrame(Environment* ev, ODFrame* odFrame,
- FW_CPresentation* presentation, FW_Boolean fromStorage) // Override
- {
- FW_UNUSED(presentation);
- FW_UNUSED(fromStorage);
- return FW_NEW(CGraphicsGXFrame, (ev, odFrame, presentation, this));
- }
-
- //--------------------------------------------------------------------------------
- FW_CContent*
- CGraphicsGXPart::NewPartContent(Environment* ev)
- {
- return NULL;
- }
-