mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-29 16:01:38 +00:00
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:
parent
dde1037859
commit
c52e8be2d6
5 changed files with 97 additions and 200 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue