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);
223 bool mtab=
true)
const;
308 virtual void attachTo(
bool next =
false) = 0;
339 virtual void releaseFrom(
const std::string & ejectDev =
"" ) = 0;
360 virtual void getFile(
const Pathname & filename )
const = 0;
373 virtual void getFileCopy(
const Pathname & srcFilename,
const Pathname & targetFilename )
const;
391 virtual void getDir(
const Pathname & dirname,
bool recurse_r )
const = 0;
408 virtual void getDirInfo( std::list<std::string> & retlist,
409 const Pathname & dirname,
bool dots =
true )
const = 0;
423 const Pathname & dirname,
bool dots =
true )
const = 0;
446 const Pathname & dirname,
bool dots =
true )
const;
457 const Pathname & dirname,
bool dots =
true )
const;
473 const Pathname & attach_point_r,
474 const Pathname & urlpath_below_attachpoint_r,
475 const bool does_download_r );
540 Pathname
localPath(
const Pathname & pathname )
const;
563 void release(
const std::string & ejectDev =
"" );
586 void provideFileCopy( Pathname srcFilename, Pathname targetFilename)
const;
645 void setDeltafile(
const Pathname &filename = Pathname())
const;
667 void dirInfo( std::list<std::string> & retlist,
668 const Pathname & dirname,
bool dots =
true )
const;
683 const Pathname & dirname,
bool dots =
true )
const;
710 unsigned int & index)
const;
719 #endif // ZYPP_MEDIA_MEDIAHANDLERL_H
Provides API related macros.
std::list< DirEntry > DirContent
Returned by readdir.
std::string getScheme() const
Returns the scheme name of the URL.