2023-02-11 20:49:42 +00:00
|
|
|
// This file Copyright © 2008-2023 Transmission authors and contributors.
|
2022-01-20 18:27:56 +00:00
|
|
|
// It may be used under the MIT (SPDX: MIT) license.
|
|
|
|
// License text can be found in the licenses/ folder.
|
2008-12-06 01:18:25 +00:00
|
|
|
|
2022-04-29 22:51:40 +00:00
|
|
|
#import <Foundation/Foundation.h>
|
2008-12-06 01:18:25 +00:00
|
|
|
|
2021-08-15 09:41:48 +00:00
|
|
|
@interface BonjourController : NSObject<NSNetServiceDelegate>
|
2008-12-06 01:18:25 +00:00
|
|
|
|
2021-08-15 09:41:48 +00:00
|
|
|
@property(nonatomic, class, readonly) BonjourController* defaultController;
|
|
|
|
@property(nonatomic, class, readonly) BOOL defaultControllerExists;
|
2008-12-06 01:18:25 +00:00
|
|
|
|
2021-08-15 09:41:48 +00:00
|
|
|
- (void)startWithPort:(int)port;
|
|
|
|
- (void)stop;
|
2008-12-06 01:18:25 +00:00
|
|
|
|
|
|
|
@end
|