]> git.saurik.com Git - apt.git/blame - apt-pkg/edsp/edspsystem.h
fix arguments for MarkInstall so packages are really marked as automatic
[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{
18 edspIndex *StatusFile;
19
20 public:
21
22 virtual bool Lock();
23 virtual bool UnLock(bool NoErrors = false);
24 virtual pkgPackageManager *CreatePM(pkgDepCache *Cache) const;
25 virtual bool Initialize(Configuration &Cnf);
26 virtual bool ArchiveSupported(const char *Type);
27 virtual signed Score(Configuration const &Cnf);
28 virtual bool AddStatusFiles(std::vector<pkgIndexFile *> &List);
29 virtual bool FindIndex(pkgCache::PkgFileIterator File,
30 pkgIndexFile *&Found) const;
31
32 edspSystem();
33 ~edspSystem();
34};
35
36extern edspSystem edspSys;
37
38#endif