mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-06-17 06:01:12 +00:00
Added a hack to de-duplicate hosts and some more checks when adding a host to minimize the chances for dupes
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
#import <Foundation/Foundation.h>
|
||||
#import "MDNSManager.h"
|
||||
#import "Host.h"
|
||||
#import "CleanupCrew.h"
|
||||
|
||||
@protocol DiscoveryCallback <NSObject>
|
||||
|
||||
@@ -16,7 +17,7 @@
|
||||
|
||||
@end
|
||||
|
||||
@interface DiscoveryManager : NSObject <MDNSCallback>
|
||||
@interface DiscoveryManager : NSObject <MDNSCallback, CleanupCallback>
|
||||
|
||||
- (id) initWithHosts:(NSArray*)hosts andCallback:(id<DiscoveryCallback>) callback;
|
||||
- (void) startDiscovery;
|
||||
|
||||
Reference in New Issue
Block a user