]>
git.saurik.com Git - apt.git/blob - apt-pkg/edsp/edspsystem.h
1 // -*- mode: cpp; mode: fold -*-
3 // $Id: debsystem.h,v 1.4 2003/01/11 07:16:33 jgg Exp $
4 /* ######################################################################
6 System - Debian version of the System Class
8 ##################################################################### */
10 #ifndef PKGLIB_EDSPSYSTEM_H
11 #define PKGLIB_EDSPSYSTEM_H
13 #include <apt-pkg/pkgsystem.h>
16 class edspSystem
: public pkgSystem
18 /** \brief dpointer placeholder (for later in case we need it) */
21 edspIndex
*StatusFile
;
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;
39 extern edspSystem edspSys
;