mirror of
https://github.com/ogoguel/activegs-ios.git
synced 2024-12-27 17:29:42 +00:00
25 lines
640 B
Objective-C
25 lines
640 B
Objective-C
/*
|
|
ActiveGS, Copyright 2004-2016 Olivier Goguel, https://github.com/ogoguel/ActiveGS
|
|
Based on Kegs, Copyright 2004 Kent Dickey, https://kegs.sourceforge.net
|
|
This code is covered by the GNU GPL licence
|
|
*/
|
|
|
|
#import <UIKit/UIKit.h>
|
|
|
|
|
|
@interface AsyncCommand : NSObject
|
|
{
|
|
NSMutableData* _data;
|
|
NSURLConnection* _theConnection;
|
|
NSString *_url;
|
|
id callbackObj;
|
|
SEL callbackSel;
|
|
}
|
|
@property (strong,nonatomic) NSMutableData* data;
|
|
@property (strong,nonatomic) NSURLConnection* theConnection;
|
|
@property (strong,nonatomic) NSString *url;
|
|
|
|
- (AsyncCommand*)initCommand: (const char*)url withObject:(id)_obj withSelector:(SEL)_sel;
|
|
|
|
@end
|