NSMessagePort updates

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21973 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-Macdonald 2005-11-08 20:42:45 +00:00
parent dde1037859
commit c52e8be2d6
5 changed files with 97 additions and 200 deletions

View file

@ -23,10 +23,19 @@
#ifndef __GSPortPrivate_h_
#define __GSPortPrivate_h_
#if defined(__MINGW32__)
@interface NSMessagePort(Private)
+ (NSMessagePort*) recvPort: (NSString*)name;
+ (NSMessagePort*) sendPort: (NSString*)name;
- (id) initWithName: (NSString*)name;
- (NSString*) name;
- (void) receivedEventRead;
- (void) receivedEventWrite;
@end
#else
@class GSMessageHandle;
@interface NSMessagePort(Private)
- (int) _listener;
- (const unsigned char *) _name;
+ (NSMessagePort*) _portWithName: (const unsigned char *)socketName
@ -34,6 +43,7 @@
- (void) addHandle: (GSMessageHandle*)handle forSend: (BOOL)send;
- (void) removeHandle: (GSMessageHandle*)handle;
@end
#endif /* __MINGW32__ */
@class GSTcpHandle;