diff options
author | Hoa V. DINH <dinh.viet.hoa@gmail.com> | 2013-04-04 23:23:50 -0700 |
---|---|---|
committer | Hoa V. DINH <dinh.viet.hoa@gmail.com> | 2013-04-04 23:23:50 -0700 |
commit | d036437a499feafdd79994fcaa38d03b50929fe0 (patch) | |
tree | e000395d2eff5532184d8e73c49daa473cf73ecc /src/objc/utils/MCOOperation.h | |
parent | 6eba7f202753d79f2de6b8a8c87864e93394343c (diff) |
Header documentation. Header clean-up
Diffstat (limited to 'src/objc/utils/MCOOperation.h')
-rw-r--r-- | src/objc/utils/MCOOperation.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/objc/utils/MCOOperation.h b/src/objc/utils/MCOOperation.h index e44ea236..7893f917 100644 --- a/src/objc/utils/MCOOperation.h +++ b/src/objc/utils/MCOOperation.h @@ -13,9 +13,16 @@ #import <Foundation/Foundation.h> @interface MCOOperation : NSObject + @property (readonly) BOOL isCancelled; +// This methods is called on the main thread when the asynchronous operation is finished. +// Needs to be overriden by subclasses. +- (void)operationCompleted; + +// Cancel the operation. - (void)cancel; + @end #endif |