]>
git.saurik.com Git - apt.git/blob - apt-pkg/deb/debsystem.h
c4e27ced31dee78ac0a6c91b8d7b1187781d0289
1 // -*- mode: cpp; mode: fold -*-
3 // $Id: debsystem.h,v 1.3 2001/04/29 05:13:51 jgg Exp $
4 /* ######################################################################
6 System - Debian version of the System Class
8 ##################################################################### */
10 #ifndef PKGLIB_DEBSYSTEM_H
11 #define PKGLIB_DEBSYSTEM_H
14 #pragma interface "apt-pkg/debsystem.h"
17 #include <apt-pkg/pkgsystem.h>
20 class debSystem
: public pkgSystem
22 // For locking support
27 debStatusIndex
*StatusFile
;
32 virtual bool UnLock(bool NoErrors
= false);
33 virtual pkgPackageManager
*CreatePM(pkgDepCache
*Cache
) const;
34 virtual bool Initialize(Configuration
&Cnf
);
35 virtual bool ArchiveSupported(const char *Type
);
36 virtual signed Score(Configuration
const &Cnf
);
37 virtual bool AddStatusFiles(vector
<pkgIndexFile
*> &List
);
38 virtual bool FindIndex(pkgCache::PkgFileIterator File
,
39 pkgIndexFile
*&Found
) const;
45 extern debSystem debSys
;