X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/b53c9cea2902572822bbbece5bac236c1bbf846e..e551e1237da3cbba71f08f17dc57b07832b8d9ac:/methods/ftp.h diff --git a/methods/ftp.h b/methods/ftp.h index 2c4e9f57a..de2c232bd 100644 --- a/methods/ftp.h +++ b/methods/ftp.h @@ -12,6 +12,7 @@ #include #include +#include "aptmethod.h" #include #include @@ -67,11 +68,11 @@ class FTPConn Hashes &MD5,bool &Missing, unsigned long long MaximumSize, pkgAcqMethod *Owner); - FTPConn(URI Srv); + explicit FTPConn(URI Srv); ~FTPConn(); }; -class FtpMethod : public pkgAcqMethod +class FtpMethod : public aptMethod { virtual bool Fetch(FetchItem *Itm) APT_OVERRIDE; virtual bool Configuration(std::string Message) APT_OVERRIDE;