- (void) setProgressPercent:(NSNumber *)percent;
- (void) startProgress;
- (void) addProgressOutput:(NSString *)output;
-- (bool) isCancelling:(size_t)received;
+- (bool) isProgressCancelled;
@end
@protocol ConfigurationDelegate
);
[delegate_ setProgressPercent:[NSNumber numberWithFloat:percent]];
- return [delegate_ isCancelling:CurrentBytes] ? false : value;
+ return [delegate_ isProgressCancelled] ? false : value;
}
virtual void Start() {
- (void) setProgressPercent:(NSNumber *)percent { }
- (void) startProgress { }
- (void) addProgressOutput:(NSString *)output { }
-- (bool) isCancelling:(size_t)received { return NO; }
+- (bool) isProgressCancelled { return NO; }
- (void) setConfigurationData:(NSString *)data { }
- (void) repairWithSelector:(SEL)selector {
- (void) startProgress {
}
-- (bool) isCancelling:(size_t)received {
+- (bool) isProgressCancelled {
return false;
}
- (void) startProgress {
}
-- (bool) isCancelling:(size_t)received {
+- (bool) isProgressCancelled {
return !updating_;
}