home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 January: Mac OS SDK / Dev.CD Jan 97 SDK2.toast / Development Kits (Disc 2) / OpenDoc Development Framework / Developer University / DU Projects / GraphicsBfr / Sources / Part.h < prev    next >
Encoding:
Text File  |  1996-08-22  |  1.2 KB  |  40 lines  |  [TEXT/CWIE]

  1. //    Release Version:    $ ODF 2 $
  2. //    Copyright:            (c) 1993 - 1996 by Apple Computer, Inc., all rights reserved.
  3.  
  4. #ifndef PART_H
  5. #define PART_H
  6.  
  7. //=======================================================================
  8. // ----- Framework Includes -----
  9. #ifndef FWPART_H
  10. #include "FWPart.h"            // FW_CPart
  11. #endif
  12.  
  13. //=======================================================================
  14. class FW_CPresentation;
  15.  
  16. //=======================================================================
  17. class CGraphicsBfrPart : public FW_CPart {
  18. public:
  19.     FW_DECLARE_AUTO(CGraphicsBfrPart)
  20.                             CGraphicsBfrPart(ODPart* odPart);
  21.     virtual                 ~CGraphicsBfrPart();
  22. // overrides
  23. protected:
  24.     virtual void             Initialize(Environment* ev,
  25.                                         ODStorageUnit* storageUnit, 
  26.                                         FW_Boolean fromStorage);
  27.     virtual FW_CContent*     NewPartContent(Environment* ev);
  28.     virtual FW_CFrame*        NewFrame(Environment* ev,
  29.                                     ODFrame* odFrame,
  30.                                     FW_CPresentation* presentation,
  31.                                     FW_Boolean fromStorage);
  32.     virtual FW_CWindow*        NewDocumentWindow(Environment* ev);
  33.     virtual FW_Handled        DoAbout(Environment* ev);
  34. private:
  35.     FW_CPresentation*         fPresentation;
  36. };
  37.  
  38. //=======================================================================
  39. #endif
  40.