home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 July: Mac OS SDK / Dev.CD Jul 96 SDK / Dev.CD Jul 96 SDK1.toast / Development Kits (Disc 1) / OpenDoc Development Framework / Developer University / DUProjects / Sample1 / Sources / Part.h < prev    next >
Encoding:
Text File  |  1996-03-29  |  1001 b   |  35 lines  |  [TEXT/CWIE]

  1. //    Release Version:    $ ODF 1 $
  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_CPart;
  15. class FW_CPresentation;
  16.  
  17. //=======================================================================
  18. class CSample1Part : public FW_CPart {
  19. public:
  20.     FW_DECLARE_AUTO(CSample1Part)
  21.                             CSample1Part(ODPart* odPart);
  22.     virtual                 ~CSample1Part();
  23. // overrides
  24. protected:
  25.     virtual void             Initialize(Environment* ev);
  26.     virtual FW_CContent*     NewPartContent(Environment* ev);
  27.     virtual FW_CFrame*        NewFrame(Environment* ev,
  28.                                  ODFrame* odFrame,
  29.                                  FW_CPresentation* presentation,
  30.                                  FW_Boolean fromStorage);
  31. };
  32.  
  33. //=======================================================================
  34. #endif
  35.