Forgot launcher files.
This commit is contained in:
29
OpenRA.Launcher.Mac/HttpRequest.h
Normal file
29
OpenRA.Launcher.Mac/HttpRequest.h
Normal 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
|
||||
Reference in New Issue
Block a user