github.com/slspeek/camlistore_namedsearch@v0.0.0-20140519202248-ed6f70f7721a/clients/ios-objc/photobackup/LACamliClient/LACamliUploadOperation.h (about) 1 // 2 // LACamliUploadOperation.h 3 // photobackup 4 // 5 // Created by Nick O'Neill on 11/29/13. 6 // Copyright (c) 2013 The Camlistore Authors. All rights reserved. 7 // 8 9 #import <Foundation/Foundation.h> 10 11 @class LACamliFile, LACamliClient; 12 13 @interface LACamliUploadOperation : NSOperation <NSURLSessionDelegate> 14 15 @property LACamliClient* client; 16 @property LACamliFile* file; 17 @property NSURLSession* session; 18 @property UIBackgroundTaskIdentifier taskID; 19 20 @property(readonly) BOOL failedTransfer; 21 @property(readonly) BOOL isExecuting; 22 @property(readonly) BOOL isFinished; 23 24 - (id)initWithFile:(LACamliFile*)file andClient:(LACamliClient*)client; 25 - (BOOL)isConcurrent; 26 27 - (NSString*)name; 28 29 @end