installsize -> installSize to follow naming convention
authorMichael Andres <ma@suse.de>
Mon, 14 Jul 2008 12:23:57 +0000 (12:23 +0000)
committerMichael Andres <ma@suse.de>
Mon, 14 Jul 2008 12:23:57 +0000 (12:23 +0000)
zypp/ResObject.cc
zypp/ResObject.h

index c268d66..0b123c0 100644 (file)
@@ -74,7 +74,7 @@ namespace zypp
   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
index df37610..644cd7e 100644 (file)
@@ -110,10 +110,11 @@ namespace zypp
     { 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;