d3b8598b829fedb9ba99fc06c303093c0469b5d8
[platform/upstream/libzypp.git] / zypp2 / RepoStatus.h
1 /*---------------------------------------------------------------------\
2 |                          ____ _   __ __ ___                          |
3 |                         |__  / \ / / . \ . \                         |
4 |                           / / \ V /|  _/  _/                         |
5 |                          / /__ | | | | | |                           |
6 |                         /_____||_| |_| |_|                           |
7 |                                                                      |
8 \---------------------------------------------------------------------*/
9 /** \file       zypp/RepoStatus.h
10  *
11 */
12 #ifndef ZYPP2_REPOSTATUS_H
13 #define ZYPP2_REPOSTATUS_H
14
15 #include <iosfwd>
16 #include "zypp/base/PtrTypes.h"
17
18 ///////////////////////////////////////////////////////////////////
19 namespace zypp
20 { /////////////////////////////////////////////////////////////////
21
22   ///////////////////////////////////////////////////////////////////
23   //
24   //    CLASS NAME : RepoStatus
25   //
26   /** */
27   class RepoStatus
28   {
29     friend std::ostream & operator<<( std::ostream & str, const RepoStatus & obj );
30
31   public:
32     /** Implementation  */
33     class Impl;
34
35   public:
36     /** Default ctor */
37     RepoStatus();
38     /** Dtor */
39     ~RepoStatus();
40
41   public:
42
43   private:
44     /** Pointer to implementation */
45     RWCOW_pointer<Impl> _pimpl;
46   };
47   ///////////////////////////////////////////////////////////////////
48
49   /** \relates RepoStatus Stream output */
50   std::ostream & operator<<( std::ostream & str, const RepoStatus & obj );
51
52   /////////////////////////////////////////////////////////////////
53 } // namespace zypp2
54 ///////////////////////////////////////////////////////////////////
55 #endif // ZYPP2_REPOSTATUS_H