home *** CD-ROM | disk | FTP | other *** search
/ OpenStep 4.2 / Openstep-4.2-Intel-Developer.iso / NextLibrary / Frameworks / AppKit.framework / Versions / B / Headers / obsoleteSpeaker.h < prev    next >
Text File  |  1996-10-17  |  2KB  |  62 lines

  1. /*
  2.     obsoleteSpeaker.h
  3.     Application Kit
  4.     Copyright (c) 1994-1996, NeXT Software, Inc.
  5.     All rights reserved.
  6. */
  7.  
  8. #import <Foundation/Foundation.h>
  9. #import <AppKit/obsoleteListener.h>
  10. #import <mach/message.h>
  11. #import <mach/port.h>
  12.  
  13. @interface Speaker : NSObject <NSCoding>
  14. {
  15.     port_t              sendPort;
  16.     port_t              replyPort;
  17.     int                 sendTimeout;
  18.     int                 replyTimeout;
  19.     id                  delegate;
  20.     int                 _reservedSpeaker1;
  21.     int                 _reservedSpeaker2;
  22. }
  23.  
  24.  
  25.  
  26. - (id)delegate;
  27. - (void)setDelegate:(id)anObject;
  28. - (port_t)sendPort;
  29. - (void)setSendPort:(port_t)aPort;
  30. - (port_t)replyPort;
  31. - (void)setReplyPort:(port_t)aPort;
  32. - (int)sendTimeout;
  33. - (void)setSendTimeout:(int)ms;
  34. - (int)replyTimeout;
  35. - (void)setReplyTimeout:(int)ms;
  36. - (int)performRemoteMethod:(NSString *)msgSelector;
  37. - (int)performRemoteMethod:(NSString *)msgSelector with:(const char *)data length:(int)numBytes;
  38. - (int)selectorRPC:(NSString *)msgSelector paramTypes:(char *)params, ...;
  39.  
  40.  
  41.  
  42. /* use [Application workspace] instead of these messages unless you need to send them to the port of a specific app */
  43. - (int)sendOpenFileMsg:(NSString *)fullPath ok:(int *)flag andDeactivateSelf:(BOOL)doDeact;
  44. - (int)sendOpenTempFileMsg:(NSString *)fullPath ok:(int *)flag andDeactivateSelf:(BOOL)doDeact;
  45. - (int)openFile:(NSString *)fullPath ok:(int *)flag;
  46. - (int)openTempFile:(NSString *)fullPath ok:(int *)flag;
  47.  
  48. - (int)msgQuit:(int *)flag;
  49. - (int)msgCalc:(int *)flag;
  50. - (int)msgDirectory:(char * const *)fullPath ok:(int *)flag;
  51. - (int)msgVersion:(char * const *)aString ok:(int *)flag;
  52. - (int)msgFile:(char * const *)fullPath ok:(int *)flag;
  53. - (int)msgPrint:(const char *)fullPath ok:(int *)flag;
  54. - (int)msgSelection:(char * const *)bytes length:(int *)len asType:(const char *)aType ok:(int *)flag;
  55. - (int)msgSetPosition:(const char *)aString posType:(NSMsgPositionType)aPosition andSelect:(int)sflag ok:(int *)flag;
  56. - (int)msgPosition:(char * const *)aString posType:(int *)anInt ok:(int *)flag;
  57. - (int)msgCopyAsType:(const char *)aType ok:(int *)flag;
  58. - (int)msgCutAsType:(const char *)aType ok:(int *)flag;
  59. - (int)msgPaste:(int *)flag;
  60.  
  61. @end
  62.