From 323f082525d58cd78e1ca883a0e80638b292798e Mon Sep 17 00:00:00 2001 From: Michael Andres Date: Fri, 11 Sep 2009 10:18:56 +0200 Subject: [PATCH] Deprecate MediaAccess::downloads (accidentally deleted) --- zypp/media/MediaAccess.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/zypp/media/MediaAccess.h b/zypp/media/MediaAccess.h index 76e078b..2befca3 100644 --- a/zypp/media/MediaAccess.h +++ b/zypp/media/MediaAccess.h @@ -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) -- 2.7.4