home *** CD-ROM | disk | FTP | other *** search
/ OpenStep 4.2J (Developer) / os42jdev.iso / NextDeveloper / OpenStepConversion / IntermediateFrameworks3 / AppKit.framework / Headers / obsoleteSpeaker.h < prev    next >
Text File  |  1995-05-12  |  2KB  |  58 lines

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