MediaDISK.h

Go to the documentation of this file.
00001 /*---------------------------------------------------------------------\
00002 |                          ____ _   __ __ ___                          |
00003 |                         |__  / \ / / . \ . \                         |
00004 |                           / / \ V /|  _/  _/                         |
00005 |                          / /__ | | | | | |                           |
00006 |                         /_____||_| |_| |_|                           |
00007 |                                                                      |
00008 \---------------------------------------------------------------------*/
00012 #ifndef ZYPP_MEDIA_MEDIADISK_H
00013 #define ZYPP_MEDIA_MEDIADISK_H
00014 
00015 #include "zypp/media/MediaHandler.h"
00016 
00017 namespace zypp {
00018   namespace media {
00019 
00021     //
00022     //  CLASS NAME : MediaDISK
00027     class MediaDISK : public MediaHandler {
00028 
00029       private:
00030 
00031         unsigned long _mountflags;
00032 
00033         std::string _device;
00034         std::string _filesystem;
00035 
00036       protected:
00037 
00038         MEDIA_HANDLER_API;
00039 
00040       public:
00041 
00042         MediaDISK( const Url &      url_r,
00043                    const Pathname & attach_point_hint_r );
00044 
00045         virtual ~MediaDISK() { try { release(); } catch(...) {} }
00046 
00047         virtual bool isAttached() const;
00048 
00049         bool    verifyIfDiskVolume(const Pathname &name);
00050     };
00051 
00053 
00054   } // namespace media
00055 } // namespace zypp
00056 
00057 #endif // ZYPP_MEDIA_MEDIADISK_H

Generated on Thu Jul 6 00:07:21 2006 for zypp by  doxygen 1.4.6