home *** CD-ROM | disk | FTP | other *** search
/ Nebula 1995 August / NEBULA.bin / SourceCode / Palettes / ConnectDemo / EDBConnector.h < prev    next >
Encoding:
Text File  |  1993-03-01  |  732 b   |  35 lines

  1.  
  2. #import <appkit/appkit.h>
  3. #import <apps/InterfaceBuilder.h>
  4.  
  5. @interface EDBConnector:Object <IBConnectors>
  6. {
  7.     id            source;
  8.     id            destination;
  9.     NXAtom        outletName;
  10.     const char    *selName;
  11.     u_short        sequence;            // ordering of connections if one outlet is
  12.                                     // connected to more than one target
  13. }
  14.  
  15. - init;
  16. - initWithSource:s andDestination:d forOutlet:(const char *)name
  17.     andSel:(const char *)sel;
  18. - free;
  19. - source;
  20. - destination;
  21. - establishConnection;
  22. - nibInstantiate;
  23. - renewObject:old to:new;
  24. - read:(NXTypedStream *)stream;
  25. - write:(NXTypedStream *)stream;
  26.  
  27. - (NXAtom)outletName;
  28. - setOutletName:(NXAtom)name;
  29. - (const char *)selName;
  30. - setSelName:(const char *)name;
  31. - (u_short)sequence;
  32. - setSequence:(u_short)seq;
  33.  
  34. @end
  35.