13#ifndef ZYPP_MEDIA_MEDIAHANDLERL_H
14#define ZYPP_MEDIA_MEDIAHANDLERL_H
26#include <zypp-media/MediaException>
28#include <zypp-core/OnMediaLocation>
31#undef ZYPP_BASE_LOGGER_LOGGROUP
32#define ZYPP_BASE_LOGGER_LOGGROUP "zypp::media"
58 static std::string
getRealPath(
const std::string &path);
219 bool mtab=
true)
const;
335 virtual void releaseFrom(
const std::string & ejectDev =
"" ) = 0;
387 virtual void getDir(
const Pathname & dirname,
bool recurse_r )
const = 0;
404 virtual void getDirInfo( std::list<std::string> & retlist,
405 const Pathname & dirname,
bool dots =
true )
const = 0;
419 const Pathname & dirname,
bool dots =
true )
const = 0;
442 const Pathname & dirname,
bool dots =
true )
const;
453 const Pathname & dirname,
bool dots =
true )
const;
470 Pathname urlpath_below_attachpoint_r,
471 const bool does_download_r );
564 void release(
const std::string & ejectDev =
"" );
658 void dirInfo( std::list<std::string> & retlist,
659 const Pathname & dirname,
bool dots =
true )
const;
674 const Pathname & dirname,
bool dots =
true )
const;
701 unsigned int & index)
const;
714 precacheFiles (
const std::vector< OnMediaLocation > &files );
Manages a data source characterized by an authoritative URL and a list of mirror URLs.
Represents a single, configurable network endpoint, combining a URL with specific access settings.
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.