9#ifndef PKGLIB_EDSPSYSTEM_H
10#define PKGLIB_EDSPSYSTEM_H
13#include <apt-pkg/pkgsystem.h>
14#include <apt-pkg/error.h>
19#include <apt-pkg/macros.h>
29 std::unique_ptr<pkgIndexFile> StatusFile;
32 bool Lock(
OpProgress *Progress)
override APT_PURE;
33 bool UnLock(
bool NoErrors =
false)
override APT_PURE;
36 bool ArchiveSupported(
const char *Type)
override APT_PURE;
38 bool FindIndex(pkgCache::PkgFileIterator File,
44 bool LockInner(
OpProgress *
const ,
int )
override {
return _error->Error(
"LockInner is not implemented"); };
45 bool UnLockInner(
bool )
override {
return _error->Error(
"UnLockInner is not implemented"); };
55 std::string tempStatesFile;
56 std::string tempPrefsFile;
60 bool AddStatusFiles(std::vector<pkgIndexFile *> &List)
override;
69 bool AddStatusFiles(std::vector<pkgIndexFile *> &List)
override;
Definition configuration.h:41
Definition edspsystem.h:27
bool IsLocked() override
checks if the system is currently locked
Definition edspsystem.h:46
std::vector< std::string > ArchitecturesSupported() const override
Definition edspsystem.h:42
bool MultiArchSupported() const override
Definition edspsystem.h:41
Definition edspsystem.h:53
Definition edspsystem.h:67
Definition indexfile.h:103
Definition packagemanager.h:49
Definition pkgsystem.h:53
pkgCache - Structure definitions for the cache file