1 /*---------------------------------------------------------------------\
3 | |__ / \ / / . \ . \ |
8 \---------------------------------------------------------------------*/
9 /** \file zypp/Package.h
12 #ifndef ZYPP_PACKAGE_H
13 #define ZYPP_PACKAGE_H
17 #include "zypp/base/ReferenceCounted.h"
18 #include "zypp/base/NonCopyable.h"
20 #include "zypp/Resolvable.h"
22 ///////////////////////////////////////////////////////////////////
24 { /////////////////////////////////////////////////////////////////
25 ///////////////////////////////////////////////////////////////////
27 { /////////////////////////////////////////////////////////////////
28 DEFINE_PTR_TYPE(PackageImpl)
29 /////////////////////////////////////////////////////////////////
31 ///////////////////////////////////////////////////////////////////
32 DEFINE_PTR_TYPE(Package)
34 ///////////////////////////////////////////////////////////////////
36 // CLASS NAME : Package
39 class Package : public Resolvable
43 Package( detail::PackageImplPtr impl_r );
50 std::string summary() const;
52 std::list<std::string> description() const;
55 /** Pointer to implementation */
56 detail::PackageImplPtr _pimpl;
58 ///////////////////////////////////////////////////////////////////
60 /////////////////////////////////////////////////////////////////
62 ///////////////////////////////////////////////////////////////////
63 #endif // ZYPP_PACKAGE_H