From 32b0e3855c01697137e2852d8fcb4e1322e18d4d Mon Sep 17 00:00:00 2001 From: Stanislav Visnovsky Date: Wed, 1 Feb 2006 17:00:06 +0000 Subject: [PATCH] follow the progress signature from the PackageManager --- zypp/ZYppCallbacks.h | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/zypp/ZYppCallbacks.h b/zypp/ZYppCallbacks.h index 4226b048f..59eb527fd 100644 --- a/zypp/ZYppCallbacks.h +++ b/zypp/ZYppCallbacks.h @@ -43,9 +43,9 @@ namespace zypp , Url url ) {} - // return false if the download should be aborted right now + // return true if the download should be aborted right now virtual bool progress(int value, Resolvable::Ptr resolvable_ptr) - { return true; } + { return false; } virtual Action problem( Resolvable::Ptr resolvable_ptr @@ -79,7 +79,7 @@ namespace zypp ) {} virtual bool progress(int value, URL url) - { return true; ] + { return false; } virtual Action problem( URL url @@ -113,7 +113,7 @@ namespace zypp ) {} virtual bool progress(int value, Source_Ref source) - { return true; ] + { return false; } virtual Action problem( Source_Ref source @@ -147,7 +147,7 @@ namespace zypp ) {} virtual bool progress(int value, URL url) - { return true; ] + { return false; } virtual Action problem( URL url @@ -218,7 +218,7 @@ namespace zypp ) {} virtual bool progress(int value, Resolvable::Ptr resolvable) - { return true; ] + { return false; } virtual Action problem( Resolvable::Ptr resolvable @@ -253,7 +253,7 @@ namespace zypp ) {} virtual bool progress(int value, Resolvable::Ptr resolvable) - { return true; ] + { return false; } virtual Action problem( Resolvable::Ptr resolvable @@ -288,7 +288,7 @@ namespace zypp ) {} virtual bool progress(int value, Pathname path) - { return true; ] + { return false; } virtual Action problem( Pathname path @@ -323,7 +323,7 @@ namespace zypp ) {} virtual bool progress(int value, Pathname path) - { return true; ] + { return false; } virtual Action problem( Pathname path -- 2.34.1