X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/472ff00ef2e48383805d281c6364ec27839e3f4d..fd95168ffb354257963a3b3ee1a199bd8c1b3c1d:/ftparchive/writer.h diff --git a/ftparchive/writer.h b/ftparchive/writer.h index 76a3dfd1e..86884dcfc 100644 --- a/ftparchive/writer.h +++ b/ftparchive/writer.h @@ -13,14 +13,16 @@ #ifndef WRITER_H #define WRITER_H - #include #include #include #include #include #include +#include +#include +#include "contents.h" #include "cachedb.h" #include "override.h" #include "apt-ftparchive.h" @@ -157,6 +159,7 @@ class ContentsWriter : public FTWScanner class SourcesWriter : public FTWScanner { + CacheDB Db; Override BOver; Override SOver; char *Buffer; @@ -165,6 +168,7 @@ class SourcesWriter : public FTWScanner public: bool NoOverride; + bool DoAlwaysStat; // General options string PathPrefix; @@ -174,7 +178,7 @@ class SourcesWriter : public FTWScanner virtual bool DoPackage(string FileName); - SourcesWriter(string const &BOverrides,string const &SOverrides, + SourcesWriter(string const &DB,string const &BOverrides,string const &SOverrides, string const &ExtOverrides=string()); virtual ~SourcesWriter() {free(Buffer);}; };