mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 00:11:26 +00:00
Declare a protocol for GNUstep specific delegate methods in NSNetServices.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32426 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
7cf4d2bb21
commit
821962705e
3 changed files with 51 additions and 8 deletions
|
@ -3,29 +3,30 @@
|
|||
|
||||
Written by: Niels Grewe <niels.grewe@halbordnung.de>
|
||||
Date: March 2010
|
||||
|
||||
|
||||
This file is part of the GNUstep Base Library.
|
||||
|
||||
This library is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU Lesser General Public
|
||||
License as published by the Free Software Foundation; either
|
||||
version 2 of the License, or (at your option) any later version.
|
||||
|
||||
|
||||
This library is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
Library General Public License for more details.
|
||||
|
||||
|
||||
You should have received a copy of the GNU Lesser General Public
|
||||
License along with this library; if not, write to the Free
|
||||
Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
||||
Boston, MA 02111 USA.
|
||||
*/
|
||||
*/
|
||||
|
||||
#import "common.h"
|
||||
#define EXPOSE_NSNetService_IVARS 1
|
||||
#define EXPOSE_NSNetServiceBrowser_IVARS 1
|
||||
#import "Foundation/NSNetServices.h"
|
||||
#import "GNUstepBase/NSNetServices+GNUstepBase.h"
|
||||
|
||||
// Subclasses using mDNSResponder:
|
||||
|
||||
|
@ -113,6 +114,8 @@ NSString* GSNetServiceDotTerminatedNSStringFromString(const char* string);
|
|||
name: (NSString*)name
|
||||
avahiIfIndex: (int)anIfIndex
|
||||
avahiProtocol: (int)aProtocol;
|
||||
|
||||
- (id<NSObject,GSNetServiceDelegate>)delegate;
|
||||
@end
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue