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 / Graphics / Sources / Part.h < prev    next >
Encoding:
Text File  |  1996-08-22  |  1.1 KB  |  38 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 CGraphicsPart : public FW_CPart {
  18. public:
  19.     FW_DECLARE_AUTO(CGraphicsPart)
  20.     
  21.                             CGraphicsPart(ODPart* odPart);
  22.     virtual                 ~CGraphicsPart();
  23. // overrides
  24. protected:
  25.     virtual void             Initialize(Environment* ev,
  26.                                     ODStorageUnit* storageUnit, 
  27.                                     FW_Boolean fromStorage);
  28.     virtual FW_CContent*     NewPartContent(Environment* ev);
  29.     virtual FW_CFrame*        NewFrame(Environment* ev,
  30.                                      ODFrame* odFrame,
  31.                                      FW_CPresentation* presentation,
  32.                                      FW_Boolean fromStorage);
  33.     virtual FW_Handled        DoAbout(Environment* ev);
  34. };
  35.  
  36. //=======================================================================
  37. #endif
  38.