mirror of
https://github.com/moonlight-stream/moonlight-ios.git
synced 2025-07-02 07:46:16 +00:00
- now store host uuid and mac address - use uuid to check for duplicate hosts - try local and external IPs - pair status is shown - server status is shown - validate host when manually adding
25 lines
622 B
Objective-C
25 lines
622 B
Objective-C
//
|
|
// DataManager.h
|
|
// Limelight
|
|
//
|
|
// Created by Diego Waxemberg on 10/28/14.
|
|
// Copyright (c) 2014 Limelight Stream. All rights reserved.
|
|
//
|
|
|
|
#import <Foundation/Foundation.h>
|
|
#import "Settings.h"
|
|
#import "AppDelegate.h"
|
|
#import "Host.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;
|
|
|
|
@end
|