mirror of
https://github.com/moonlight-stream/moonlight-ios.git
synced 2025-07-28 15:13:05 +00:00
40 lines
974 B
Objective-C
40 lines
974 B
Objective-C
//
|
|
// TemporaryHost.h
|
|
// Moonlight
|
|
//
|
|
// Created by Cameron Gutman on 12/1/15.
|
|
// Copyright © 2015 Moonlight Stream. All rights reserved.
|
|
//
|
|
|
|
#import <Foundation/Foundation.h>
|
|
#import "Utils.h"
|
|
#import "Host.h"
|
|
|
|
@class DataManager;
|
|
|
|
@interface TemporaryHost : NSObject
|
|
|
|
@property (nonatomic) BOOL online;
|
|
@property (nonatomic) PairState pairState;
|
|
@property (nonatomic, nullable) NSString * activeAddress;
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
@property (nonatomic, retain) NSString *address;
|
|
@property (nonatomic, retain) NSString *externalAddress;
|
|
@property (nonatomic, retain) NSString *localAddress;
|
|
@property (nonatomic, retain) NSString *mac;
|
|
@property (nonatomic, retain) NSString *name;
|
|
@property (nonatomic, retain) NSString *uuid;
|
|
@property (nonatomic, retain) NSSet *appList;
|
|
|
|
- (id) initFromHost:(Host*)host;
|
|
|
|
- (NSComparisonResult)compareName:(TemporaryHost *)other;
|
|
|
|
- (void) propagateChangesToParent:(Host*)host withDm:(DataManager*)dm;
|
|
|
|
NS_ASSUME_NONNULL_END
|
|
|
|
@end
|