1 /*---------------------------------------------------------------------\
3 | |__ / \ / / . \ . \ |
8 \---------------------------------------------------------------------*/
9 /** \file zypp/detail/SrcPackageImplIf.h
12 #ifndef ZYPP_DETAIL_SRCPACKAGEIMPLIF_H
13 #define ZYPP_DETAIL_SRCPACKAGEIMPLIF_H
17 #include "zypp/detail/ResObjectImplIf.h"
18 #include "zypp/Pathname.h"
19 #include "zypp/DiskUsage.h"
21 ///////////////////////////////////////////////////////////////////
23 { /////////////////////////////////////////////////////////////////
27 ///////////////////////////////////////////////////////////////////
29 { /////////////////////////////////////////////////////////////////
31 ///////////////////////////////////////////////////////////////////
33 // CLASS NAME : SrcPackageImplIf
35 /** Abstract SrcPackage implementation interface.
37 class SrcPackageImplIf : public ResObjectImplIf
40 typedef SrcPackage ResType;
43 /** Overloaded ResObjectImpl attribute.
44 * \return The \ref location media number.
46 virtual unsigned mediaNr() const;
48 /** Overloaded ResObjectImpl attribute.
49 * \return The \ref location downloadSize.
51 virtual ByteCount downloadSize() const;
55 virtual OnMediaLocation location() const PURE_VIRTUAL;
57 ///////////////////////////////////////////////////////////////////
59 /////////////////////////////////////////////////////////////////
61 ///////////////////////////////////////////////////////////////////
62 /////////////////////////////////////////////////////////////////
64 ///////////////////////////////////////////////////////////////////
65 #endif // ZYPP_DETAIL_SRCPACKAGEIMPLIF_H