1 /*---------------------------------------------------------------------\
3 | |__ / \ / / . \ . \ |
8 \---------------------------------------------------------------------*/
9 /** \file zmd/backend/dbsource/CachedSourcePackageImpl.h
13 #include "CachedSourcePackageImpl.h"
14 #include "zypp/source/SourceImpl.h"
15 #include "zypp/TranslatedText.h"
16 #include "zypp/base/String.h"
17 #include "zypp/base/Logger.h"
20 using namespace zypp::detail;
22 ///////////////////////////////////////////////////////////////////
24 { /////////////////////////////////////////////////////////////////
26 ///////////////////////////////////////////////////////////////////
28 // CLASS NAME : CachedSourcePackageImpl
30 ///////////////////////////////////////////////////////////////////
34 CachedSourcePackageImpl::CachedSourcePackageImpl (Source_Ref source_r)
36 , _install_only(false)
43 CachedSourcePackageImpl::source() const
48 /** Package summary */
49 TranslatedText CachedSourcePackageImpl::summary() const
54 /** Package description */
55 TranslatedText CachedSourcePackageImpl::description() const
60 PackageGroup CachedSourcePackageImpl::group() const
65 Pathname CachedSourcePackageImpl::location() const
70 ByteCount CachedSourcePackageImpl::size() const
72 return _size_installed;
76 ByteCount CachedSourcePackageImpl::archivesize() const
81 bool CachedSourcePackageImpl::installOnly() const
86 unsigned CachedSourcePackageImpl::sourceMediaNr() const
91 Vendor CachedSourcePackageImpl::vendor() const
96 /////////////////////////////////////////////////////////////////
98 ///////////////////////////////////////////////////////////////////