summaryrefslogtreecommitdiff
path: root/apt-pkg/pkgsystem.cc
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2020-02-26 14:51:05 +0000
committerJulian Andres Klode <jak@debian.org>2020-02-26 14:51:05 +0000
commita096b580694cb36f29cdbce8f1db797a08e36709 (patch)
tree8a1bf6106868761042c80e04fdeff1077779ac18 /apt-pkg/pkgsystem.cc
parentb31040e9c1441a2a7296ce3ff12f5052fc522366 (diff)
parentda01dabb86396a1391f081fa54a806e2d7b62133 (diff)
Merge branch 'pu/cleanups' into 'master'
Cleanup ABI - make stuff virtual, etc See merge request apt-team/apt!106
Diffstat (limited to 'apt-pkg/pkgsystem.cc')
-rw-r--r--apt-pkg/pkgsystem.cc41
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() {}