Author: mlandres Date: Tue Feb 19 00:27:47 2008 New Revision: 8793 URL: http://svn.opensuse.org/viewcvs/zypp?rev=8793&view=rev Log: - Propagate sat::Solvable methods dealing with locale support to ResObject. Modified: trunk/libzypp/zypp/ResObject.h trunk/libzypp/zypp/ResPool.h Modified: trunk/libzypp/zypp/ResObject.h URL: http://svn.opensuse.org/viewcvs/zypp/trunk/libzypp/zypp/ResObject.h?rev=8793&r1=8792&r2=8793&view=diff ============================================================================== --- trunk/libzypp/zypp/ResObject.h (original) +++ trunk/libzypp/zypp/ResObject.h Tue Feb 19 00:27:47 2008 @@ -47,6 +47,25 @@ typedef TraitsType::constPtrType constPtr; public: + /** \name Locale support. + * \see \ref sat::Solvable + */ + //@{ + /** Whether this \c Solvable claims to support locales. */ + using sat::Solvable::supportsLocales; + /** Whether this \c Solvable supports a specific \ref Locale. */ + using sat::Solvable::supportsLocale; + /** Whether this \c Solvable supports at least one of the specified locales. */ + using sat::Solvable::supportsLocale; + /** Whether this \c Solvable supports at least one requested locale. + * \see \ref Pool::setRequestedLocales + */ + using sat::Solvable::supportsRequestedLocales; + /** Return the supported locales via locales_r. */ + using sat::Solvable::getSupportedLocales; + //@} + + public: /** * \short Short text describing the resolvable. Modified: trunk/libzypp/zypp/ResPool.h URL: http://svn.opensuse.org/viewcvs/zypp/trunk/libzypp/zypp/ResPool.h?rev=8793&r1=8792&r2=8793&view=diff ============================================================================== --- trunk/libzypp/zypp/ResPool.h (original) +++ trunk/libzypp/zypp/ResPool.h Tue Feb 19 00:27:47 2008 @@ -215,6 +215,9 @@ public: /** \name Iterate through all ResObjects which have at least * one Capability with index \a index_r in dependency \a depType_r. + * + * \deprecated If you're looking for providers of a certain capability + * use \ref sat::WhatProvides. That's currently the only index provided. */ //@{ byCapabilityIndex_iterator ZYPP_DEPRECATED byCapabilityIndexBegin( const std::string & index_r, Dep depType_r ) const; -- To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org For additional commands, e-mail: zypp-commit+help@opensuse.org