c686ec436b63798fc55cf2765fa4f7b1dbca2e23
[platform/upstream/libzypp.git] / zypp2 / repo / memory / DPatternImpl.cc
1 /*---------------------------------------------------------------------\
2 |                          ____ _   __ __ ___                          |
3 |                         |__  / \ / / . \ . \                         |
4 |                           / / \ V /|  _/  _/                         |
5 |                          / /__ | | | | | |                           |
6 |                         /_____||_| |_| |_|                           |
7 |                                                                      |
8 \---------------------------------------------------------------------*/
9 /** \file       zypp2/repository/memory/PatternImpl.cc
10  *
11 */
12 #include "zypp2/repo/memory/DPatternImpl.h"
13
14 using namespace std;
15
16 ///////////////////////////////////////////////////////////////////
17 namespace zypp
18 { /////////////////////////////////////////////////////////////////
19 ///////////////////////////////////////////////////////////////////
20 namespace repo
21 { /////////////////////////////////////////////////////////////////
22 namespace memory
23 {
24 ///////////////////////////////////////////////////////////////////
25 //
26 //      METHOD NAME : PatternImpl::PatternImpl
27 //      METHOD TYPE : Ctor
28 //
29 PatternImpl::PatternImpl(data::Pattern_Ptr ptr)
30 {}
31
32 ///////////////////////////////////////////////////////////////////
33 //
34 //      METHOD NAME : PatternImpl::~PatternImpl
35 //      METHOD TYPE : Dtor
36 //
37 PatternImpl::~PatternImpl()
38 {}
39
40 Source_Ref PatternImpl::source() const
41 {
42   return Source_Ref::noSource;
43 }
44
45 TranslatedText PatternImpl::summary() const
46 {
47   return _summary;
48 }
49
50 TranslatedText PatternImpl::description() const
51 {
52   return _description;
53 }
54
55 TranslatedText PatternImpl::category() const
56 {
57   return _category;
58 }
59
60 bool PatternImpl::userVisible() const
61 {
62   return _visible;
63 }
64
65 Label PatternImpl::order() const
66 {
67   return _order;
68 }
69
70 Pathname PatternImpl::icon() const
71 {
72   return _icon;
73 }
74
75 /////////////////////////////////////////////////////////////////
76 } // namespace detail
77 ///////////////////////////////////////////////////////////////////
78 }
79 /////////////////////////////////////////////////////////////////
80 } // namespace zypp
81 ///////////////////////////////////////////////////////////////////