summaryrefslogtreecommitdiff
path: root/ftparchive/writer.h
diff options
context:
space:
mode:
authorArch Librarian <arch@canonical.com>2004-09-20 16:58:27 +0000
committerArch Librarian <arch@canonical.com>2004-09-20 16:58:27 +0000
commit64177f1732fad72e76e8d2e8c576c635af2bbc4f (patch)
tree9b1c0c12669780c1a79d6abf241eef4d02406f4a /ftparchive/writer.h
parentcad3ff8ae821cc71a203ca531715e41ea74d1387 (diff)
AJ's patch for extra override
Author: jgg Date: 2001-06-26 02:50:20 GMT AJ's patch for extra override
Diffstat (limited to 'ftparchive/writer.h')
-rw-r--r--ftparchive/writer.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/ftparchive/writer.h b/ftparchive/writer.h
index cc6375875..854d3424b 100644
--- a/ftparchive/writer.h
+++ b/ftparchive/writer.h
@@ -1,6 +1,6 @@
// -*- mode: cpp; mode: fold -*-
// Description /*{{{*/
-// $Id: writer.h,v 1.3 2001/05/29 04:08:09 jgg Exp $
+// $Id: writer.h,v 1.4 2001/06/26 02:50:27 jgg Exp $
/* ######################################################################
Writer
@@ -20,6 +20,7 @@
#include <string>
#include <stdio.h>
#include <iostream>
+#include <vector>
#include "cachedb.h"
#include "override.h"
@@ -90,9 +91,11 @@ class PackagesWriter : public FTWScanner
struct CacheDB::Stats &Stats;
inline bool ReadOverride(string File) {return Over.ReadOverride(File);};
+ inline bool ReadExtraOverride(string File)
+ {return Over.ReadExtraOverride(File);};
virtual bool DoPackage(string FileName);
- PackagesWriter(string DB,string Overrides);
+ PackagesWriter(string DB,string Overrides,string ExtOverrides=string());
virtual ~PackagesWriter() {};
};
@@ -138,11 +141,10 @@ class SourcesWriter : public FTWScanner
FILE *Output;
struct CacheDB::Stats Stats;
-/* inline bool ReadBinOverride(string File) {return BOver.ReadOverride(File);};
- bool ReadSrcOverride(string File); // {return BOver.ReadOverride(File);};*/
virtual bool DoPackage(string FileName);
- SourcesWriter(string BOverrides,string SOverrides);
+ SourcesWriter(string BOverrides,string SOverrides,
+ string ExtOverrides=string());
virtual ~SourcesWriter() {free(Buffer);};
};