move into trunk
[platform/upstream/libzypp.git] / zypp / Product.cc
1 /*---------------------------------------------------------------------\
2 |                          ____ _   __ __ ___                          |
3 |                         |__  / \ / / . \ . \                         |
4 |                           / / \ V /|  _/  _/                         |
5 |                          / /__ | | | | | |                           |
6 |                         /_____||_| |_| |_|                           |
7 |                                                                      |
8 \---------------------------------------------------------------------*/
9 /** \file zypp/Product.cc
10  *
11 */
12 #include "zypp/Product.h"
13
14 ///////////////////////////////////////////////////////////////////
15 namespace zypp
16 { /////////////////////////////////////////////////////////////////
17
18   IMPL_PTR_TYPE(Product);
19
20   ///////////////////////////////////////////////////////////////////
21   //
22   //    METHOD NAME : Product::Product
23   //    METHOD TYPE : Ctor
24   //
25   Product::Product( const sat::Solvable & solvable_r )
26   : ResObject( solvable_r )
27   {}
28
29   ///////////////////////////////////////////////////////////////////
30   //
31   //    METHOD NAME : Product::~Product
32   //    METHOD TYPE : Dtor
33   //
34   Product::~Product()
35   {}
36
37   ///////////////////////////////////////////////////////////////////
38   //
39   //    Package interface forwarded to implementation
40   //
41   ///////////////////////////////////////////////////////////////////
42
43   std::string Product::type() const
44   { return std::string(); }
45
46   Label Product::vendor() const
47   { return Label(); }
48
49   Url Product::releaseNotesUrl() const
50   { return Url(); }
51
52   std::list<Url> Product::updateUrls() const
53   { return std::list<Url>(); }
54
55   std::list<Url> Product::extraUrls() const
56   { return std::list<Url>(); }
57
58   std::list<Url> Product::optionalUrls() const
59   { return std::list<Url>(); }
60
61   std::list<std::string> Product::flags() const
62   { return std::list<std::string>(); }
63
64   /** */
65   Label Product::shortName() const
66   { return Label(); }
67
68   /** */
69   Label Product::longName() const
70   { return summary(); }
71
72   std::string Product::distributionName() const
73   { return std::string(); }
74
75   Edition Product::distributionEdition() const
76   { return Edition(); }
77
78
79   /////////////////////////////////////////////////////////////////
80 } // namespace zypp
81 ///////////////////////////////////////////////////////////////////