X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/b53c9cea2902572822bbbece5bac236c1bbf846e..c5f22e483cc0f31f2938874370ac776e40792069:/methods/ftp.h diff --git a/methods/ftp.h b/methods/ftp.h index 2c4e9f57a..6a12475a0 100644 --- a/methods/ftp.h +++ b/methods/ftp.h @@ -10,8 +10,8 @@ #ifndef APT_FTP_H #define APT_FTP_H -#include #include +#include "aptmethod.h" #include #include @@ -67,11 +67,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;