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;
43 std::string findUnusedLoopDevice();
47 virtual void attachTo (bool next = false);
48 virtual void releaseFrom( const std::string & ejectDev = "" );
49 virtual void getFile( const Pathname & filename ) const;
50 virtual void getDir( const Pathname & dirname, bool recurse_r ) const;
51 virtual void getDirInfo( std::list<std::string> & retlist,
52 const Pathname & dirname, bool dots = true ) const;
53 virtual void getDirInfo( filesystem::DirContent & retlist,
54 const Pathname & dirname, bool dots = true ) const;
55 virtual bool getDoesFileExist( const Pathname & filename ) const;
59 MediaISO(const Url &url_r,
60 const Pathname &attach_point_hint_r);
70 //////////////////////////////////////////////////////////////////
72 ////////////////////////////////////////////////////////////////////
74 ////////////////////////////////////////////////////////////////////
76 //////////////////////////////////////////////////////////////////////
78 #endif // ZYPP_MEDIA_MEDIAISO_H
80 // vim: set ts=2 sts=2 sw=2 ai et: