1 /*---------------------------------------------------------------------\
3 | |__ / \ / / . \ . \ |
8 \---------------------------------------------------------------------*/
9 /** \file zypp/Product.cc
14 #include "zypp/Product.h"
18 ///////////////////////////////////////////////////////////////////
20 { /////////////////////////////////////////////////////////////////
22 IMPL_PTR_TYPE(Product);
24 ///////////////////////////////////////////////////////////////////
26 // METHOD NAME : Product::Product
29 Product::Product( const NVRAD & nvrad_r )
30 : ResObject( TraitsType::kind, nvrad_r )
33 ///////////////////////////////////////////////////////////////////
35 // METHOD NAME : Product::~Product
41 ///////////////////////////////////////////////////////////////////
43 // Package interface forwarded to implementation
45 ///////////////////////////////////////////////////////////////////
47 std::string Product::category() const
48 { return pimpl().category(); }
50 Label Product::vendor() const
51 { return pimpl().vendor(); }
53 Url Product::releaseNotesUrl() const
54 { return pimpl().releaseNotesUrl(); }
56 std::list<Url> Product::updateUrls() const
57 { return pimpl().updateUrls(); }
59 std::list<std::string> Product::flags() const
60 { return pimpl().flags(); }
63 License Product::licenseToConfirm() const
64 { return pimpl().licenseToConfirm(); }
67 Label Product::shortName() const
68 { return pimpl().shortName().text(); }
71 Label Product::longName() const
74 /////////////////////////////////////////////////////////////////
76 ///////////////////////////////////////////////////////////////////