diff options
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; |