13 #ifndef ZYPP_MEDIA_MEDIAHANDLERL_H
14 #define ZYPP_MEDIA_MEDIAHANDLERL_H
49 typedef shared_ptr<MediaHandler>
Ptr;
50 typedef shared_ptr<const MediaHandler>
constPtr;
54 static std::string
getRealPath(
const std::string &path);
224 bool mtab=
true)
const;
309 virtual void attachTo(
bool next =
false) = 0;
340 virtual void releaseFrom(
const std::string & ejectDev =
"" ) = 0;
361 virtual void getFile(
const Pathname & filename,
const ByteCount &expectedFileSize_r )
const;
374 virtual void getFileCopy(
const Pathname & srcFilename,
const Pathname & targetFilename,
const ByteCount &expectedFileSize_r )
const;
392 virtual void getDir(
const Pathname & dirname,
bool recurse_r )
const = 0;
409 virtual void getDirInfo( std::list<std::string> & retlist,
410 const Pathname & dirname,
bool dots =
true )
const = 0;
424 const Pathname & dirname,
bool dots =
true )
const = 0;
447 const Pathname & dirname,
bool dots =
true )
const;
458 const Pathname & dirname,
bool dots =
true )
const;
474 const Pathname & attach_point_r,
475 const Pathname & urlpath_below_attachpoint_r,
476 const bool does_download_r );
541 Pathname
localPath(
const Pathname & pathname )
const;
564 void release(
const std::string & ejectDev =
"" );
646 void setDeltafile(
const Pathname &filename = Pathname())
const;
668 void dirInfo( std::list<std::string> & retlist,
669 const Pathname & dirname,
bool dots =
true )
const;
684 const Pathname & dirname,
bool dots =
true )
const;
711 unsigned int & index)
const;
720 #endif // ZYPP_MEDIA_MEDIAHANDLERL_H
Store and operate with byte count.
Provides API related macros.
std::list< DirEntry > DirContent
Returned by readdir.
std::string getScheme() const
Returns the scheme name of the URL.