diff options
Diffstat (limited to 'apt-pkg/pkgsystem.cc')
-rw-r--r-- | apt-pkg/pkgsystem.cc | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/apt-pkg/pkgsystem.cc b/apt-pkg/pkgsystem.cc index eaa3f5ab7..7e48a68c7 100644 --- a/apt-pkg/pkgsystem.cc +++ b/apt-pkg/pkgsystem.cc @@ -56,22 +56,6 @@ APT_PURE pkgSystem *pkgSystem::GetSystem(const char *Label) return 0; } /*}}}*/ -bool pkgSystem::MultiArchSupported() const /*{{{*/ -{ - debSystem const * const deb = dynamic_cast<debSystem const *>(this); - if (deb != NULL) - return deb->SupportsMultiArch(); - return true; -} - /*}}}*/ -std::vector<std::string> pkgSystem::ArchitecturesSupported() const /*{{{*/ -{ - debSystem const * const deb = dynamic_cast<debSystem const *>(this); - if (deb != NULL) - return deb->SupportedArchitectures(); - return {}; -} - /*}}}*/ // pkgSystem::Set/GetVersionMapping - for internal/external communication/*{{{*/ void pkgSystem::SetVersionMapping(map_id_t const in, map_id_t const out) { @@ -85,29 +69,4 @@ map_id_t pkgSystem::GetVersionMapping(map_id_t const in) const return (o == d->idmap.end()) ? in : o->second; } /*}}}*/ - -bool pkgSystem::LockInner() /*{{{*/ -{ - debSystem * const deb = dynamic_cast<debSystem *>(this); - if (deb != NULL) - return deb->LockInner(); - return _error->Error("LockInner is not implemented"); -} - /*}}}*/ -bool pkgSystem::UnLockInner(bool NoErrors) /*{{{*/ -{ - debSystem * const deb = dynamic_cast<debSystem *>(this); - if (deb != NULL) - return deb->UnLockInner(NoErrors); - return _error->Error("UnLockInner is not implemented"); -} - /*}}}*/ -bool pkgSystem::IsLocked() /*{{{*/ -{ - debSystem * const deb = dynamic_cast<debSystem *>(this); - if (deb != NULL) - return deb->IsLocked(); - return true; -} - /*}}}*/ pkgSystem::~pkgSystem() {} |