home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 October: Mac OS SDK / Dev.CD Oct 96 SDK / Dev.CD Oct 96 SDK2.toast / Development Kits (Disc 2) / OpenDoc Development Framework / Developer University / DUProjects / Sample3 / Sources / Frame.h < prev    next >
Encoding:
Text File  |  1996-08-16  |  1.1 KB  |  39 lines  |  [TEXT/CWIE]

  1. //    Copyright © 1995-96 Apple Computer, Inc. All rights reserved.
  2. //    Release Version:    $ ODF 1 $
  3.  
  4. #ifndef FRAME_H
  5. #define FRAME_H
  6.  
  7. //=======================================================================
  8. // ----- Framework Includes -----
  9. #ifndef FWFRAME_H
  10. #include <FWFrame.h>        // FW_CFrame
  11. #endif
  12.  
  13. //=======================================================================
  14. class CSample3Part;
  15. class DevUniv_STalker;
  16.  
  17. //=======================================================================
  18. class CSample3Frame : public FW_CFrame {
  19. public:
  20.     FW_DECLARE_AUTO(CSample3Frame)
  21.                         CSample3Frame(Environment* ev, 
  22.                                     ODFrame* odFrame, 
  23.                                     FW_CPresentation* presentation, 
  24.                                     CSample3Part* sample3Part);
  25.     virtual             ~CSample3Frame();
  26. protected:
  27. // overrides
  28.     virtual void        Draw(Environment *ev, 
  29.                              ODFacet* odFacet, 
  30.                              ODShape* invalidShape);
  31.     virtual FW_Boolean    DoMouseDown(Environment* ev, 
  32.                                     const FW_CMouseEvent& theMouseEvent);
  33. private:
  34.     DevUniv_STalker*    fSOMTalker;    // SOM object for speech synthesis
  35. };
  36.  
  37. //=======================================================================
  38. #endif
  39.