X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=zypp%2Fmedia%2FMediaCD.h;h=43209883f39cc026fa057eb23d1b23bb16045834;hb=f28b094010da6ff27e02f330c72bc2781e99521a;hp=03cee503826d045c372c82d15ec79c7b656480dd;hpb=4960f0a558c8a7de86f690cc2119bb23c715168e;p=platform%2Fupstream%2Flibzypp.git diff --git a/zypp/media/MediaCD.h b/zypp/media/MediaCD.h index 03cee50..4320988 100644 --- a/zypp/media/MediaCD.h +++ b/zypp/media/MediaCD.h @@ -43,32 +43,32 @@ namespace zypp { protected: - virtual void attachTo (bool next = false); - virtual void releaseFrom( const std::string & ejectDev ); + virtual void attachTo (bool next = false) override; + virtual void releaseFrom( const std::string & ejectDev ) override; virtual void getFile(const Pathname & filename, const ByteCount &expectedFileSize_r ) const override; - virtual void getDir( const Pathname & dirname, bool recurse_r ) const; + virtual void getDir( const Pathname & dirname, bool recurse_r ) const override; virtual void getDirInfo( std::list & retlist, - const Pathname & dirname, bool dots = true ) const; + const Pathname & dirname, bool dots = true ) const override; virtual void getDirInfo( filesystem::DirContent & retlist, - const Pathname & dirname, bool dots = true ) const; - virtual bool getDoesFileExist( const Pathname & filename ) const; + const Pathname & dirname, bool dots = true ) const override; + virtual bool getDoesFileExist( const Pathname & filename ) const override; - virtual void forceEject(const std::string & ejectDev); + virtual void forceEject(const std::string & ejectDev) override; - virtual bool hasMoreDevices(); + virtual bool hasMoreDevices() override; virtual void getDetectedDevices(std::vector & devices, - unsigned int & index) const; + unsigned int & index) const override; public: MediaCD( const Url & url_r, const Pathname & attach_point_hint_r ); - virtual ~MediaCD() { try { release(); } catch(...) {} } + virtual ~MediaCD() override { try { release(); } catch(...) {} } - virtual bool isAttached() const; + virtual bool isAttached() const override; }; ///////////////////////////////////////////////////////////////////