[zypp-commit] r10574 - in /trunk/libzypp/zypp: ResObject.cc ResObject.h
Author: mlandres Date: Mon Jul 14 14:23:57 2008 New Revision: 10574 URL: http://svn.opensuse.org/viewcvs/zypp?rev=10574&view=rev Log: installsize -> installSize to follow naming convention Modified: trunk/libzypp/zypp/ResObject.cc trunk/libzypp/zypp/ResObject.h Modified: trunk/libzypp/zypp/ResObject.cc URL: http://svn.opensuse.org/viewcvs/zypp/trunk/libzypp/zypp/ResObject.cc?rev=10574&r1=10573&r2=10574&view=diff ============================================================================== --- trunk/libzypp/zypp/ResObject.cc (original) +++ trunk/libzypp/zypp/ResObject.cc Mon Jul 14 14:23:57 2008 @@ -74,7 +74,7 @@ std::string ResObject::licenseToConfirm( const Locale & lang_r ) const { return lookupStrAttribute( sat::SolvAttr::eula, lang_r ); } - ByteCount ResObject::installsize() const + ByteCount ResObject::installSize() const { return ByteCount( lookupNumAttribute( sat::SolvAttr::installsize ), ByteCount::K ); } ByteCount ResObject::downloadSize() const Modified: trunk/libzypp/zypp/ResObject.h URL: http://svn.opensuse.org/viewcvs/zypp/trunk/libzypp/zypp/ResObject.h?rev=10574&r1=10573&r2=10574&view=diff ============================================================================== --- trunk/libzypp/zypp/ResObject.h (original) +++ trunk/libzypp/zypp/ResObject.h Mon Jul 14 14:23:57 2008 @@ -110,10 +110,11 @@ { return Resolvable::vendor().asString(); } /** Installed size. */ - ByteCount installsize() const; - /** \deprecated Use installsize which is more precise. */ - ZYPP_DEPRECATED ByteCount size() const - { return installsize(); } + ByteCount installSize() const; + /** \deprecated Use installSize which is more precise.*/ + ZYPP_DEPRECATED ByteCount installsize() const { return installSize(); } + /** \deprecated Use installSize which is more precise. */ + ZYPP_DEPRECATED ByteCount size() const { return installSize(); } /** Size of the rpm package. */ ByteCount downloadSize() const; -- To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org For additional commands, e-mail: zypp-commit+help@opensuse.org
participants (1)
-
mlandres@svn.opensuse.org