00001 /*---------------------------------------------------------------------\ 00002 | | 00003 | __ __ ____ _____ ____ | 00004 | \ \ / /_ _/ ___|_ _|___ \ | 00005 | \ V / _` \___ \ | | __) | | 00006 | | | (_| |___) || | / __/ | 00007 | |_|\__,_|____/ |_| |_____| | 00008 | | 00009 | core system | 00010 | (C) SuSE GmbH | 00011 \----------------------------------------------------------------------/ 00012 00013 File: MediaSMB.h 00014 00015 Author: Klaus Kaempf <kkaempf@suse.de> 00016 Maintainer: Klaus Kaempf <kkaempf@suse.de> 00017 00018 Purpose: Implementation class for SMB MediaHandler 00019 00020 /-*/ 00021 #ifndef MediaSMB_h 00022 #define MediaSMB_h 00023 00024 #include <y2pm/MediaHandler.h> 00025 00027 // 00028 // CLASS NAME : MediaSMB 00037 class MediaSMB : public MediaHandler { 00038 00039 private: 00040 00045 const char* _vfstype; 00046 00047 protected: 00048 00049 MEDIA_HANDLER_API; 00050 00055 void mountAsCIFS() { _vfstype = "cifs"; } 00056 00057 public: 00058 00059 MediaSMB( const Url& url_r, 00060 const Pathname & attach_point_hint_r ); 00061 00062 virtual ~MediaSMB() { release(); } 00063 }; 00064 00066 00067 #endif // MediaSMB_h
1.4.4