00001 /*---------------------------------------------------------------------\ 00002 | ____ _ __ __ ___ | 00003 | |__ / \ / / . \ . \ | 00004 | / / \ V /| _/ _/ | 00005 | / /__ | | | | | | | 00006 | /_____||_| |_| |_| | 00007 | | 00008 \---------------------------------------------------------------------*/ 00012 #include <iostream> 00013 00014 #include "zypp/Selection.h" 00015 #include "zypp/TranslatedText.h" 00016 00017 using namespace std; 00018 00020 namespace zypp 00021 { 00022 00023 IMPL_PTR_TYPE(Selection); 00024 00026 // 00027 // METHOD NAME : Selection::Selection 00028 // METHOD TYPE : Ctor 00029 // 00030 Selection::Selection( const NVRAD & nvrad_r ) 00031 : ResObject( TraitsType::kind, nvrad_r ) 00032 {} 00033 00035 // 00036 // METHOD NAME : Selection::~Selection 00037 // METHOD TYPE : Dtor 00038 // 00039 Selection::~Selection() 00040 {} 00041 00043 // 00044 // Selection interface forwarded to implementation 00045 // 00047 00049 Label Selection::category() const 00050 { 00051 return pimpl().category(); 00052 } 00053 00055 bool Selection::visible() const 00056 { 00057 return pimpl().visible(); 00058 } 00059 00061 Label Selection::order() const 00062 { 00063 return pimpl().order(); 00064 } 00065 00066 const std::set<std::string> Selection::install_packages( const Locale & lang) const 00067 { 00068 return pimpl().install_packages(); 00069 } 00070 00072 } // namespace zypp