summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2011-02-21 06:53:33 -0800
committerJay Freeman (saurik) <saurik@saurik.com>2011-02-21 07:03:49 -0800
commitff2d5dcd049f35ccfd2b60fb53a12e4095f9f158 (patch)
tree8f70299b8f9c61d7b2abbe4dc8e895d93b995d11
parent53ca7fddbef9d38f4d8f7d2c39955e625543025b (diff)
Rename isCancelling: to isProgressCancelled.
-rw-r--r--MobileCydia.mm10
1 files changed, 5 insertions, 5 deletions
diff --git a/MobileCydia.mm b/MobileCydia.mm
index 1cd2894..2b8c772 100644
--- a/MobileCydia.mm
+++ b/MobileCydia.mm
@@ -1129,7 +1129,7 @@ bool isSectionVisible(NSString *section) {
- (void) setProgressPercent:(NSNumber *)percent;
- (void) startProgress;
- (void) addProgressOutput:(NSString *)output;
-- (bool) isCancelling:(size_t)received;
+- (bool) isProgressCancelled;
@end
@protocol ConfigurationDelegate
@@ -1237,7 +1237,7 @@ class Status :
);
[delegate_ setProgressPercent:[NSNumber numberWithFloat:percent]];
- return [delegate_ isCancelling:CurrentBytes] ? false : value;
+ return [delegate_ isProgressCancelled] ? false : value;
}
virtual void Start() {
@@ -4212,7 +4212,7 @@ static NSString *Warning_;
- (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 {
@@ -5071,7 +5071,7 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) {
- (void) startProgress {
}
-- (bool) isCancelling:(size_t)received {
+- (bool) isProgressCancelled {
return false;
}
@@ -6682,7 +6682,7 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) {
- (void) startProgress {
}
-- (bool) isCancelling:(size_t)received {
+- (bool) isProgressCancelled {
return !updating_;
}