Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018 #ifndef CUPT_CACHE_BINARYPACKAGE_SEEN
00019 #define CUPT_CACHE_BINARYPACKAGE_SEEN
00020
00022
00023 #include <cupt/fwd.hpp>
00024 #include <cupt/cache/package.hpp>
00025
00026 namespace cupt {
00027 namespace cache {
00028
00030 class CUPT_API BinaryPackage: public Package
00031 {
00032 const bool __allow_reinstall;
00033 protected:
00035 CUPT_LOCAL virtual shared_ptr< Version > _parse_version(const Version::InitializationParameters& initParams) const;
00036 CUPT_LOCAL virtual bool _is_architecture_appropriate(const shared_ptr< const Version >&) const;
00038 public:
00040
00045 BinaryPackage(const shared_ptr< const string >& binaryArchitecture, bool allowReinstall);
00047 vector< shared_ptr< const BinaryVersion > > getVersions() const;
00049
00052 shared_ptr< const BinaryVersion > getInstalledVersion() const;
00053 };
00054
00055 }
00056 }
00057
00058 #endif
00059