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 / Talker / Sources / Commands.h < prev    next >
Encoding:
Text File  |  1996-08-16  |  1004 b   |  40 lines  |  [TEXT/CWIE]

  1. //    Copyright © 1995-96 Apple Computer. All rights reserved.
  2. //    Release Version:    $ ODF 1 $
  3.  
  4. #ifndef TALKERCMD_H
  5. #define TALKERCMD_H
  6.  
  7. //==========================================================
  8. #ifndef FWCMD_H
  9. #include "FWCmd.h"            // FW_CCommand
  10. #endif
  11.  
  12. #ifndef FWMNUITM_H
  13.     #include "FWMnuItm.h"    // FW_kFirstUserCommandID
  14. #endif 
  15.  
  16. //==========================================================
  17. class DevUniv_STalker;
  18.  
  19. //==========================================================
  20. class CTalkerCommand : public FW_CCommand
  21. {
  22. public:
  23.     FW_DECLARE_AUTO(CTalkerCommand)
  24.     
  25.                     CTalkerCommand(Environment* ev, 
  26.                                     ODCommandID id,
  27.                                     FW_CFrame* frame,
  28.                                     DevUniv_STalker* talker);
  29.     virtual         ~CTalkerCommand();
  30. protected:
  31.     // overrides
  32.     virtual void     DoIt(Environment* ev);
  33.     virtual void     UndoIt(Environment* ev);
  34.     virtual void     RedoIt(Environment* ev);
  35. private:
  36.     DevUniv_STalker*    fSOMTalker;    // speech synthesis SOM object     
  37. };
  38.  
  39. //==========================================================
  40. #endif