2014-10-26 02:15:53 -04:00
|
|
|
//
|
|
|
|
|
// AppManager.h
|
2015-05-12 21:48:30 -04:00
|
|
|
// Moonlight
|
2014-10-26 02:15:53 -04:00
|
|
|
//
|
|
|
|
|
// Created by Diego Waxemberg on 10/25/14.
|
2015-05-12 21:48:30 -04:00
|
|
|
// Copyright (c) 2014 Moonlight Stream. All rights reserved.
|
2014-10-26 02:15:53 -04:00
|
|
|
//
|
|
|
|
|
|
2015-12-01 20:31:24 -08:00
|
|
|
#import "TemporaryApp.h"
|
2014-10-26 02:15:53 -04:00
|
|
|
#import "HttpManager.h"
|
2015-12-01 20:31:24 -08:00
|
|
|
#import "TemporaryHost.h"
|
2014-10-26 02:15:53 -04:00
|
|
|
|
|
|
|
|
@protocol AppAssetCallback <NSObject>
|
|
|
|
|
|
2015-12-01 20:31:24 -08:00
|
|
|
- (void) receivedAssetForApp:(TemporaryApp*)app;
|
2014-10-26 02:15:53 -04:00
|
|
|
|
|
|
|
|
@end
|
|
|
|
|
|
2015-01-31 20:10:14 -05:00
|
|
|
@interface AppAssetManager : NSObject
|
2014-10-26 02:15:53 -04:00
|
|
|
|
2015-01-08 22:18:26 -05:00
|
|
|
- (id) initWithCallback:(id<AppAssetCallback>)callback;
|
2015-12-01 20:31:24 -08:00
|
|
|
- (void) retrieveAssetsFromHost:(TemporaryHost*)host;
|
2015-01-08 21:36:29 -05:00
|
|
|
- (void) stopRetrieving;
|
2018-08-27 01:54:58 -07:00
|
|
|
+ (NSString*) boxArtPathForApp:(TemporaryApp*)app;
|
2014-10-26 02:15:53 -04:00
|
|
|
|
|
|
|
|
@end
|