X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/64b66a46a7fc9e7070ee6a758013a6059fee691e..14341a7ee1ca3dbcdcdbe10ad19b947ce23d972d:/apt-pkg/sourcelist.h 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 VolatileCmdL); + /** @return list of files registered with #AddVolatileFile */ std::vector GetVolatileFiles() const;