home *** CD-ROM | disk | FTP | other *** search
/ Nebula 1995 August / NEBULA.bin / SourceCode / Palettes / TTools / TToolsPalette / SwitchView.subproj / SVConnector.h < prev    next >
Encoding:
Text File  |  1993-11-09  |  729 b   |  29 lines

  1. /* SVConnector.h
  2.  * Written By:  Thomas Burkholder
  3.  *
  4.  * You may freely copy, distribute, and reuse the code in this example.
  5.  * NeXT disclaims any warranty of any kind, expressed or  implied, as to its
  6.  * fitness for any particular use.
  7.  */
  8.  
  9. #import <objc/Object.h>
  10. #import <apps/InterfaceBuilder.h>
  11.  
  12. // An IB-Connector conforming object to hold our connections
  13. @interface SVConnector:Object <IBConnectors>
  14. {
  15.      id    source;       // the source of the connection
  16.      id    destination;  // what we're connecting to.
  17. }
  18.  
  19. - destination;
  20. - establishConnection;
  21. - nibInstantiate;
  22. - read:(NXTypedStream *)stream;
  23. - renewObject:old to:new;
  24. - setDestination:anObject;
  25. - setSource:anObject;
  26. - source;
  27. - write:(NXTypedStream *)stream;
  28.  
  29. @end