1 /*---------------------------------------------------------------------\
3 | |__ / \ / / . \ . \ |
8 \---------------------------------------------------------------------*/
9 /** \file zypp/Selection.cc
14 #include "zypp/Selection.h"
15 #include "zypp/TranslatedText.h"
19 ///////////////////////////////////////////////////////////////////
21 { /////////////////////////////////////////////////////////////////
23 IMPL_PTR_TYPE(Selection);
25 ///////////////////////////////////////////////////////////////////
27 // METHOD NAME : Selection::Selection
30 Selection::Selection( const NVRAD & nvrad_r )
31 : ResObject( TraitsType::kind, nvrad_r )
34 ///////////////////////////////////////////////////////////////////
36 // METHOD NAME : Selection::~Selection
39 Selection::~Selection()
42 ///////////////////////////////////////////////////////////////////
44 // Selection interface forwarded to implementation
46 ///////////////////////////////////////////////////////////////////
48 /** selection category */
49 Label Selection::category() const
51 return pimpl().category();
54 /** selection visibility (for hidden selections) */
55 bool Selection::visible() const
57 return pimpl().visible();
60 /** selection presentation order */
61 Label Selection::order() const
63 return pimpl().order();
66 const std::set<std::string> Selection::install_packages( const Locale & lang) const
68 return pimpl().install_packages();
71 /////////////////////////////////////////////////////////////////
73 ///////////////////////////////////////////////////////////////////