documentation improvment

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@23911 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2006-10-19 06:44:54 +00:00
parent 90593a0dd2
commit 5aa58cd639
2 changed files with 18 additions and 1 deletions

View file

@ -2,11 +2,12 @@
* Source/NSBundle.m: Strip path extension from main bundle name on
cygwin.
* Headers/Foundation/NSPortNameServer.h: Improve documentation
2006-10-18 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Makefile.postamble:
Rewmove use of UNICODE_HEADERS which appears to beave been breaking
Remove use of UNICODE_HEADERS which appears to beave been breaking
solaris build.
2006-10-18 Richard Frith-Macdonald <rfm@gnu.org>

View file

@ -35,6 +35,8 @@
#include <Foundation/NSObject.h>
#include <Foundation/NSMapTable.h>
#if OS_API_VERSION(GS_API_MACOSX,HS_API_LATEST)
#if defined(__cplusplus)
extern "C" {
#endif
@ -69,6 +71,18 @@ extern "C" {
@interface NSMessagePortNameServer : NSPortNameServer
+ (id) sharedInstance;
/** Returns the [NSMessagePort] instance registered for the specified name
* if it exists on the local host.
*/
- (NSPort*) portForName: (NSString*)name;
/** Returns the port registered for the specified name (if it exists).<br />
* The host must be an empty string or nil, since [NSMessagePort] instances
* on other hosts are inaccessible from the current host.
*/
- (NSPort*) portForName: (NSString*)name
onHost: (NSString*)host;
@end
#if defined(__cplusplus)
@ -77,3 +91,5 @@ extern "C" {
#endif
#endif