remove deprecated media methods
authorMichael Andres <ma@suse.de>
Fri, 10 May 2013 10:48:39 +0000 (12:48 +0200)
committerMichael Andres <ma@suse.de>
Fri, 10 May 2013 10:48:39 +0000 (12:48 +0200)
zypp/media/MediaAccess.h
zypp/media/MediaManager.h

index 1a43af9..4555b4a 100644 (file)
@@ -105,16 +105,6 @@ namespace zypp {
         */
        bool        downloads() const;
 
-       /** \deprecated Use \ref Url::schemeIsDownloading */
-       static
-       ZYPP_DEPRECATED bool downloads(const Url &url)
-        { return url.schemeIsDownloading(); }
-
-       /** \deprecated Use \ref Url::schemeIsVolatile */
-       static
-       ZYPP_DEPRECATED bool canBeVolatile(const Url &url)
-        { return url.schemeIsVolatile(); }
-
        /**
         * Used Protocol if media is opened, otherwise 'unknown'.
         **/
index 2490983..69f4421 100644 (file)
@@ -547,11 +547,6 @@ namespace zypp
       bool
       downloads(MediaAccessId accessId) const;
 
-     /** \deprecated Use \ref Url::schemeIsDownloading */
-      static
-      ZYPP_DEPRECATED bool downloads(const Url &url)
-      { return url.schemeIsDownloading(); }
-
       /**
        * Returns the \ref MediaAccessUrl of the media access id.
        *
@@ -613,10 +608,6 @@ namespace zypp
       void
       attach(MediaAccessId accessId);
 
-      /** \deprecated Simply use \ref attach. */
-      ZYPP_DEPRECATED void attachDesiredMedia(MediaAccessId accessId)
-      { attach( accessId ); }
-
       /**
        * Release the attached media and optionally eject.
        *