Author: lslezak Date: Thu Dec 6 08:33:40 2007 New Revision: 42751 URL: http://svn.opensuse.org/viewcvs/yast?rev=42751&view=rev Log: - removed obsoleted SourceLoadReceiver() function Modified: trunk/pkg-bindings/src/PkgModuleFunctions.h trunk/pkg-bindings/src/Source_Load.cc Modified: trunk/pkg-bindings/src/PkgModuleFunctions.h URL: http://svn.opensuse.org/viewcvs/yast/trunk/pkg-bindings/src/PkgModuleFunctio... ============================================================================== --- trunk/pkg-bindings/src/PkgModuleFunctions.h (original) +++ trunk/pkg-bindings/src/PkgModuleFunctions.h Thu Dec 6 08:33:40 2007 @@ -49,8 +49,6 @@ #include <zypp/DiskUsageCounter.h> #include <zypp/RepoInfo.h> #include <zypp/RepoManager.h> -#include <zypp/MediaSetAccess.h> -#include <zypp/ProgressData.h> #include <YRepo.h> @@ -719,8 +717,6 @@ */ PkgModuleFunctions (); - bool SourceLoadReceiver(const zypp::ProgressData &progress); - /** * Destructor. */ Modified: trunk/pkg-bindings/src/Source_Load.cc URL: http://svn.opensuse.org/viewcvs/yast/trunk/pkg-bindings/src/Source_Load.cc?r... ============================================================================== --- trunk/pkg-bindings/src/Source_Load.cc (original) +++ trunk/pkg-bindings/src/Source_Load.cc Thu Dec 6 08:33:40 2007 @@ -19,7 +19,7 @@ */ /* - File: $Id:$ + File: $Id$ Author: Ladislav Slezák <lslezak@novell.com> Summary: Functions for initializing the package manager */ @@ -91,24 +91,6 @@ return YCPList(); } -bool PkgModuleFunctions::SourceLoadReceiver(const zypp::ProgressData &progress) -{ - y2milestone("Source Load receiver: %lld (%lld%%)", progress.val(), progress.reportValue()); - - // get the YCP callback handler for destroy event - Y2Function* ycp_handler = _callbackHandler._ycpCallbacks.createCallback(CallbackHandler::YCPCallbacks::CB_ProcessProgress); - - // is the callback registered? - if (ycp_handler != NULL) - { - ycp_handler->appendParameter(YCPInteger(progress.reportValue())); - // evaluate the callback function - ycp_handler->evaluateCall(); - } - - return true; -} - /**************************************************************************************** * @builtin SourceLoad * -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org