home *** CD-ROM | disk | FTP | other *** search
/ Power GUI Programming with VisualAge C++ / powergui.iso / powergui / cnr / spreadsh / sprdhdr.hpp < prev    next >
Encoding:
C/C++ Source or Header  |  1996-10-29  |  893 b   |  36 lines

  1. #ifndef _SPRDHDR_
  2. #define _SPRDHDR_
  3. //************************************************************
  4. // Container Control - Spreadsheet Behavior
  5. //
  6. // Copyright (C) 1994, Law, Leong, Love, Olson, Tsuji.
  7. // Copyright (c) 1997 John Wiley & Sons, Inc. 
  8. // All Rights Reserved.
  9. //************************************************************
  10. #include <icmdhdr.hpp>
  11. #include <icnrctl.hpp>
  12. #include <iaccel.hpp>
  13. #include "spreadsh.h"
  14.  
  15. class CnrSpreadSheetHandler : public ICommandHandler {
  16. public:
  17.  CnrSpreadSheetHandler ( IContainerControl& container);
  18.  
  19. IContainerControl
  20.  &container        ( );
  21.  
  22. protected:
  23. virtual Boolean 
  24.   command(ICommandEvent& commandEvent);
  25.  
  26. private:
  27. IContainerControl
  28.  &cnrctl;
  29. IAccelerator
  30.   accel;
  31. CnrSpreadSheetHandler(const CnrSpreadSheetHandler&);
  32. CnrSpreadSheetHandler& operator=(const CnrSpreadSheetHandler&);
  33. };
  34.  
  35. #endif // SPRDHDR_
  36.