Author: jkupec Date: Thu Mar 13 16:31:21 2008 New Revision: 9129 URL: http://svn.opensuse.org/viewcvs/zypp?rev=9129&view=rev Log: - new requestMedia callback signature Modified: trunk/zypper/src/zypper-media-callbacks.h Modified: trunk/zypper/src/zypper-media-callbacks.h URL: http://svn.opensuse.org/viewcvs/zypp/trunk/zypper/src/zypper-media-callbacks.h?rev=9129&r1=9128&r2=9129&view=diff ============================================================================== --- trunk/zypper/src/zypper-media-callbacks.h (original) +++ trunk/zypper/src/zypper-media-callbacks.h Thu Mar 13 16:31:21 2008 @@ -33,11 +33,20 @@ struct MediaChangeReportReceiver : public zypp::callback::ReceiveReport<MediaChangeReport> { - virtual MediaChangeReport::Action requestMedia( zypp::Url & url, - unsigned mediumNr, - MediaChangeReport::Error error, - const std::string & description ) - { + virtual MediaChangeReport::Action + requestMedia(zypp::Url & url, + unsigned mediumNr, + const std::string & label, + MediaChangeReport::Error error, + const std::string & description, + const std::vectorstd::string & devices, + unsigned int & index) + { + /*std::cout << "detected devices: "; + for (std::vectorstd::string::const_iterator it = devices.begin(); + it != devices.end(); ++it) + std::cout << *it << " "; + cout << std::endl;*/ if (is_changeable_media(url)) { //cerr << endl; // may be in the middle of RepoReport or ProgressReport \todo check this -- To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org For additional commands, e-mail: zypp-commit+help@opensuse.org