diff options
Diffstat (limited to 'src/objc/pop/MCOPOPOperation.h')
-rw-r--r-- | src/objc/pop/MCOPOPOperation.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/objc/pop/MCOPOPOperation.h b/src/objc/pop/MCOPOPOperation.h index 9eaf7fff..656b57a1 100644 --- a/src/objc/pop/MCOPOPOperation.h +++ b/src/objc/pop/MCOPOPOperation.h @@ -17,7 +17,11 @@ // See MCOPOPSession for more info. @interface MCOPOPOperation : MCOOperation -- (void)start:(void (^)(NSError *error))completionBlock; + +// On success, the completion block will be called with nil as error. +// On failure, error will be set with MCOErrorDomain as domain and an error code available in MCOConstants.h. +- (void) start:(void (^)(NSError * error))completionBlock; + @end #endif |