improved app asset management and retrying to acquire

This commit is contained in:
Diego Waxemberg
2015-01-31 20:10:14 -05:00
parent 8e721a9c6a
commit 14f30349a3
7 changed files with 135 additions and 86 deletions
+26
View File
@@ -0,0 +1,26 @@
//
// AppManager.h
// Limelight
//
// Created by Diego Waxemberg on 10/25/14.
// Copyright (c) 2014 Limelight Stream. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "App.h"
#import "HttpManager.h"
#import "Host.h"
@protocol AppAssetCallback <NSObject>
- (void) receivedAssetForApp:(App*)app;
@end
@interface AppAssetManager : NSObject
- (id) initWithCallback:(id<AppAssetCallback>)callback;
- (void) retrieveAssets:(NSArray*)appList fromHost:(Host*)host;
- (void) stopRetrieving;
@end