summaryrefslogtreecommitdiff
path: root/apt-pkg/deb/debsrcrecords.h
diff options
context:
space:
mode:
authorMichael Vogt <mvo@ubuntu.com>2014-04-22 17:59:09 +0200
committerMichael Vogt <mvo@ubuntu.com>2014-04-22 21:58:26 +0200
commitfeab34c5216941ca95aae1a389238a77b662d1de (patch)
tree3aee2587ca28cfa62421d076d40d81060a0579c4 /apt-pkg/deb/debsrcrecords.h
parent5572f6bdcb947e11f32e2a035438d9d3899ad46d (diff)
add support for apt-get build-dep foo.dsc
Diffstat (limited to 'apt-pkg/deb/debsrcrecords.h')
-rw-r--r--apt-pkg/deb/debsrcrecords.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/apt-pkg/deb/debsrcrecords.h b/apt-pkg/deb/debsrcrecords.h
index b65d1480b..0cd664818 100644
--- a/apt-pkg/deb/debsrcrecords.h
+++ b/apt-pkg/deb/debsrcrecords.h
@@ -26,6 +26,7 @@ class debSrcRecordParser : public pkgSrcRecords::Parser
/** \brief dpointer placeholder (for later in case we need it) */
void *d;
+ protected:
FileFd Fd;
pkgTagFile Tags;
pkgTagSection Sect;
@@ -60,4 +61,10 @@ class debSrcRecordParser : public pkgSrcRecords::Parser
virtual ~debSrcRecordParser();
};
+class debDscRecordParser : public debSrcRecordParser
+{
+ public:
+ debDscRecordParser(std::string const &DscFile);
+};
+
#endif