Changed indicator bg color.
[platform/framework/native/uifw.git] / src / ui / controls / FUiCtrl_TableViewItemEventArg.cpp
1 //
2 // Open Service Platform
3 // Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
4 //
5 // Licensed under the Apache License, Version 2.0 (the License);
6 // you may not use this file except in compliance with the License.
7 // You may obtain a copy of the License at
8 //
9 //     http://www.apache.org/licenses/LICENSE-2.0/
10 //
11 // Unless required by applicable law or agreed to in writing, software
12 // distributed under the License is distributed on an "AS IS" BASIS,
13 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 // See the License for the specific language governing permissions and
15 // limitations under the License.
16 //
17
18 #include <FBaseSysLog.h>
19 #include <FUiCtrlTableViewItemBase.h>
20 #include "FUiCtrl_TableViewItemEventArg.h"
21
22 using namespace Tizen::Base;
23 using namespace Tizen::Base::Runtime;
24
25 namespace Tizen { namespace Ui { namespace Controls
26 {
27
28 _TableViewItemEventArg::_TableViewItemEventArg(int arg1, int arg2, int arg3, int arg4, _TableViewItem* pItem, TableViewNotifyType type, bool activated)
29         : __arg1(arg1)
30         , __arg2(arg2)
31         , __arg3(arg3)
32         , __arg4(arg4)
33         , __pItem(pItem)
34         , __type(type)
35         , __activated(activated)
36 {
37         // nothing
38 }
39
40 _TableViewItemEventArg::~_TableViewItemEventArg(void)
41 {
42         // nothing
43 }
44
45 int
46 _TableViewItemEventArg::GetArg1(void) const
47 {
48         return __arg1;
49 }
50
51 int
52 _TableViewItemEventArg::GetArg2(void) const
53 {
54         return __arg2;
55 }
56
57 int
58 _TableViewItemEventArg::GetArg3(void) const
59 {
60         return __arg3;
61 }
62
63 int
64 _TableViewItemEventArg::GetArg4(void) const
65 {
66         return __arg4;
67 }
68
69 _TableViewItem*
70 _TableViewItemEventArg::GetItem(void) const
71 {
72         return __pItem;
73 }
74
75 TableViewNotifyType
76 _TableViewItemEventArg::GetNotifyType(void) const
77 {
78         return __type;
79 }
80
81 bool
82 _TableViewItemEventArg::GetActivated(void) const
83 {
84         return __activated;
85 }
86
87 }}} // Tizen::Ui::Controls