home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 April: Mac OS SDK / Dev.CD Apr 96 SDK / Dev.CD Apr 96 SDK1.toast / Development Kits (Disc 1) / OpenDoc Development Framework / DU Folder / DataCmd / Sources / Include / PizzaCommand.h < prev    next >
Encoding:
Text File  |  1995-10-19  |  949 b   |  37 lines  |  [TEXT/MPS ]

  1. //    Copyright © 1995 Apple Computer. All rights reserved.
  2. //    Release Version:    $ 1.0d11 $
  3.  
  4. #ifndef PIZZACOMMAND_H
  5. #define PIZZACOMMAND_H
  6.  
  7. //==========================================================
  8. #ifndef FWCMD_H
  9. #include "FWCmd.h"            // FW_CCommand
  10. #endif
  11.  
  12. //==========================================================
  13. class FW_CLASS_ATTR CDataCmdPart;
  14.  
  15. //==========================================================
  16. class FW_CLASS_ATTR CPizzaCommand : public FW_CCommand
  17. {
  18. public:
  19.     FW_DECLARE_CLASS
  20.                     CPizzaCommand(Environment* ev, 
  21.                                     ODCommandID id,
  22.                                     CDataCmdPart* part,
  23.                                     FW_CFrame* frame,
  24.                                     FW_CPoint position);
  25.     virtual         ~CPizzaCommand();
  26. protected:
  27.     // overrides
  28.     virtual void     DoIt(Environment* ev);
  29.     virtual void     UndoIt(Environment* ev);
  30.     virtual void     RedoIt(Environment* ev);
  31. private:
  32.     CDataCmdPart*    fDataCmdPart;
  33.     FW_CPoint        fPosition;
  34. };
  35.  
  36. //==========================================================
  37. #endif