Author: jkupec Date: Wed Mar 12 20:26:35 2008 New Revision: 45407 URL: http://svn.opensuse.org/viewcvs/yast?rev=45407&view=rev Log: - updated MediaChange callback (fate #120298) Modified: trunk/pkg-bindings/VERSION trunk/pkg-bindings/package/yast2-pkg-bindings.changes trunk/pkg-bindings/src/Callbacks.cc trunk/pkg-bindings/yast2-pkg-bindings.spec.in Modified: trunk/pkg-bindings/VERSION URL: http://svn.opensuse.org/viewcvs/yast/trunk/pkg-bindings/VERSION?rev=45407&r1=45406&r2=45407&view=diff ============================================================================== --- trunk/pkg-bindings/VERSION (original) +++ trunk/pkg-bindings/VERSION Wed Mar 12 20:26:35 2008 @@ -1 +1 @@ -2.16.17 +2.16.18 Modified: trunk/pkg-bindings/package/yast2-pkg-bindings.changes URL: http://svn.opensuse.org/viewcvs/yast/trunk/pkg-bindings/package/yast2-pkg-bindings.changes?rev=45407&r1=45406&r2=45407&view=diff ============================================================================== --- trunk/pkg-bindings/package/yast2-pkg-bindings.changes (original) +++ trunk/pkg-bindings/package/yast2-pkg-bindings.changes Wed Mar 12 20:26:35 2008 @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Wed Mar 12 20:25:38 CET 2008 - jkupec@suse.cz + +- updated MediaChange callback (fate #120298) +- 2.16.18 + +------------------------------------------------------------------- Tue Mar 11 13:20:55 CET 2008 - lslezak@suse.cz - updated ProgressDownload callback - pass the current and the Modified: trunk/pkg-bindings/src/Callbacks.cc URL: http://svn.opensuse.org/viewcvs/yast/trunk/pkg-bindings/src/Callbacks.cc?rev=45407&r1=45406&r2=45407&view=diff ============================================================================== --- trunk/pkg-bindings/src/Callbacks.cc (original) +++ trunk/pkg-bindings/src/Callbacks.cc Wed Mar 12 20:26:35 2008 @@ -1000,7 +1000,13 @@ { MediaChangeReceive( RecipientCtl & construct_r ) : Recipient( construct_r ) {} - virtual Action requestMedia(zypp::Url &url, unsigned int mediumNr, zypp::media::MediaChangeReport::Error error, const std::string &description) + virtual Action requestMedia(zypp::Url &url, + unsigned int mediumNr, + const std::string & label, + zypp::media::MediaChangeReport::Error error, + const std::string &description, + const std::vectorstd::string & devices, + unsigned int dev_current) { if ( _silent_probing == MEDIA_CHANGE_DISABLE ) return zypp::media::MediaChangeReport::ABORT; @@ -1104,7 +1110,7 @@ } // return default value from the parent class - return zypp::media::MediaChangeReport::requestMedia(url, mediumNr, error, description); + return zypp::media::MediaChangeReport::requestMedia(url, mediumNr, label, error, description, devices, dev_current); } }; Modified: trunk/pkg-bindings/yast2-pkg-bindings.spec.in URL: http://svn.opensuse.org/viewcvs/yast/trunk/pkg-bindings/yast2-pkg-bindings.spec.in?rev=45407&r1=45406&r2=45407&view=diff ============================================================================== --- trunk/pkg-bindings/yast2-pkg-bindings.spec.in (original) +++ trunk/pkg-bindings/yast2-pkg-bindings.spec.in Wed Mar 12 20:26:35 2008 @@ -2,10 +2,10 @@ @HEADER@ BuildRequires: blocxx-devel docbook-xsl-stylesheets doxygen gcc-c++ libgcrypt-devel libxcrypt-devel libxslt perl-XML-Writer sgml-skel yast2-core-devel yast2-devtools -BuildRequires: libzypp-devel >= 4.1.8 +BuildRequires: libzypp-devel >= 4.4.0 # created and expires dates in zypp::PublicKey -Requires: libzypp >= 4.1.8 +Requires: libzypp >= 4.4.0 Summary: - -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org