Fixed compilation errors with GCC 4.3 by adding missing includes
[platform/upstream/libzypp.git] / zypp / CapAndItem.h
1 /*---------------------------------------------------------------------\
2 |                          ____ _   __ __ ___                          |
3 |                         |__  / \ / / . \ . \                         |
4 |                           / / \ V /|  _/  _/                         |
5 |                          / /__ | | | | | |                           |
6 |                         /_____||_| |_| |_|                           |
7 |                                                                      |
8 \---------------------------------------------------------------------*/
9 /** \file       zypp/CapAndItem.h
10  *
11 */
12 #ifndef ZYPP_CAPANDITEM_H
13 #define ZYPP_CAPANDITEM_H
14
15 #include "zypp/PoolItem.h"
16 #include "zypp/Capability.h"
17
18 ///////////////////////////////////////////////////////////////////
19 namespace zypp
20 { /////////////////////////////////////////////////////////////////
21
22     ///////////////////////////////////////////////////////////////////
23     //
24     //  CLASS NAME : CapAndItem
25     //
26     /** */
27     struct CapAndItem
28     {
29         friend std::ostream & operator<<( std::ostream & str, const CapAndItem & obj );
30         public:
31             Capability cap;
32             PoolItem item;
33
34             CapAndItem( Capability c, PoolItem i )
35                 : cap( c )
36                 , item( i )
37             { }
38     };
39
40   /////////////////////////////////////////////////////////////////
41 } // namespace zypp
42 ///////////////////////////////////////////////////////////////////
43 #endif // ZYPP_CAPANDITEM_H