8970a452fb5c1c7245dc370cdffb62658ebd1b2d
[platform/upstream/libzypp.git] / zypp / ResObject.cc
1 /*---------------------------------------------------------------------\
2 |                          ____ _   __ __ ___                          |
3 |                         |__  / \ / / . \ . \                         |
4 |                           / / \ V /|  _/  _/                         |
5 |                          / /__ | | | | | |                           |
6 |                         /_____||_| |_| |_|                           |
7 |                                                                      |
8 \---------------------------------------------------------------------*/
9 /** \file       zypp/ResObject.cc
10  *
11 */
12 #include "zypp/ResObject.h"
13
14 using namespace std;
15
16 ///////////////////////////////////////////////////////////////////
17 namespace zypp
18 { /////////////////////////////////////////////////////////////////
19
20   ///////////////////////////////////////////////////////////////////
21   //
22   //    METHOD NAME : ResObject::ResObject
23   //    METHOD TYPE : Ctor
24   //
25   ResObject::ResObject( const Kind & kind_r,
26                         const std::string & name_r,
27                         const Edition & edition_r,
28                         const Arch & arch_r )
29   : Resolvable( kind_r, name_r, edition_r, arch_r )
30   {}
31
32   ///////////////////////////////////////////////////////////////////
33   //
34   //    METHOD NAME : ResObject::~ResObject
35   //    METHOD TYPE : Dtor
36   //
37   ResObject::~ResObject()
38   {}
39
40   ///////////////////////////////////////////////////////////////////
41   //
42   //    ResObject interface forwarded to implementation
43   //
44   ///////////////////////////////////////////////////////////////////
45
46   string ResObject::summary() const
47   { return pimpl().summary(); }
48
49   text ResObject::description() const
50   { return pimpl().description(); }
51
52   /////////////////////////////////////////////////////////////////
53 } // namespace zypp
54 ///////////////////////////////////////////////////////////////////