2014-10-29 00:47:51 -04:00
|
|
|
//
|
|
|
|
|
// DataManager.h
|
2015-05-12 21:48:30 -04:00
|
|
|
// Moonlight
|
2014-10-29 00:47:51 -04:00
|
|
|
//
|
|
|
|
|
// Created by Diego Waxemberg on 10/28/14.
|
2015-05-12 21:48:30 -04:00
|
|
|
// Copyright (c) 2014 Moonlight Stream. All rights reserved.
|
2014-10-29 00:47:51 -04:00
|
|
|
//
|
|
|
|
|
|
|
|
|
|
#import "AppDelegate.h"
|
2015-12-02 00:25:38 -08:00
|
|
|
#import "TemporaryHost.h"
|
2015-09-30 20:34:52 -07:00
|
|
|
#import "TemporaryApp.h"
|
2015-12-02 00:25:38 -08:00
|
|
|
#import "TemporarySettings.h"
|
2014-10-29 00:47:51 -04:00
|
|
|
|
|
|
|
|
@interface DataManager : NSObject
|
|
|
|
|
|
2018-06-02 18:13:32 -07:00
|
|
|
- (void) saveSettingsWithBitrate:(NSInteger)bitrate
|
|
|
|
|
framerate:(NSInteger)framerate
|
|
|
|
|
height:(NSInteger)height
|
|
|
|
|
width:(NSInteger)width
|
2021-07-11 09:10:55 -07:00
|
|
|
audioConfig:(NSInteger)audioConfig
|
2018-06-02 18:13:32 -07:00
|
|
|
onscreenControls:(NSInteger)onscreenControls
|
|
|
|
|
optimizeGames:(BOOL)optimizeGames
|
|
|
|
|
multiController:(BOOL)multiController
|
2022-07-21 20:09:22 -05:00
|
|
|
swapABXYButtons:(BOOL)swapABXYButtons
|
2018-06-02 18:13:32 -07:00
|
|
|
audioOnPC:(BOOL)audioOnPC
|
2023-11-03 23:13:44 -05:00
|
|
|
preferredCodec:(uint32_t)preferredCodec
|
2022-02-02 13:37:07 -03:00
|
|
|
useFramePacing:(BOOL)useFramePacing
|
2020-03-27 20:26:01 -07:00
|
|
|
enableHdr:(BOOL)enableHdr
|
2020-11-01 11:50:00 -06:00
|
|
|
btMouseSupport:(BOOL)btMouseSupport
|
|
|
|
|
absoluteTouchMode:(BOOL)absoluteTouchMode
|
|
|
|
|
statsOverlay:(BOOL)statsOverlay;
|
2015-12-02 00:25:38 -08:00
|
|
|
|
|
|
|
|
- (NSArray*) getHosts;
|
|
|
|
|
- (void) updateHost:(TemporaryHost*)host;
|
2016-01-21 14:03:07 -05:00
|
|
|
- (void) updateAppsForExistingHost:(TemporaryHost *)host;
|
2015-12-02 00:25:38 -08:00
|
|
|
- (void) removeHost:(TemporaryHost*)host;
|
2016-01-21 16:24:02 -05:00
|
|
|
- (void) removeApp:(TemporaryApp*)app;
|
2015-12-02 00:25:38 -08:00
|
|
|
|
|
|
|
|
- (TemporarySettings*) getSettings;
|
|
|
|
|
|
|
|
|
|
- (void) updateUniqueId:(NSString*)uniqueId;
|
|
|
|
|
- (NSString*) getUniqueId;
|
2014-10-29 00:47:51 -04:00
|
|
|
|
|
|
|
|
@end
|