home *** CD-ROM | disk | FTP | other *** search
/ Nebula 1995 August / NEBULA.mdf / SourceCode / MiscKit1.2.6 / Palettes / MiscTeePalette / MiscTee.subproj / MiscTee.h < prev    next >
Encoding:
Text File  |  1994-06-15  |  1.0 KB  |  37 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.0  All rights reserved.
  9. //
  10. //        This notice may not be removed from this source code.
  11. //
  12. //    This object is included in the MiscKit by permission from the author
  13. //    and its use is governed by the MiscKit license, found in the file
  14. //    "LICENSE.rtf" in the MiscKit distribution.  Please refer to that file
  15. //    for a list of all applicable permissions and restrictions.
  16. //    
  17.  
  18. #import <appkit/appkit.h>
  19.  
  20. @interface MiscTee:Object
  21.     {
  22.     id (idConnections);
  23.     }
  24.  
  25. - init;
  26. - free;
  27.  
  28. - addConnection:anObject with:(SEL)anAction;
  29. - removeConnection:anObject;
  30. - ping:sender;
  31. - forward:(SEL)aSelector :(marg_list)argFrame;
  32. -(BOOL) respondsTo:(SEL)aSelector;
  33. - read:(NXTypedStream *)stream;
  34. - write:(NXTypedStream *)stream;
  35.  
  36. @end
  37.