mirror of
https://github.com/moonlight-stream/moonlight-ios.git
synced 2025-07-02 15:56:21 +00:00
44 lines
1.2 KiB
Objective-C
44 lines
1.2 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 (atomic) State state;
|
|
@property (atomic) PairState pairState;
|
|
@property (atomic, nullable, retain) NSString * activeAddress;
|
|
@property (atomic, nullable, retain) NSString * currentGame;
|
|
@property (atomic) unsigned short httpsPort;
|
|
@property (atomic) BOOL isNvidiaServerSoftware;
|
|
|
|
@property (atomic, nullable, retain) NSData *serverCert;
|
|
@property (atomic, nullable, retain) NSString *address;
|
|
@property (atomic, nullable, retain) NSString *externalAddress;
|
|
@property (atomic, nullable, retain) NSString *localAddress;
|
|
@property (atomic, nullable, retain) NSString *ipv6Address;
|
|
@property (atomic, nullable, retain) NSString *mac;
|
|
@property (atomic) int serverCodecModeSupport;
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
@property (atomic, retain) NSString *name;
|
|
@property (atomic, retain) NSString *uuid;
|
|
@property (atomic, retain) NSSet *appList;
|
|
|
|
- (id) initFromHost:(Host*)host;
|
|
|
|
- (NSComparisonResult)compareName:(TemporaryHost *)other;
|
|
|
|
- (void) propagateChangesToParent:(Host*)host;
|
|
|
|
NS_ASSUME_NONNULL_END
|
|
|
|
@end
|