1 /*---------------------------------------------------------------------\
3 | |__ / \ / / . \ . \ |
8 \---------------------------------------------------------------------*/
9 /** \file zypp/media/MediaISO.h
12 #ifndef ZYPP_MEDIA_MEDIAISO_H
13 #define ZYPP_MEDIA_MEDIAISO_H
15 #include "zypp/media/MediaHandler.h"
16 #include "zypp/media/MediaManager.h"
18 //////////////////////////////////////////////////////////////////////
20 { ////////////////////////////////////////////////////////////////////
22 ////////////////////////////////////////////////////////////////////
24 { //////////////////////////////////////////////////////////////////
27 ///////////////////////////////////////////////////////////////////
29 // CLASS NAME : MediaISO
32 * @short Implementation class for ISO MediaHandler
35 class MediaISO : public MediaHandler
39 MediaAccessId _isosource;
40 std::string _filesystem;
44 virtual void attachTo (bool next = false);
45 virtual void releaseFrom( const std::string & ejectDev = "" );
46 virtual void getFile( const Pathname & filename ) const;
47 virtual void getDir( const Pathname & dirname, bool recurse_r ) const;
48 virtual void getDirInfo( std::list<std::string> & retlist,
49 const Pathname & dirname, bool dots = true ) const;
50 virtual void getDirInfo( filesystem::DirContent & retlist,
51 const Pathname & dirname, bool dots = true ) const;
52 virtual bool getDoesFileExist( const Pathname & filename ) const;
56 MediaISO(const Url &url_r,
57 const Pathname &attach_point_hint_r);
67 //////////////////////////////////////////////////////////////////
69 ////////////////////////////////////////////////////////////////////
71 ////////////////////////////////////////////////////////////////////
73 //////////////////////////////////////////////////////////////////////
75 #endif // ZYPP_MEDIA_MEDIAISO_H
77 // vim: set ts=2 sts=2 sw=2 ai et: