1 /*---------------------------------------------------------------------\
3 | |__ / \ / / . \ . \ |
8 \---------------------------------------------------------------------*/
9 /** \file zypp/detail/ResolvableImpl.h
12 #ifndef ZYPP_DETAIL_RESOLVABLEIMPL_H
13 #define ZYPP_DETAIL_RESOLVABLEIMPL_H
15 #include "zypp/Resolvable.h"
17 ///////////////////////////////////////////////////////////////////
19 { /////////////////////////////////////////////////////////////////
21 ///////////////////////////////////////////////////////////////////
23 // CLASS NAME : Resolvable::Impl
25 /** Implementation of Resovable
26 * \todo Assert \c deps provide 'name=edition'.
28 struct Resolvable::Impl
31 Impl( const Kind & kind_r,
32 const std::string & name_r,
33 const Edition & edition_r,
37 , _edition( edition_r )
43 const Kind & kind() const
47 const std::string & name() const
51 const Edition & edition() const
54 const Arch & arch() const
58 const Dependencies & deps() const
62 * \todo Check whether we can allow changes after final construction
64 void setDeps( const Dependencies & val_r )
81 ///////////////////////////////////////////////////////////////////
83 /////////////////////////////////////////////////////////////////
85 ///////////////////////////////////////////////////////////////////
86 #endif // ZYPP_DETAIL_RESOLVABLEIMPL_H