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/PkgModuleFunctions.h?rev=42751&r1=42750&r2=42751&view=diff
==============================================================================
--- 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
#include
#include
-#include
-#include
#include
@@ -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?rev=42751&r1=42750&r2=42751&view=diff
==============================================================================
--- 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
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