2015-12-02 00:25:38 -08:00
|
|
|
//
|
|
|
|
|
// TemporarySettings.h
|
|
|
|
|
// Moonlight
|
|
|
|
|
//
|
|
|
|
|
// Created by Cameron Gutman on 12/1/15.
|
|
|
|
|
// Copyright © 2015 Moonlight Stream. All rights reserved.
|
|
|
|
|
//
|
|
|
|
|
|
2018-05-28 12:40:15 -07:00
|
|
|
#import "Settings+CoreDataClass.h"
|
2015-12-02 00:25:38 -08:00
|
|
|
|
|
|
|
|
@interface TemporarySettings : NSObject
|
|
|
|
|
|
|
|
|
|
@property (nonatomic, retain) Settings * parent;
|
|
|
|
|
|
|
|
|
|
@property (nonatomic, retain) NSNumber * bitrate;
|
|
|
|
|
@property (nonatomic, retain) NSNumber * framerate;
|
|
|
|
|
@property (nonatomic, retain) NSNumber * height;
|
|
|
|
|
@property (nonatomic, retain) NSNumber * width;
|
2021-07-11 09:10:55 -07:00
|
|
|
@property (nonatomic, retain) NSNumber * audioConfig;
|
2015-12-02 00:25:38 -08:00
|
|
|
@property (nonatomic, retain) NSNumber * onscreenControls;
|
|
|
|
|
@property (nonatomic, retain) NSString * uniqueId;
|
2023-11-03 23:13:44 -05:00
|
|
|
@property (nonatomic) enum {
|
|
|
|
|
CODEC_PREF_AUTO,
|
|
|
|
|
CODEC_PREF_H264,
|
|
|
|
|
CODEC_PREF_HEVC,
|
|
|
|
|
CODEC_PREF_AV1,
|
|
|
|
|
} preferredCodec;
|
2022-02-02 13:37:07 -03:00
|
|
|
@property (nonatomic) BOOL useFramePacing;
|
2018-06-02 17:07:38 -07:00
|
|
|
@property (nonatomic) BOOL multiController;
|
2022-07-21 20:09:22 -05:00
|
|
|
@property (nonatomic) BOOL swapABXYButtons;
|
2018-06-02 17:07:38 -07:00
|
|
|
@property (nonatomic) BOOL playAudioOnPC;
|
|
|
|
|
@property (nonatomic) BOOL optimizeGames;
|
|
|
|
|
@property (nonatomic) BOOL enableHdr;
|
2020-03-27 20:26:01 -07:00
|
|
|
@property (nonatomic) BOOL btMouseSupport;
|
2020-11-01 11:50:00 -06:00
|
|
|
@property (nonatomic) BOOL absoluteTouchMode;
|
|
|
|
|
@property (nonatomic) BOOL statsOverlay;
|
2015-12-02 00:25:38 -08:00
|
|
|
|
|
|
|
|
- (id) initFromSettings:(Settings*)settings;
|
|
|
|
|
|
|
|
|
|
@end
|