libzypp  10.5.0
MediaPlugin.cc
Go to the documentation of this file.
00001 /*---------------------------------------------------------------------\
00002 |                          ____ _   __ __ ___                          |
00003 |                         |__  / \ / / . \ . \                         |
00004 |                           / / \ V /|  _/  _/                         |
00005 |                          / /__ | | | | | |                           |
00006 |                         /_____||_| |_| |_|                           |
00007 |                                                                      |
00008 \---------------------------------------------------------------------*/
00012 #include <iostream>
00013 
00014 #include "zypp/base/LogTools.h"
00015 #include "zypp/base/String.h"
00016 
00017 #include "zypp/ExternalProgram.h"
00018 
00019 #include "zypp/media/MediaPlugin.h"
00020 #include "zypp/media/MediaManager.h"
00021 
00022 using std::endl;
00023 
00025 namespace zypp
00026 { 
00027 
00028   namespace media
00029   { 
00030 
00031     MediaPlugin::MediaPlugin( const Url & url_r, const Pathname & attach_point_hint_r )
00032       : MediaHandler( url_r, attach_point_hint_r, /*path below attachpoint*/"/", /*does_download*/false )
00033     {
00034       MIL << "MediaPlugin::MediaPlugin(" << url_r << ", " << attach_point_hint_r << ")" << endl;
00035     }
00036     void MediaPlugin::attachTo( bool next_r )
00037     {}
00038 
00039     void MediaPlugin::releaseFrom( const std::string & ejectDev_r )
00040     {}
00041 
00042     void MediaPlugin::getFile( const Pathname & filename_r ) const
00043     {}
00044 
00045     void MediaPlugin::getDir( const Pathname & dirname_r, bool recurse_r ) const
00046     {}
00047 
00048     void MediaPlugin::getDirInfo( std::list<std::string> & retlist_r, const Pathname & dirname_r, bool dots_r ) const
00049     {}
00050 
00051     void MediaPlugin::getDirInfo( filesystem::DirContent & retlist_r, const Pathname & dirname_r, bool dots_r ) const
00052     {}
00053 
00054     bool MediaPlugin::getDoesFileExist( const Pathname & filename_r ) const
00055     { return false; }
00056 
00058   } // namespace media
00061 } // namespace zypp