home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 January: Mac OS SDK / Dev.CD Jan 97 SDK2.toast / Development Kits (Disc 2) / OpenDoc Development Framework / Developer University / DU Projects / DataCopy / Sources / Selection.h < prev    next >
Encoding:
Text File  |  1996-08-22  |  1.2 KB  |  37 lines  |  [TEXT/CWIE]

  1. //========================================================================================
  2. //    Release Version:    $ ODF 2 $
  3. //    Copyright:    (c) 1993 - 1996 by Apple Computer, Inc., all rights reserved.
  4.  
  5. #ifndef SELECTION_H
  6. #define SELECTION_H
  7.  
  8. //====================================================================
  9. // ----- FrameWork Includes -----
  10. #ifndef FWSELECT_H
  11. #include "FWSelect.h"    // FW_CSelection
  12. #endif
  13.  
  14. //====================================================================
  15. class CDataCopyContent;
  16.  
  17. //====================================================================
  18. class CDataCopySelection : public FW_CSelection {
  19. public:
  20.     FW_DECLARE_AUTO(CDataCopySelection)
  21.                             CDataCopySelection(Environment* ev, 
  22.                                             CDataCopyContent* content);
  23.     virtual                 ~CDataCopySelection();
  24.     // overrides
  25. protected:
  26.     // must override
  27.     virtual void            CloseSelection(Environment* ev);
  28.     virtual void            ClearSelection(Environment* ev);
  29.     virtual FW_Boolean        IsEmpty(Environment* ev) const;
  30.     virtual void            SelectAll(Environment* ev);
  31.     virtual FW_CContent*    GetSelectedContent(Environment* ev);
  32. private:
  33.     CDataCopyContent*            fDataCopyContent;
  34. };
  35.  
  36. //====================================================================
  37. #endif