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-03-27 08:50:40 +02:00
|
|
|
- (void) saveSettingsWithBitrate:(NSInteger)bitrate framerate:(NSInteger)framerate height:(NSInteger)height width:(NSInteger)width onscreenControls:(NSInteger)onscreenControls remote:
|
|
|
|
|
(NSInteger)streamingRemotely;
|
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;
|
|
|
|
|
- (void) updateIconForExistingApp:(TemporaryApp*)app;
|
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
|