00001 /*---------------------------------------------------------------------\ 00002 | ____ _ __ __ ___ | 00003 | |__ / \ / / . \ . \ | 00004 | / / \ V /| _/ _/ | 00005 | / /__ | | | | | | | 00006 | /_____||_| |_| |_| | 00007 | | 00008 \---------------------------------------------------------------------*/ 00012 #include "zypp/target/store/xml/XMLSelectionImpl.h" 00013 00014 using namespace std; 00015 00017 namespace zypp 00018 { 00019 00020 namespace storage 00021 { 00022 00024 // 00025 // METHOD NAME : XMLSelectionImpl::XMLSelectionImpl 00026 // METHOD TYPE : Ctor 00027 // 00028 XMLSelectionImpl::XMLSelectionImpl() : _visible(true) 00029 {} 00030 00032 // 00033 // METHOD NAME : XMLSelectionImpl::~XMLSelectionImpl 00034 // METHOD TYPE : Dtor 00035 // 00036 XMLSelectionImpl::~XMLSelectionImpl() 00037 {} 00038 00039 Label XMLSelectionImpl::category() const 00040 { return _category.text(); } 00041 00042 bool XMLSelectionImpl::visible() const 00043 { return _visible; } 00044 00045 Label XMLSelectionImpl::order() const 00046 { return _order; } 00047 00048 const std::set<std::string> XMLSelectionImpl::suggests() const 00049 { return _suggests; } 00050 00051 const std::set<std::string> XMLSelectionImpl::recommends() const 00052 { return _recommends; } 00053 00054 const std::set<std::string> XMLSelectionImpl::install_packages( const Locale & lang ) const 00055 { return _install_packages; } 00056 00058 } // namespace storage 00061 } // namespace zypp