]>
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>
14 #include <apt-pkg/cacheiterators.h>
15 #include <apt-pkg/pkgcache.h>
19 #include <apt-pkg/macros.h>
24 class pkgPackageManager
;
27 class edspSystemPrivate
;
28 class APT_HIDDEN edspSystem
: public pkgSystem
30 /** \brief dpointer placeholder (for later in case we need it) */
31 edspSystemPrivate
* const d
;
33 edspIndex
*StatusFile
;
37 virtual bool Lock() APT_OVERRIDE APT_CONST
;
38 virtual bool UnLock(bool NoErrors
= false) APT_OVERRIDE APT_CONST
;
39 virtual pkgPackageManager
*CreatePM(pkgDepCache
*Cache
) const APT_OVERRIDE APT_CONST
;
40 virtual bool Initialize(Configuration
&Cnf
) APT_OVERRIDE
;
41 virtual bool ArchiveSupported(const char *Type
) APT_OVERRIDE APT_CONST
;
42 virtual signed Score(Configuration
const &Cnf
) APT_OVERRIDE
;
43 virtual bool AddStatusFiles(std::vector
<pkgIndexFile
*> &List
) APT_OVERRIDE
;
44 virtual bool FindIndex(pkgCache::PkgFileIterator File
,
45 pkgIndexFile
*&Found
) const APT_OVERRIDE
;
48 virtual ~edspSystem();