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
|
|
|
|
|
onscreenControls:(NSInteger)onscreenControls
|
|
|
|
|
remote:(BOOL)streamingRemotely
|
|
|
|
|
optimizeGames:(BOOL)optimizeGames
|
|
|
|
|
multiController:(BOOL)multiController
|
|
|
|
|
audioOnPC:(BOOL)audioOnPC
|
|
|
|
|
useHevc:(BOOL)useHevc
|
2020-03-27 20:26:01 -07:00
|
|
|
enableHdr:(BOOL)enableHdr
|
|
|
|
|
btMouseSupport:(BOOL)btMouseSupport;
|
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
|