Minor documentation additions

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17002 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-Macdonald 2003-06-22 14:36:17 +00:00
parent a47f8086fa
commit b86567b3d7
2 changed files with 24 additions and 3 deletions

View file

@ -88,6 +88,11 @@ static GSListener *listener = nil;
static id servicesProvider = nil;
static NSString *providerName = nil;
/**
* Unregisters the service provider registered on the named port.<br />
* Applications should use [NSApplication-setServicesProvider:] with a nil
* argument instead.
*/
void
NSUnregisterServicesProvider(NSString *name)
{
@ -108,6 +113,12 @@ NSUnregisterServicesProvider(NSString *name)
ASSIGN(providerName, nil);
}
/**
* Registers a services providing object using the specified port name.<br />
* Applications should not need to use this, as they can use the
* [NSApplication-setServicesProvider:] method instead. The NSApplication
* method will use the name of the application rather than an other port name.
*/
void
NSRegisterServicesProvider(id provider, NSString *name)
{