1
/*---------------------------------------------------------------------\
3
| |__ / \ / / . \ . \ |
8
\---------------------------------------------------------------------*/
9
/** \file zypp/media/MediaPlugin.cc
14
#include "zypp/base/LogTools.h"
15
#include "zypp/base/String.h"
17
#include "zypp/ExternalProgram.h"
19
#include "zypp/media/MediaPlugin.h"
20
#include "zypp/media/MediaManager.h"
24
//////////////////////////////////////////////////////////////////////
26
{ ////////////////////////////////////////////////////////////////////
27
////////////////////////////////////////////////////////////////////
29
{ //////////////////////////////////////////////////////////////////
31
MediaPlugin::MediaPlugin( const Url & url_r, const Pathname & attach_point_hint_r )
32
: MediaHandler( url_r, attach_point_hint_r, /*path below attachpoint*/"/", /*does_download*/false )
34
MIL << "MediaPlugin::MediaPlugin(" << url_r << ", " << attach_point_hint_r << ")" << endl;
36
void MediaPlugin::attachTo( bool next_r )
39
void MediaPlugin::releaseFrom( const std::string & ejectDev_r )
42
void MediaPlugin::getFile( const Pathname & filename_r ) const
45
void MediaPlugin::getDir( const Pathname & dirname_r, bool recurse_r ) const
48
void MediaPlugin::getDirInfo( std::list<std::string> & retlist_r, const Pathname & dirname_r, bool dots_r ) const
51
void MediaPlugin::getDirInfo( filesystem::DirContent & retlist_r, const Pathname & dirname_r, bool dots_r ) const
54
bool MediaPlugin::getDoesFileExist( const Pathname & filename_r ) const
57
//////////////////////////////////////////////////////////////////
59
////////////////////////////////////////////////////////////////////
60
////////////////////////////////////////////////////////////////////
62
//////////////////////////////////////////////////////////////////////