diff options
author | David Kalnischkies <david@kalnischkies.de> | 2015-10-12 15:57:53 +0200 |
---|---|---|
committer | David Kalnischkies <david@kalnischkies.de> | 2015-11-04 18:04:01 +0100 |
commit | 14341a7ee1ca3dbcdcdbe10ad19b947ce23d972d (patch) | |
tree | ff8d00ce2347061a0ca8f28fc6ff55173c125abc /apt-pkg/sourcelist.h | |
parent | 64b66a46a7fc9e7070ee6a758013a6059fee691e (diff) |
support .deb files in upgrade operations as well
The main part is refactoring through to allow hiding the magic needed to
support .deb files in deeper layers of libapt so that frontends have
less exposure to Debian specific classes like debDebPkgFileIndex.
Diffstat (limited to 'apt-pkg/sourcelist.h')
-rw-r--r-- | apt-pkg/sourcelist.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apt-pkg/sourcelist.h b/apt-pkg/sourcelist.h index 47a562d18..9c2d10a46 100644 --- a/apt-pkg/sourcelist.h +++ b/apt-pkg/sourcelist.h @@ -46,6 +46,7 @@ class pkgTagSection; class pkgAcquire; class pkgIndexFile; class metaIndex; +class CommandLine; class pkgSourceList { @@ -129,6 +130,9 @@ class pkgSourceList * @param File is an index file; pointer-ownership is transferred */ void AddVolatileFile(pkgIndexFile * const File); + bool AddVolatileFile(std::string const &File); + void AddVolatileFiles(CommandLine &CmdL, std::vector<const char*> * const VolatileCmdL); + /** @return list of files registered with #AddVolatileFile */ std::vector<pkgIndexFile*> GetVolatileFiles() const; |