]> git.saurik.com Git - apt.git/blob - apt-pkg/edsp/edspindexfile.h
just-in-time creation for (explicit) negative deps
[apt.git] / apt-pkg / edsp / edspindexfile.h
1 // -*- mode: cpp; mode: fold -*-
2 // Description /*{{{*/
3 /* ######################################################################
4 The scenario file is designed to work as an intermediate file between
5 APT and the resolver. Its on propose very similar to a dpkg status file
6 ##################################################################### */
7 /*}}}*/
8 #ifndef PKGLIB_EDSPINDEXFILE_H
9 #define PKGLIB_EDSPINDEXFILE_H
10
11 #include <apt-pkg/debindexfile.h>
12 #include <string>
13
14 #ifndef APT_8_CLEANER_HEADERS
15 #include <apt-pkg/indexfile.h>
16 #endif
17
18 class OpProgress;
19 class pkgCacheGenerator;
20
21 class APT_HIDDEN edspIndex : public debStatusIndex
22 {
23 /** \brief dpointer placeholder (for later in case we need it) */
24 void * const d;
25
26 public:
27
28 virtual const Type *GetType() const APT_CONST;
29
30 virtual bool Merge(pkgCacheGenerator &Gen,OpProgress *Prog) const APT_OVERRIDE;
31
32 edspIndex(std::string File);
33 virtual ~edspIndex();
34 };
35
36 #endif