projects
/
platform
/
upstream
/
libzypp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b452271
)
Deprecate MediaAccess::downloads (accidentally deleted)
author
Michael Andres
<ma@suse.de>
Fri, 11 Sep 2009 08:18:56 +0000
(10:18 +0200)
committer
Michael Andres
<ma@suse.de>
Fri, 11 Sep 2009 08:18:56 +0000
(10:18 +0200)
zypp/media/MediaAccess.h
patch
|
blob
|
history
diff --git
a/zypp/media/MediaAccess.h
b/zypp/media/MediaAccess.h
index
76e078b
..
2befca3
100644
(file)
--- 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)