fix testcases path with repository -> repo
[platform/upstream/libzypp.git] / zypp2 / repo / memory / PatternImpl.h
1 /*---------------------------------------------------------------------\
2 |                          ____ _   __ __ ___                          |
3 |                         |__  / \ / / . \ . \                         |
4 |                           / / \ V /|  _/  _/                         |
5 |                          / /__ | | | | | |                           |
6 |                         /_____||_| |_| |_|                           |
7 |                                                                      |
8 \---------------------------------------------------------------------*/
9 /** \file       zypp2/repository/memory/PatternImpl.h
10  *
11 */
12 #ifndef ZYPP_DETAIL_MEMORY_PATTERNIMPL_H
13 #define ZYPP_DETAIL_MEMORY_PATTERNIMPL_H
14
15 #include "zypp/detail/PatternImplIf.h"
16 #include "zypp/data/ResolvableData.h"
17 #include "zypp/Source.h"
18
19 ///////////////////////////////////////////////////////////////////
20 namespace zypp
21 { /////////////////////////////////////////////////////////////////
22   ///////////////////////////////////////////////////////////////////
23   namespace repo
24   { /////////////////////////////////////////////////////////////////
25     namespace memory
26     {
27
28       ///////////////////////////////////////////////////////////////////
29       //
30       //        CLASS NAME : PatternImpl
31       //
32       /**
33       */
34       struct PatternImpl : public zypp::detail::PatternImplIf
35       {
36 public:
37         PatternImpl(data::Pattern_Ptr ptr);
38         virtual ~PatternImpl();
39
40         virtual TranslatedText summary() const;
41         virtual TranslatedText description() const;
42         virtual TranslatedText category() const;
43         virtual bool userVisible() const;
44         virtual Label order() const;
45         virtual Pathname icon() const;
46         virtual Source_Ref source() const;
47         
48         TranslatedText _summary;
49         TranslatedText _description;
50         TranslatedText _category;
51         bool           _visible;
52         std::string    _order;
53         Pathname       _icon;
54       };
55       ///////////////////////////////////////////////////////////////////
56
57       /////////////////////////////////////////////////////////////////
58     } // namespace memory
59     ///////////////////////////////////////////////////////////////////
60   } // namespace repository
61   /////////////////////////////////////////////////////////////////
62 } // namespace zypp
63 ///////////////////////////////////////////////////////////////////
64 #endif // ZYPP_DETAIL_PATTERNIMPL_H