X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/c5e5f07eb8b18c5c6192fcb206dc09b1fc9315e7..24d7b6267ef3e475a153d4e2c4bcb30e1d14e671:/apt-pkg/sourcelist.h?ds=inline 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() {}; };