mirror of
https://github.com/moonlight-stream/moonlight-ios.git
synced 2025-07-01 07:15:44 +00:00
45 lines
1.4 KiB
Objective-C
45 lines
1.4 KiB
Objective-C
//
|
|
// DataManager.h
|
|
// Moonlight
|
|
//
|
|
// Created by Diego Waxemberg on 10/28/14.
|
|
// Copyright (c) 2014 Moonlight Stream. All rights reserved.
|
|
//
|
|
|
|
#import "AppDelegate.h"
|
|
#import "TemporaryHost.h"
|
|
#import "TemporaryApp.h"
|
|
#import "TemporarySettings.h"
|
|
|
|
@interface DataManager : NSObject
|
|
|
|
- (void) saveSettingsWithBitrate:(NSInteger)bitrate
|
|
framerate:(NSInteger)framerate
|
|
height:(NSInteger)height
|
|
width:(NSInteger)width
|
|
audioConfig:(NSInteger)audioConfig
|
|
onscreenControls:(NSInteger)onscreenControls
|
|
optimizeGames:(BOOL)optimizeGames
|
|
multiController:(BOOL)multiController
|
|
swapABXYButtons:(BOOL)swapABXYButtons
|
|
audioOnPC:(BOOL)audioOnPC
|
|
preferredCodec:(uint32_t)preferredCodec
|
|
useFramePacing:(BOOL)useFramePacing
|
|
enableHdr:(BOOL)enableHdr
|
|
btMouseSupport:(BOOL)btMouseSupport
|
|
absoluteTouchMode:(BOOL)absoluteTouchMode
|
|
statsOverlay:(BOOL)statsOverlay;
|
|
|
|
- (NSArray*) getHosts;
|
|
- (void) updateHost:(TemporaryHost*)host;
|
|
- (void) updateAppsForExistingHost:(TemporaryHost *)host;
|
|
- (void) removeHost:(TemporaryHost*)host;
|
|
- (void) removeApp:(TemporaryApp*)app;
|
|
|
|
- (TemporarySettings*) getSettings;
|
|
|
|
- (void) updateUniqueId:(NSString*)uniqueId;
|
|
- (NSString*) getUniqueId;
|
|
|
|
@end
|