X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/b53c9cea2902572822bbbece5bac236c1bbf846e..2ff2a12a0967da0bcda4e45146f39826558ffb6c:/methods/rsh.h?ds=inline diff --git a/methods/rsh.h b/methods/rsh.h index e6839711b..35cbee3e0 100644 --- a/methods/rsh.h +++ b/methods/rsh.h @@ -49,14 +49,16 @@ class RSHConn bool Get(const char *Path,FileFd &To,unsigned long long Resume, Hashes &Hash,bool &Missing, unsigned long long Size); - RSHConn(URI Srv); + explicit RSHConn(URI Srv); ~RSHConn(); }; #include +#include "aptmethod.h" -class RSHMethod : public pkgAcqMethod +class RSHMethod : public aptMethod { + std::string const Prog; virtual bool Fetch(FetchItem *Itm) APT_OVERRIDE; virtual bool Configuration(std::string Message) APT_OVERRIDE; @@ -69,7 +71,7 @@ class RSHMethod : public pkgAcqMethod public: - RSHMethod(); + explicit RSHMethod(std::string const &Prog); }; #endif