cleanup headers and especially #includes everywhere
[ntk/apt.git] / apt-pkg / edsp / edsplistparser.h
CommitLineData
6d38011b
DK
1// -*- mode: cpp; mode: fold -*-
2// Description /*{{{*/
3/* ######################################################################
4
5 EDSP Package List Parser - This implements the abstract parser
6 interface for the APT specific intermediate format which is passed
7 to external resolvers
8
9 ##################################################################### */
10 /*}}}*/
11#ifndef PKGLIB_EDSPLISTPARSER_H
12#define PKGLIB_EDSPLISTPARSER_H
13
14#include <apt-pkg/deblistparser.h>
453b82a3
DK
15#include <apt-pkg/md5.h>
16#include <apt-pkg/pkgcache.h>
17
18#include <string>
472ff00e 19
b9dadc24
DK
20#ifndef APT_8_CLEANER_HEADERS
21#include <apt-pkg/pkgcachegen.h>
22#include <apt-pkg/indexfile.h>
23#include <apt-pkg/tagfile.h>
24#endif
25
472ff00e 26class FileFd;
6d38011b
DK
27
28class edspListParser : public debListParser
29{
30 public:
31 virtual bool NewVersion(pkgCache::VerIterator &Ver);
8f3ba4e8
DK
32 virtual std::string Description();
33 virtual std::string DescriptionLanguage();
6d38011b
DK
34 virtual MD5SumValue Description_md5();
35 virtual unsigned short VersionHash();
36
37 bool LoadReleaseInfo(pkgCache::PkgFileIterator &FileI,FileFd &File,
8f3ba4e8 38 std::string section);
6d38011b 39
8f3ba4e8 40 edspListParser(FileFd *File, std::string const &Arch = "");
6d38011b
DK
41
42 protected:
43 virtual bool ParseStatus(pkgCache::PkgIterator &Pkg,pkgCache::VerIterator &Ver);
44
45};
46
47#endif