1 /*---------------------------------------------------------------------\
3 | |__ / \ / / . \ . \ |
8 \---------------------------------------------------------------------*/
9 /** \file zypp/Selection.h
12 #ifndef ZYPP_SELECTION_H
13 #define ZYPP_SELECTION_H
15 #include "zypp/ResObject.h"
16 #include "zypp/detail/SelectionImplIf.h"
18 ///////////////////////////////////////////////////////////////////
20 { /////////////////////////////////////////////////////////////////
22 ///////////////////////////////////////////////////////////////////
24 // CLASS NAME : Selection
26 /** Selection interface.
28 class Selection : public ResObject
31 typedef Selection Self;
32 typedef detail::SelectionImplIf Impl;
33 typedef base::intrusive_ptr<Self> Ptr;
34 typedef base::intrusive_ptr<const Self> constPtr;
42 Selection( const std::string & name_r,
43 const Edition & edition_r,
44 const Arch & arch_r );
49 /** Access implementation */
50 virtual Impl & pimpl() = 0;
51 /** Access implementation */
52 virtual const Impl & pimpl() const = 0;
54 ///////////////////////////////////////////////////////////////////
56 /////////////////////////////////////////////////////////////////
58 ///////////////////////////////////////////////////////////////////
59 #endif // ZYPP_SELECTION_H