home *** CD-ROM | disk | FTP | other *** search
Text File | 1996-08-22 | 1.8 KB | 79 lines | [TEXT/CWIE] |
- // Release Version: $ ODF 2 $
- // Copyright: (c) 1993 - 1996 by Apple Computer, Inc., all rights reserved.
-
- //========================================================================
- #ifndef SELECTION_H
- #include "Selection.h" // CTalkerSelection
- #endif
-
- #ifndef CONTENT_H // CTalkerContent
- #include "Content.h"
- #endif
-
- // ----- Part Layer -----
- #ifndef FWUTIL_H
- #include "FWUtil.h"
- #endif
-
- #ifndef FWITERS_H
- #include "FWIters.h"
- #endif
-
- #ifndef FWPRESEN_H
- #include "FWPresen.h"
- #endif
-
- //========================================================================
- #ifdef FW_BUILD_MAC
- #pragma segment talker
- #endif
-
- FW_DEFINE_AUTO(CTalkerSelection)
- //========================================================================
- CTalkerSelection::CTalkerSelection(Environment* ev, CTalkerContent* content)
- : FW_CSelection(ev, false, false),
- fTalkerContent(content)
- {
- FW_END_CONSTRUCTOR
- }
-
- //-------------------------------------------------------------------------
- CTalkerSelection::~CTalkerSelection()
- {
- FW_START_DESTRUCTOR
- }
-
- //-------------------------------------------------------------------------
- void
- CTalkerSelection::CloseSelection(Environment*)
- {
- }
-
- //-------------------------------------------------------------------------
- void
- CTalkerSelection::ClearSelection(Environment* ev)
- {
- FW_UNUSED(ev);
- }
-
- //-------------------------------------------------------------------------
- void
- CTalkerSelection::SelectAll(Environment*)
- {
- }
-
- //-------------------------------------------------------------------------
- FW_Boolean
- CTalkerSelection::IsEmpty(Environment* ev) const
- {
- FW_UNUSED(ev);
- return TRUE; // no data to copy
- }
-
- //-------------------------------------------------------------------------
- FW_CContent*
- CTalkerSelection::GetSelectedContent(Environment*)
- {
- return fTalkerContent;
- }
-