1 /*---------------------------------------------------------------------\
3 | |__ / \ / / . \ . \ |
8 \---------------------------------------------------------------------*/
9 /** \file zypp/detail/PackageImplIf.cc
12 #include "zypp/detail/PackageImplIf.h"
17 ///////////////////////////////////////////////////////////////////
19 { /////////////////////////////////////////////////////////////////
20 ///////////////////////////////////////////////////////////////////
22 { /////////////////////////////////////////////////////////////////
24 /////////////////////////////////////////////////////////////////
25 // Default implementation of PackageImplIf attributes,
26 // as far as resonable.
27 /////////////////////////////////////////////////////////////////
29 Date PackageImplIf::buildtime() const
32 std::string PackageImplIf::buildhost() const
33 { return std::string(); }
35 Date PackageImplIf::installtime() const
38 std::string PackageImplIf::distribution() const
39 { return std::string(); }
41 Vendor PackageImplIf::vendor() const
44 Label PackageImplIf::license() const
47 std::string PackageImplIf::packager() const
48 { return std::string(); }
50 PackageGroup PackageImplIf::group() const
51 { return PackageGroup(); }
53 Changelog PackageImplIf::changelog() const
54 { return Changelog(); }
56 Pathname PackageImplIf::location() const
57 { return Pathname(); }
59 std::string PackageImplIf::url() const
60 { return std::string(); }
62 std::string PackageImplIf::os() const
63 { return std::string(); }
65 Text PackageImplIf::prein() const
68 Text PackageImplIf::postin() const
71 Text PackageImplIf::preun() const
74 Text PackageImplIf::postun() const
77 ByteCount PackageImplIf::sourcesize() const
78 { return ByteCount(); }
80 ByteCount PackageImplIf::archivesize() const
81 { return ByteCount(); }
83 std::list<std::string> PackageImplIf::authors() const
84 { return std::list<std::string>(); }
86 std::list<std::string> PackageImplIf::filenames() const
87 { return std::list<std::string>(); }
89 License PackageImplIf::licenseToConfirm() const
92 std::list<DeltaRpm> PackageImplIf::deltaRpms() const
93 { return std::list<DeltaRpm>(); }
95 std::list<PatchRpm> PackageImplIf::patchRpms() const
96 { return std::list<PatchRpm>(); }
98 bool PackageImplIf::installOnly() const
101 unsigned PackageImplIf::mediaId() const
102 #warning FIXME: What's the first media? 1 or 0?
105 /////////////////////////////////////////////////////////////////
106 } // namespace detail
107 ///////////////////////////////////////////////////////////////////
108 /////////////////////////////////////////////////////////////////
110 ///////////////////////////////////////////////////////////////////