mirror of
https://github.com/moonlight-stream/moonlight-ios.git
synced 2025-07-22 12:13:35 +00:00
29 lines
499 B
Objective-C
29 lines
499 B
Objective-C
//
|
|
// MDNSManager.h
|
|
// Limelight
|
|
//
|
|
// Created by Diego Waxemberg on 10/14/14.
|
|
// Copyright (c) 2014 Limelight Stream. All rights reserved.
|
|
//
|
|
|
|
#import <Foundation/Foundation.h>
|
|
|
|
@protocol MDNSCallback <NSObject>
|
|
|
|
- (void) updateHosts:(NSArray*)hosts;
|
|
|
|
@end
|
|
|
|
@interface MDNSManager : NSObject <NSNetServiceBrowserDelegate, NSNetServiceDelegate>
|
|
|
|
@property id<MDNSCallback> callback;
|
|
|
|
- (id) initWithCallback:(id<MDNSCallback>) callback;
|
|
- (void) searchForHosts;
|
|
- (void) stopSearching;
|
|
|
|
@end
|
|
|
|
|
|
|