Use utility app for http requests; Make them async.
This commit is contained in:
@@ -18,6 +18,7 @@
|
||||
SidebarEntry *sidebarItems;
|
||||
GameInstall *game;
|
||||
NSDictionary *allMods;
|
||||
NSMutableArray *httpRequests;
|
||||
NSMutableDictionary *downloads;
|
||||
BOOL hasMono;
|
||||
|
||||
@@ -33,6 +34,7 @@
|
||||
- (SidebarEntry *)sidebarModsTree;
|
||||
- (SidebarEntry *)sidebarOtherTree;
|
||||
|
||||
- (void)fetchURL:(NSString *)url withCallback:(NSString *)cb;
|
||||
- (BOOL)registerDownload:(NSString *)key withURL:(NSString *)url filePath:(NSString *)path;
|
||||
- (Download *)downloadWithKey:(NSString *)key;
|
||||
- (BOOL)hasSupportedMono;
|
||||
|
||||
Reference in New Issue
Block a user