]> git.saurik.com Git - apt.git/blame - apt-pkg/edsp/edspsystem.h
add new config options "Acquire::ForceIPv4" and
[apt.git] / apt-pkg / edsp / edspsystem.h
CommitLineData
6d38011b
DK
1// -*- mode: cpp; mode: fold -*-
2// Description /*{{{*/
3// $Id: debsystem.h,v 1.4 2003/01/11 07:16:33 jgg Exp $
4/* ######################################################################
5
6 System - Debian version of the System Class
7
8 ##################################################################### */
9 /*}}}*/
10#ifndef PKGLIB_EDSPSYSTEM_H
11#define PKGLIB_EDSPSYSTEM_H
12
13#include <apt-pkg/pkgsystem.h>
14
15class edspIndex;
16class edspSystem : public pkgSystem
17{
627e99b0
MV
18 /** \brief dpointer placeholder (for later in case we need it) */
19 void *d;
20
6d38011b
DK
21 edspIndex *StatusFile;
22
23 public:
24
25 virtual bool Lock();
26 virtual bool UnLock(bool NoErrors = false);
27 virtual pkgPackageManager *CreatePM(pkgDepCache *Cache) const;
28 virtual bool Initialize(Configuration &Cnf);
29 virtual bool ArchiveSupported(const char *Type);
30 virtual signed Score(Configuration const &Cnf);
31 virtual bool AddStatusFiles(std::vector<pkgIndexFile *> &List);
32 virtual bool FindIndex(pkgCache::PkgFileIterator File,
33 pkgIndexFile *&Found) const;
34
35 edspSystem();
36 ~edspSystem();
37};
38
39extern edspSystem edspSys;
40
41#endif