mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 01:20:38 +00:00
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:
parent
a47f8086fa
commit
b86567b3d7
2 changed files with 24 additions and 3 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue