Imported Upstream version 17.14.0
[platform/upstream/libzypp.git] / zypp / media / MediaPlugin.h
index 2b68ace..53b36d8 100644 (file)
@@ -31,16 +31,16 @@ namespace zypp
       public:
        MediaPlugin( const Url & url_r, const Pathname & attach_point_hint_r );
 
-        virtual ~MediaPlugin() { try { release(); } catch(...) {} }
+        virtual ~MediaPlugin() override { try { release(); } catch(...) {} }
 
       protected:
-       virtual void attachTo( bool next_r = false );
-       virtual void releaseFrom( const std::string & ejectDev_r );
-       virtual void getFile( const Pathname & filename_r ) const;
-       virtual void getDir( const Pathname & dirname_r, bool recurse_r ) const;
-       virtual void getDirInfo( std::list<std::string> & retlist_r, const Pathname & dirname_r, bool dots_r = true ) const;
-       virtual void getDirInfo( filesystem::DirContent & retlist_r, const Pathname & dirname_r, bool dots_r = true ) const;
-       virtual bool getDoesFileExist( const Pathname & filename_r ) const;
+       virtual void attachTo( bool next_r = false ) override;
+       virtual void releaseFrom( const std::string & ejectDev_r ) override;
+       virtual void getFile( const Pathname & filename_r, const ByteCount &expectedFileSize_r ) const override;
+       virtual void getDir( const Pathname & dirname_r, bool recurse_r ) const override;
+       virtual void getDirInfo( std::list<std::string> & retlist_r, const Pathname & dirname_r, bool dots_r = true ) const override;
+       virtual void getDirInfo( filesystem::DirContent & retlist_r, const Pathname & dirname_r, bool dots_r = true ) const override;
+       virtual bool getDoesFileExist( const Pathname & filename_r ) const override;
     };
 
     //////////////////////////////////////////////////////////////////