home *** CD-ROM | disk | FTP | other *** search
- /******************************************************************************
- **
- ** C++ Class Library for the Amiga© system software.
- **
- ** Copyright (C) 1994 by Armin Vogt ** EMail: armin@uni-paderborn.de
- ** All Rights Reserved.
- **
- ** $Source: apphome:APlusPlus/RCS/libsource/ITransponder.cxx,v $
- ** $Revision: 1.3 $
- ** $Date: 1994/04/23 21:01:47 $
- ** $Author: Armin_Vogt $
- **
- ******************************************************************************/
-
-
- #include <APlusPlus/intuition/ITransponder.h>
- #include <APlusPlus/intuition/IntuiObject.h>
-
-
- volatile static char rcs_id[] = "$Id: ITransponder.cxx,v 1.3 1994/04/23 21:01:47 Armin_Vogt Exp Armin_Vogt $";
-
-
- void ITransponder::setReceiver(IntuiObject *newReceiver)
- {
- receiver1 = newReceiver;
- }
-
- MapITP::MapITP(IntuiObject *iob,AttrList& mapAttrs) : ITransponder(iob), mapAttrlist(mapAttrs)
- {
- }
-
- void MapITP::sendNotification(AttrList& attrs)
- {
- _dout("MapITP: received n.s = "<<attrs<<endl);
- attrs.mapAttrs(mapAttrlist);
- if (receiver1)
- {
- _dout("MapITP: forwarding n.s. = "<<attrs<<endl);
- receiver1->setAttributes(attrs);
- }
- }
-