2015-09-30 20:34:52 -07:00
|
|
|
//
|
|
|
|
|
// TemporaryApp.h
|
|
|
|
|
// Moonlight
|
|
|
|
|
//
|
|
|
|
|
// Created by Cameron Gutman on 9/30/15.
|
|
|
|
|
// Copyright © 2015 Moonlight Stream. All rights reserved.
|
|
|
|
|
//
|
|
|
|
|
|
2015-12-01 20:31:24 -08:00
|
|
|
#import "TemporaryHost.h"
|
2018-05-28 12:40:15 -07:00
|
|
|
#import "App+CoreDataClass.h"
|
2015-09-30 20:34:52 -07:00
|
|
|
|
|
|
|
|
@interface TemporaryApp : NSObject
|
|
|
|
|
|
|
|
|
|
@property (nullable, nonatomic, retain) NSString *id;
|
|
|
|
|
@property (nullable, nonatomic, retain) NSString *name;
|
2019-09-08 18:55:59 -07:00
|
|
|
@property (nullable, nonatomic, retain) NSString *installPath;
|
2018-06-02 12:32:12 -07:00
|
|
|
@property (nonatomic) BOOL hdrSupported;
|
2020-11-02 20:32:57 -06:00
|
|
|
@property (nonatomic) BOOL hidden;
|
2015-12-01 20:31:24 -08:00
|
|
|
@property (nullable, nonatomic, retain) TemporaryHost *host;
|
2015-09-30 20:34:52 -07:00
|
|
|
|
2015-12-01 20:36:08 -08:00
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
|
|
2015-12-02 00:25:38 -08:00
|
|
|
- (id) initFromApp:(App*)app withTempHost:(TemporaryHost*)tempHost;
|
|
|
|
|
|
2015-12-01 20:36:08 -08:00
|
|
|
- (NSComparisonResult)compareName:(TemporaryApp *)other;
|
|
|
|
|
|
2016-01-21 11:29:17 -05:00
|
|
|
- (void) propagateChangesToParent:(App*)parent withHost:(Host*)host;
|
2015-12-02 00:25:38 -08:00
|
|
|
|
2015-12-01 20:36:08 -08:00
|
|
|
NS_ASSUME_NONNULL_END
|
|
|
|
|
|
2015-09-30 20:34:52 -07:00
|
|
|
@end
|