12 #ifndef ZYPP_MEDIA_MEDIACURL_H
13 #define ZYPP_MEDIA_MEDIACURL_H
20 #include <curl/curl.h>
54 virtual void attachTo (
bool next =
false);
55 virtual void releaseFrom(
const std::string & ejectDev );
56 virtual void getFile(
const Pathname & filename )
const;
57 virtual void getDir(
const Pathname & dirname,
bool recurse_r )
const;
58 virtual void getDirInfo( std::list<std::string> & retlist,
59 const Pathname & dirname,
bool dots =
true )
const;
61 const Pathname & dirname,
bool dots =
true )
const;
85 virtual void getFileCopy(
const Pathname & srcFilename,
const Pathname & targetFilename)
const;
100 const Pathname & attach_point_hint_r );
112 virtual bool progress(
int percent ) = 0;
118 double ultotal,
double ulnow );
160 bool authenticate(
const std::string & availAuthTypes,
bool firstTry)
const;
183 #endif // ZYPP_MEDIA_MEDIACURL_H
std::list< DirEntry > DirContent
Returned by readdir.