1 /*---------------------------------------------------------------------\
3 | |__ / \ / / . \ . \ |
8 \---------------------------------------------------------------------*/
9 /** \file zypp/ZYppCommitResult.h
12 #ifndef ZYPP_ZYPPCOMMITRESULT_H
13 #define ZYPP_ZYPPCOMMITRESULT_H
18 #include "zypp/PoolItem.h"
20 ///////////////////////////////////////////////////////////////////
22 { /////////////////////////////////////////////////////////////////
24 ///////////////////////////////////////////////////////////////////
26 // CLASS NAME : ZYppCommitResult
28 /** Result returned from ZYpp::commit.
29 * \see \ref ZYpp::commit
30 * \todo document fields.
32 struct ZYppCommitResult
38 typedef std::list<PoolItem> PoolItemList;
41 * number of committed resolvables
46 * list of resolvables with error
50 * list of resolvables remaining (due to wrong media)
52 PoolItemList _remaining;
54 * list of kind:source resolvables remaining (due to wrong media)
56 PoolItemList _srcremaining;
58 ///////////////////////////////////////////////////////////////////
60 /** \relates ZYppCommitResult Stream output. */
61 std::ostream & operator<<( std::ostream & str, const ZYppCommitResult & obj );
63 /////////////////////////////////////////////////////////////////
65 ///////////////////////////////////////////////////////////////////
66 #endif // ZYPP_ZYPPCOMMITRESULT_H