add the methods we will need to write to make working with EDSP possible
[ntk/apt.git] / apt-pkg / edsp / edspsystem.h
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
15 class edspIndex;
16 class 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
36 extern edspSystem edspSys;
37
38 #endif