]>
git.saurik.com Git - apt.git/blob - apt-pkg/deb/debsystem.h
23215525675761dbdb81552bb276e34efb374786
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_DEBSYSTEM_H
11 #define PKGLIB_DEBSYSTEM_H
13 #include <apt-pkg/pkgsystem.h>
15 class debSystemPrivate
;
18 class debSystem
: public pkgSystem
27 virtual bool UnLock(bool NoErrors
= false);
28 virtual pkgPackageManager
*CreatePM(pkgDepCache
*Cache
) const;
29 virtual bool Initialize(Configuration
&Cnf
);
30 virtual bool ArchiveSupported(const char *Type
);
31 virtual signed Score(Configuration
const &Cnf
);
32 virtual bool AddStatusFiles(std::vector
<pkgIndexFile
*> &List
);
33 virtual bool FindIndex(pkgCache::PkgFileIterator File
,
34 pkgIndexFile
*&Found
) const;
40 extern debSystem debSys
;