]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/sourcelist.h
support .deb files in upgrade operations as well
[apt.git] / apt-pkg / sourcelist.h
index 47a562d1825ad619ca83ae829628468106a716ff..9c2d10a4651c015c9f709a03de50346c633fbbc0 100644 (file)
@@ -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;