13 #ifndef ZYPP_MEDIA_MEDIAHANDLERL_H 14 #define ZYPP_MEDIA_MEDIAHANDLERL_H 20 #include <zypp/Pathname.h> 21 #include <zypp/PathInfo.h> 22 #include <zypp/base/PtrTypes.h> 27 #include <zypp-media/MediaException> 29 #include <zypp-core/OnMediaLocation> 31 #undef ZYPP_BASE_LOGGER_LOGGROUP 32 #define ZYPP_BASE_LOGGER_LOGGROUP "zypp::media" 55 typedef shared_ptr<MediaHandler>
Ptr;
56 typedef shared_ptr<const MediaHandler>
constPtr;
60 static std::string
getRealPath(
const std::string &path);
220 bool mtab=
true)
const;
305 virtual void attachTo(
bool next =
false) = 0;
336 virtual void releaseFrom(
const std::string & ejectDev =
"" ) = 0;
388 virtual void getDir(
const Pathname & dirname,
bool recurse_r )
const = 0;
405 virtual void getDirInfo( std::list<std::string> & retlist,
406 const Pathname & dirname,
bool dots =
true )
const = 0;
420 const Pathname & dirname,
bool dots =
true )
const = 0;
443 const Pathname & dirname,
bool dots =
true )
const;
454 const Pathname & dirname,
bool dots =
true )
const;
471 const Pathname & urlpath_below_attachpoint_r,
472 const bool does_download_r );
560 void release(
const std::string & ejectDev =
"" );
654 void dirInfo( std::list<std::string> & retlist,
655 const Pathname & dirname,
bool dots =
true )
const;
670 const Pathname & dirname,
bool dots =
true )
const;
697 unsigned int & index)
const;
710 precacheFiles (
const std::vector< OnMediaLocation > &files );
719 #endif // ZYPP_MEDIA_MEDIAHANDLERL_H std::string getScheme() const
Returns the scheme name of the URL.
String related utilities and Regular expression matching.
Provides API related macros.
std::list< DirEntry > DirContent
Returned by readdir.
constexpr std::string_view device("device")
Easy-to use interface to the ZYPP dependency resolver.