home *** CD-ROM | disk | FTP | other *** search
- //
- // MiscTee.h -- An object which will pass a message on to any of the objects
- // connected to it. This is useful for splitting an action
- // message to multiple recipients or for allowing multiple
- // delegates to be connected to provide different services.
- //
- // Written by David Fedchenko. Copyright 1994 by David Fedchenko.
- // Version 1.0 All rights reserved.
- //
- // This notice may not be removed from this source code.
- //
- // This object is included in the MiscKit by permission from the author
- // and its use is governed by the MiscKit license, found in the file
- // "LICENSE.rtf" in the MiscKit distribution. Please refer to that file
- // for a list of all applicable permissions and restrictions.
- //
-
- #import <appkit/appkit.h>
-
- @interface MiscTee:Object
- {
- id (idConnections);
- }
-
- - init;
- - free;
-
- - addConnection:anObject with:(SEL)anAction;
- - removeConnection:anObject;
- - ping:sender;
- - forward:(SEL)aSelector :(marg_list)argFrame;
- -(BOOL) respondsTo:(SEL)aSelector;
- - read:(NXTypedStream *)stream;
- - write:(NXTypedStream *)stream;
-
- @end
-