mirror of
https://github.com/moonlight-stream/moonlight-ios.git
synced 2025-07-02 07:46:16 +00:00
41 lines
1.1 KiB
Objective-C
41 lines
1.1 KiB
Objective-C
//
|
|
// TemporaryHost.h
|
|
// Moonlight
|
|
//
|
|
// Created by Cameron Gutman on 12/1/15.
|
|
// Copyright © 2015 Moonlight Stream. All rights reserved.
|
|
//
|
|
|
|
#import "Utils.h"
|
|
#import "Host+CoreDataClass.h"
|
|
|
|
@interface TemporaryHost : NSObject
|
|
|
|
@property (nonatomic) BOOL online;
|
|
@property (nonatomic) PairState pairState;
|
|
@property (nonatomic, nullable) NSString * activeAddress;
|
|
@property (nonatomic, nullable) NSString * currentGame;
|
|
|
|
@property (nonatomic, nullable, retain) NSData *serverCert;
|
|
@property (nonatomic, nullable, retain) NSString *address;
|
|
@property (nonatomic, nullable, retain) NSString *externalAddress;
|
|
@property (nonatomic, nullable, retain) NSString *localAddress;
|
|
@property (nonatomic, nullable, retain) NSString *mac;
|
|
@property (nonatomic) int serverCodecModeSupport;
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
@property (nonatomic, retain) NSString *name;
|
|
@property (nonatomic, retain) NSString *uuid;
|
|
@property (nonatomic, retain) NSMutableSet *appList;
|
|
|
|
- (id) initFromHost:(Host*)host;
|
|
|
|
- (NSComparisonResult)compareName:(TemporaryHost *)other;
|
|
|
|
- (void) propagateChangesToParent:(Host*)host;
|
|
|
|
NS_ASSUME_NONNULL_END
|
|
|
|
@end
|