mirror of
https://github.com/moonlight-stream/moonlight-ios.git
synced 2025-07-01 23:35:59 +00:00
30 lines
517 B
Objective-C
30 lines
517 B
Objective-C
//
|
|
// MDNSManager.h
|
|
// Moonlight
|
|
//
|
|
// Created by Diego Waxemberg on 10/14/14.
|
|
// Copyright (c) 2014 Moonlight Stream. All rights reserved.
|
|
//
|
|
|
|
#import "TemporaryHost.h"
|
|
|
|
@protocol MDNSCallback <NSObject>
|
|
|
|
- (void) updateHost:(TemporaryHost*)host;
|
|
|
|
@end
|
|
|
|
@interface MDNSManager : NSObject <NSNetServiceBrowserDelegate, NSNetServiceDelegate>
|
|
|
|
@property id<MDNSCallback> callback;
|
|
|
|
- (id) initWithCallback:(id<MDNSCallback>) callback;
|
|
- (void) searchForHosts;
|
|
- (void) stopSearching;
|
|
- (void) forgetHosts;
|
|
|
|
@end
|
|
|
|
|
|
|