SelectionImplIf.h

Go to the documentation of this file.
00001 /*---------------------------------------------------------------------\
00002 |                          ____ _   __ __ ___                          |
00003 |                         |__  / \ / / . \ . \                         |
00004 |                           / / \ V /|  _/  _/                         |
00005 |                          / /__ | | | | | |                           |
00006 |                         /_____||_| |_| |_|                           |
00007 |                                                                      |
00008 \---------------------------------------------------------------------*/
00012 #ifndef ZYPP_DETAIL_SELECTIONIMPLIF_H
00013 #define ZYPP_DETAIL_SELECTIONIMPLIF_H
00014 
00015 #include "zypp/detail/ResObjectImplIf.h"
00016 #include "zypp/TranslatedText.h"
00017 
00019 namespace zypp
00020 { 
00021 
00022   class Selection;
00023 
00025   namespace detail
00026   { 
00027 
00029     //
00030     //  CLASS NAME : SelectionImplIf
00031     //
00034     class SelectionImplIf : public ResObjectImplIf
00035     {
00036     public:
00037       typedef Selection ResType;
00038 
00039     public:
00040 
00042         virtual Label category() const PURE_VIRTUAL;
00043 
00045         virtual bool visible() const PURE_VIRTUAL;
00046 
00048         virtual Label order() const PURE_VIRTUAL;
00049 
00050         virtual const std::set<std::string> install_packages( const Locale & lang = Locale("") ) const;
00051 
00052 #if 0
00053         // NOTE LangCode id zypp:Locale
00054       virtual ByteCount size() const;
00055       virtual bool providesSources() const;
00056       virtual std::string instSrcLabel() const;
00057       virtual Vendor instSrcVendor() const;
00058       virtual unsigned instSrcRank() const;
00059       virtual std::list<std::string> inspacks( const LangCode & lang = LangCode("") ) const;
00060       virtual std::list<std::string> delpacks( const LangCode & lang = LangCode("") ) const;
00061       virtual PM::LocaleSet supportedLocales() const;
00062       virtual std::set<PMSelectablePtr> pureInspacks_ptrs( const LangCode & lang ) const;
00063       virtual std::set<PMSelectablePtr> inspacks_ptrs( const LangCode & lang ) const;
00064       virtual std::set<PMSelectablePtr> delpacks_ptrs( const LangCode & lang ) const;
00065       virtual bool isBase() const;
00066       virtual PMError provideSelToInstall( Pathname & path_r ) const;
00067 #endif
00068     };
00070 
00072   } // namespace detail
00075 } // namespace zypp
00077 #endif // ZYPP_DETAIL_SELECTIONIMPLIF_H

Generated on Thu May 4 16:03:22 2006 for zypp by  doxygen 1.4.6