//
///////////////////////////////////////////////////////////////////
+ ByteCount SrcPackage::archivesize() const
+ { return pimpl().archivesize(); }
+
+ DiskUsage SrcPackage::diskusage() const
+ { return pimpl().diskusage(); }
+
unsigned SrcPackage::mediaId() const
{ return pimpl().mediaId(); }
typedef TraitsType::constPtrType constPtr;
public:
+ /** */
+ ByteCount archivesize() const;
+ /** Disk usage per directory */
+ DiskUsage diskusage() const;
/** ID of the media */
unsigned mediaId() const;
/** location in source */
// as far as resonable.
/////////////////////////////////////////////////////////////////
+ ByteCount SrcPackageImplIf::archivesize() const
+ { return ByteCount(); }
+
+ DiskUsage SrcPackageImplIf::diskusage() const
+ { return DiskUsage(); }
+
Pathname SrcPackageImplIf::location() const
{ return Pathname(); }
#include "zypp/detail/ResObjectImplIf.h"
#include "zypp/Pathname.h"
+#include "zypp/DiskUsage.h"
///////////////////////////////////////////////////////////////////
namespace zypp
public:
/** */
+ virtual ByteCount archivesize() const PURE_VIRTUAL;
+ /** */
+ virtual DiskUsage diskusage() const PURE_VIRTUAL;
+ /** */
virtual Pathname location() const PURE_VIRTUAL;
/** */
virtual unsigned mediaId() const PURE_VIRTUAL;