00001 /*---------------------------------------------------------------------\ 00002 | ____ _ __ __ ___ | 00003 | |__ / \ / / . \ . \ | 00004 | / / \ V /| _/ _/ | 00005 | / /__ | | | | | | | 00006 | /_____||_| |_| |_| | 00007 | | 00008 \---------------------------------------------------------------------*/ 00012 #ifndef ZYPP_ZCONFIG_H 00013 #define ZYPP_ZCONFIG_H 00014 00015 #include <iosfwd> 00016 00017 #include "zypp/base/NonCopyable.h" 00018 #include "zypp/base/PtrTypes.h" 00019 00020 #include "zypp/Arch.h" 00021 #include "zypp/Locale.h" 00022 #include "zypp/Pathname.h" 00023 00025 namespace zypp 00026 { 00027 00029 // 00030 // CLASS NAME : ZConfig 00031 // 00038 class ZConfig : private base::NonCopyable 00039 { 00040 public: 00042 static ZConfig & instance(); 00043 00044 public: 00048 bool download_use_patchrpm() const; 00049 00053 bool download_use_deltarpm() const; 00054 00055 public: 00056 class Impl; 00058 ~ZConfig(); 00059 private: 00061 ZConfig(); 00063 RW_pointer<Impl, rw_pointer::Scoped<Impl> > _pimpl; 00064 }; 00066 00068 } // namespace zypp 00070 #endif // ZYPP_ZCONFIG_H
1.4.6