X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/d4af2342fbc6833e519e85a521a8a85adb4fecb3..8d3489abd90a64715b92976a7c60b42a386a4c5c:/apt-pkg/sourcelist.h?ds=sidebyside diff --git a/apt-pkg/sourcelist.h b/apt-pkg/sourcelist.h index 123ae6984..e15314a5e 100644 --- a/apt-pkg/sourcelist.h +++ b/apt-pkg/sourcelist.h @@ -29,15 +29,13 @@ #include #include +#include #include #include using std::string; using std::vector; -#ifdef __GNUG__ -#pragma interface "apt-pkg/sourcelist.h" -#endif class pkgAquire; class pkgSourceList @@ -60,9 +58,10 @@ class pkgSourceList bool FixupURI(string &URI) const; virtual bool ParseLine(vector &List, const char *Buffer, - unsigned long CurLine,string File) const; - virtual bool CreateItem(vector &List,string URI, - string Dist,string Section) const = 0; + unsigned long const &CurLine,string const &File) const; + virtual bool CreateItem(vector &List,string const &URI, + string const &Dist,string const &Section, + std::map const &Options) const = 0; Type(); virtual ~Type() {}; };