Deprecate MediaAccess::downloads (accidentally deleted)
authorMichael Andres <ma@suse.de>
Fri, 11 Sep 2009 08:18:56 +0000 (10:18 +0200)
committerMichael Andres <ma@suse.de>
Fri, 11 Sep 2009 08:18:56 +0000 (10:18 +0200)
zypp/media/MediaAccess.h

index 76e078b..2befca3 100644 (file)
@@ -105,6 +105,11 @@ namespace zypp {
         */
        bool        downloads() const;
 
+       /** \deprecated Use \ref Url::downloads */
+       static
+       ZYPP_DEPRECATED bool downloads(const Url &url)
+        { return url.schemeIsDownloading(); }
+
        /** \deprecated Use \ref Url::schemeIsVolatile */
        static
        ZYPP_DEPRECATED bool canBeVolatile(const Url &url)