summaryrefslogtreecommitdiff
path: root/apt-pkg/deb/debmetaindex.h
diff options
context:
space:
mode:
authorMichael Vogt <mvo@debian.org>2013-12-05 07:53:53 +0100
committerMichael Vogt <mvo@debian.org>2013-12-05 07:53:53 +0100
commitd958636fdf39d8b1f08239f9981c8b6520bde7a6 (patch)
tree34fb658423e811a81acb3b2ba4c9093e88d1715c /apt-pkg/deb/debmetaindex.h
parent86e3c55052737d57f9d0123f8aaacd044774c698 (diff)
add new LocalFileName() method to metaindex
Diffstat (limited to 'apt-pkg/deb/debmetaindex.h')
-rw-r--r--apt-pkg/deb/debmetaindex.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/apt-pkg/deb/debmetaindex.h b/apt-pkg/deb/debmetaindex.h
index fc0b7f948..9f488898d 100644
--- a/apt-pkg/deb/debmetaindex.h
+++ b/apt-pkg/deb/debmetaindex.h
@@ -45,6 +45,12 @@ class debReleaseIndex : public metaIndex {
std::string MetaIndexInfo(const char *Type) const;
std::string MetaIndexFile(const char *Types) const;
std::string MetaIndexURI(const char *Type) const;
+#else
+ virtual std::string MetaIndexInfo(const char *Type) const;
+ virtual std::string MetaIndexFile(const char *Types) const;
+ virtual std::string MetaIndexURI(const char *Type) const;
+
+ virtual std::string LocalFileName() const;
#endif
std::string IndexURI(const char *Type, std::string const &Section, std::string const &Arch="native") const;