mirror of
https://github.com/moonlight-stream/moonlight-ios.git
synced 2025-07-02 15:56:21 +00:00
28 lines
691 B
Objective-C
28 lines
691 B
Objective-C
//
|
|
// DataManager.h
|
|
// Moonlight
|
|
//
|
|
// Created by Diego Waxemberg on 10/28/14.
|
|
// Copyright (c) 2014 Moonlight Stream. All rights reserved.
|
|
//
|
|
|
|
#import <Foundation/Foundation.h>
|
|
#import "Settings.h"
|
|
#import "AppDelegate.h"
|
|
#import "Host.h"
|
|
#import "App.h"
|
|
|
|
@interface DataManager : NSObject
|
|
|
|
@property (strong, nonatomic) AppDelegate* appDelegate;
|
|
|
|
- (void) saveSettingsWithBitrate:(NSInteger)bitrate framerate:(NSInteger)framerate height:(NSInteger)height width:(NSInteger)width onscreenControls:(NSInteger)onscreenControls;
|
|
- (Settings*) retrieveSettings;
|
|
- (NSArray*) retrieveHosts;
|
|
- (void) saveHosts;
|
|
- (Host*) createHost;
|
|
- (void) removeHost:(Host*)host;
|
|
- (App*) createApp;
|
|
|
|
@end
|