iOS: Add initial support for upload via browser
This only starts the HTTP server on 127.0.0.1 for now and does nothing else yet.
This commit is contained in:
parent
e5b90b856a
commit
02ed98041d
7 changed files with 142 additions and 7 deletions
|
@ -21,14 +21,21 @@
|
|||
*/
|
||||
|
||||
#import <UIKit/UIKit.h>
|
||||
#import <ObjFW/ObjFW.h>
|
||||
|
||||
#import "AddSiteController.h"
|
||||
#import "HTTPServerDelegate.h"
|
||||
|
||||
@interface SelectKeyFileController: UITableViewController <UITableViewDelegate,
|
||||
UITableViewDataSource>
|
||||
{
|
||||
NSArray<NSString *> *_keyFiles;
|
||||
OFHTTPServer *_HTTPServer;
|
||||
HTTPServerDelegate *_HTTPServerDelegate;
|
||||
OFThread *_HTTPServerThread;
|
||||
}
|
||||
|
||||
@property (retain) AddSiteController *addSiteController;
|
||||
|
||||
- (IBAction)upload:(id)sender;
|
||||
@end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue