On Tuesday 03 July 2012 20:01:43 Saurabh Sood wrote:
Hi, I have been able to select and install packages. As part of my project, I want that users be displayed the installation summary. How do I retrieve which packages are to be installed, removed or upgraded?
Look at the pool and investigate the fate/status of each item: for ( const ui::Selectable::Ptr & selectable : ResPool::instance().proxy() ) { if ( selectable->toModify() ) cout << selectable->ident() << "\t" << selectable->status() << endl; } -- cu, Michael Andres +------------------------------------------------------------------+ Key fingerprint = 2DFA 5D73 18B1 E7EF A862 27AC 3FB8 9E3A 27C6 B0E4 +------------------------------------------------------------------+ Michael Andres SUSE LINUX Products GmbH, Development, ma@suse.de GF:Jeff Hawn,Jennifer Guild,Felix Imendörffer, HRB16746(AG Nürnberg) Maxfeldstrasse 5, D-90409 Nuernberg, Germany, ++49 (0)911 - 740 53-0 +------------------------------------------------------------------+ -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org To contact the owner, e-mail: zypp-devel+owner@opensuse.org