From: Michael Andres Date: Tue, 9 Sep 2008 11:12:37 +0000 (+0000) Subject: un-deprecate repoManager::knownRepositories X-Git-Tag: BASE-SuSE-Code-11-Branch~446 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=cffda851f6df5b96955eb96e7654ee524ea9060a;p=platform%2Fupstream%2Flibzypp.git un-deprecate repoManager::knownRepositories --- diff --git a/zypp/RepoManager.h b/zypp/RepoManager.h index b841f25..53ca2bb 100644 --- a/zypp/RepoManager.h +++ b/zypp/RepoManager.h @@ -147,10 +147,9 @@ namespace zypp * The known repositories are read from * \ref RepoManagerOptions::knownReposPath passed on the Ctor. * Which defaults to ZYpp global settings. - * \deprecated use iterator instead which read only one time directory * \return found list */ - ZYPP_DEPRECATED std::list knownRepositories() const; + std::list knownRepositories() const; bool repoEmpty() const; RepoSizeType repoSize() const; @@ -524,14 +523,14 @@ namespace zypp /** * Refreshes all enabled services. - * + * * \see refreshService(ServiceInfo) */ void refreshServices(); /** * Refresh specific service. - * + * * \param name service structure * \throws MediaException If there's a problem downloading the repo index file. */ @@ -540,7 +539,7 @@ namespace zypp /** * Modifies service file (rewrites it with new values) and underlying * repositories if needed. - * + * * Modifications of a service can lead to rewrite of all .repo files of * contained repositories. Particularily, disabling a service (changing * ServiceInfo::enabled() from true to false) will disable all contained @@ -592,7 +591,7 @@ namespace zypp * public: * ChangePriority(int prio) : priority(prio) {} * // missing rewrite priority back via RepoManager::modifyRepo - * void doIt( RepoInfo info ) { info.setPriority(priority); } + * void doIt( RepoInfo info ) { info.setPriority(priority); } * } * * //somewhere in code