13 #ifndef ZYPP_MEDIA_MEDIAHANDLERL_H 14 #define ZYPP_MEDIA_MEDIAHANDLERL_H 28 #include <zypp/APIConfig.h> 50 typedef shared_ptr<MediaHandler>
Ptr;
51 typedef shared_ptr<const MediaHandler>
constPtr;
55 static std::string
getRealPath(
const std::string &path);
225 bool mtab=
true)
const;
310 virtual void attachTo(
bool next =
false) = 0;
341 virtual void releaseFrom(
const std::string & ejectDev =
"" ) = 0;
375 virtual void getFiles(
const std::vector< std::pair<Pathname, ByteCount> > &files )
const;
406 virtual void getDir(
const Pathname & dirname,
bool recurse_r )
const = 0;
423 virtual void getDirInfo( std::list<std::string> & retlist,
424 const Pathname & dirname,
bool dots =
true )
const = 0;
438 const Pathname & dirname,
bool dots =
true )
const = 0;
461 const Pathname & dirname,
bool dots =
true )
const;
472 const Pathname & dirname,
bool dots =
true )
const;
489 const Pathname & urlpath_below_attachpoint_r,
490 const bool does_download_r );
578 void release(
const std::string & ejectDev =
"" );
682 void dirInfo( std::list<std::string> & retlist,
683 const Pathname & dirname,
bool dots =
true )
const;
698 const Pathname & dirname,
bool dots =
true )
const;
725 unsigned int & index)
const;
738 precacheFiles (
const std::vector< OnMediaLocation > &files );
747 #endif // ZYPP_MEDIA_MEDIAHANDLERL_H std::string getScheme() const
Returns the scheme name of the URL.
Store and operate with byte count.
String related utilities and Regular expression matching.
std::list< DirEntry > DirContent
Returned by readdir.
Easy-to use interface to the ZYPP dependency resolver.