13#ifndef ZYPP_MEDIA_MEDIAHANDLERL_H
14#define ZYPP_MEDIA_MEDIAHANDLERL_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 using Ptr = shared_ptr<MediaHandler>;
56 using constPtr = shared_ptr<const MediaHandler>;
60 static std::string
getRealPath(
const std::string &path);
220 bool mtab=
true)
const;
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 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 );
std::string getScheme() const
Returns the scheme name of the URL.
String related utilities and Regular expression matching.
std::list< DirEntry > DirContent
Returned by readdir.
Easy-to use interface to the ZYPP dependency resolver.
Provides API related macros.