home *** CD-ROM | disk | FTP | other *** search
/ Nebula 2 / Nebula Two.iso / SourceCode / MiscKit1.7.1 / MiscKit / Palettes / MiscTeePalette / MiscTee.subproj / MiscTee.h < prev    next >
Encoding:
Text File  |  1994-10-24  |  1.1 KB  |  39 lines

  1. //
  2. //    MiscTee.h -- An object which will pass a message on to any of the objects
  3. //                 connected to it.  This is useful for splitting an action
  4. //                 message to multiple recipients or for allowing multiple
  5. //                 delegates to be connected to provide different services.
  6. //
  7. //        Written by David Fedchenko.  Copyright 1994 by David Fedchenko.
  8. //                Version 1.1  All rights reserved.
  9. //        Additions by Don Yacktman to remove warnings and avoid infinite loops.
  10. //
  11. //        This notice may not be removed from this source code.
  12. //
  13. //    This object is included in the MiscKit by permission from the author
  14. //    and its use is governed by the MiscKit license, found in the file
  15. //    "LICENSE.rtf" in the MiscKit distribution.  Please refer to that file
  16. //    for a list of all applicable permissions and restrictions.
  17. //    
  18.  
  19. #import <appkit/appkit.h>
  20.  
  21. @interface MiscTee:Object
  22. {
  23.     id (idConnections);
  24.     BOOL inTee;
  25. }
  26.  
  27. - init;
  28. - free;
  29.  
  30. - addConnection:anObject with:(SEL)anAction;
  31. - removeConnection:anObject;
  32. - ping:sender;
  33. - forward:(SEL)aSelector :(marg_list)argFrame;
  34. - (BOOL)respondsTo:(SEL)aSelector;
  35. - read:(NXTypedStream *)stream;
  36. - write:(NXTypedStream *)stream;
  37.  
  38. @end
  39.