00001 /*---------------------------------------------------------------------\ 00002 | ____ _ __ __ ___ | 00003 | |__ / \ / / . \ . \ | 00004 | / / \ V /| _/ _/ | 00005 | / /__ | | | | | | | 00006 | /_____||_| |_| |_| | 00007 | | 00008 \---------------------------------------------------------------------*/ 00012 #ifndef ZYPP_ZYPPCOMMITRESULT_H 00013 #define ZYPP_ZYPPCOMMITRESULT_H 00014 00015 #include <iosfwd> 00016 #include <list> 00017 00018 #include "zypp/PoolItem.h" 00019 00021 namespace zypp 00022 { 00023 00025 // 00026 // CLASS NAME : ZYppCommitResult 00027 // 00032 struct ZYppCommitResult 00033 { 00034 ZYppCommitResult() 00035 : _result(0) 00036 {} 00037 00038 typedef std::list<PoolItem_Ref> PoolItemList; 00039 00043 int _result; 00044 00048 PoolItemList _errors; 00052 PoolItemList _remaining; 00056 PoolItemList _srcremaining; 00057 }; 00059 00061 std::ostream & operator<<( std::ostream & str, const ZYppCommitResult & obj ); 00062 00064 } // namespace zypp 00066 #endif // ZYPP_ZYPPCOMMITRESULT_H