]> git.saurik.com Git - apt.git/blame - apt-pkg/edsp/edspsystem.h
make all d-pointer * const pointers
[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>
453b82a3
DK
14#include <apt-pkg/cacheiterators.h>
15#include <apt-pkg/pkgcache.h>
6d38011b 16
453b82a3
DK
17#include <vector>
18
19class Configuration;
20class pkgDepCache;
21class pkgIndexFile;
22class pkgPackageManager;
6d38011b 23class edspIndex;
453b82a3 24
dce45dbe 25class APT_HIDDEN edspSystem : public pkgSystem
6d38011b 26{
627e99b0 27 /** \brief dpointer placeholder (for later in case we need it) */
6c55f07a 28 void * const d;
627e99b0 29
6d38011b
DK
30 edspIndex *StatusFile;
31
32 public:
33
a02db58f
DK
34 virtual bool Lock() APT_CONST;
35 virtual bool UnLock(bool NoErrors = false) APT_CONST;
36 virtual pkgPackageManager *CreatePM(pkgDepCache *Cache) const APT_CONST;
6d38011b 37 virtual bool Initialize(Configuration &Cnf);
a02db58f 38 virtual bool ArchiveSupported(const char *Type) APT_CONST;
6d38011b
DK
39 virtual signed Score(Configuration const &Cnf);
40 virtual bool AddStatusFiles(std::vector<pkgIndexFile *> &List);
41 virtual bool FindIndex(pkgCache::PkgFileIterator File,
42 pkgIndexFile *&Found) const;
43
44 edspSystem();
c8a4ce6c 45 virtual ~edspSystem();
6d38011b
DK
46};
47
6d38011b 48#endif