Forgot launcher files.

This commit is contained in:
Paul Chote
2010-12-30 17:51:23 +13:00
parent cb50182fac
commit fd49ca75d7
3 changed files with 110 additions and 0 deletions

View File

@@ -0,0 +1,29 @@
/*
* Copyright 2007-2010 The OpenRA Developers (see AUTHORS)
* This file is part of OpenRA, which is free software. It is made
* available to you under the terms of the GNU General Public License
* as published by the Free Software Foundation. For more information,
* see LICENSE.
*/
#import <Cocoa/Cocoa.h>
@class WebScriptObject;
@class GameInstall;
@interface HttpRequest : NSObject
{
NSString *url;
NSString *callback;
GameInstall *game;
NSTask *task;
NSMutableData *response;
BOOL cancelled;
}
@property(readonly) NSString *url;
+ (id)requestWithURL:(NSString *)aURL callback:(NSString *)aCallback game:(GameInstall *)aGame;
- (id)initWithURL:(NSString *)aURL callback:(NSString *)aCallback game:(GameInstall *)aGame;
- (void)cancel;
- (BOOL)terminated;
@end