Tizen 2.1 base
[framework/osp/uifw.git] / src / ui / controls / FUiCtrl_ListItemEventArg.cpp
1 //
2 // Open Service Platform
3 // Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
4 //
5 // Licensed under the Flora License, Version 1.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://floralicense.org/license/
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 /**
19  * @file        FUiCtrl_ListItemEventArg.cpp
20  * @brief       This is the implementation file for _ListItemEventArg class.
21  *
22  * This file contains the implementation of _ListItemEventArg class.
23  */
24
25 #include <FBaseSysLog.h>
26 #include "FUiCtrl_ListItemEventArg.h"
27
28 using namespace Tizen::Base;
29 using namespace Tizen::Base::Runtime;
30
31 namespace Tizen { namespace Ui { namespace Controls
32 {
33
34 _ListItemEventArg::_ListItemEventArg(int arg1, int arg2, int arg3, int arg4, NotifyType type)
35         : __arg1(arg1)
36         , __arg2(arg2)
37         , __arg3(arg3)
38         , __arg4(arg4)
39         , __type(type)
40 {
41         // nothing
42 }
43
44 _ListItemEventArg::~_ListItemEventArg(void)
45 {
46         // nothing
47 }
48
49 int
50 _ListItemEventArg::GetEventArg1(void) const
51 {
52         return __arg1;
53 }
54
55 int
56 _ListItemEventArg::GetEventArg2(void) const
57 {
58         return __arg2;
59 }
60
61 int
62 _ListItemEventArg::GetEventArg3(void) const
63 {
64         return __arg3;
65 }
66
67 int
68 _ListItemEventArg::GetEventArg4(void) const
69 {
70         return __arg4;
71 }
72
73 void
74 _ListItemEventArg::GetEventArgs(int& arg1, int& arg2, int& arg3, int& arg4)
75 {
76         arg1 = __arg1;
77         arg2 = __arg2;
78         arg3 = __arg3;
79         arg4 = __arg4;
80 }
81
82 NotifyType
83 _ListItemEventArg::GetNotifyType(void) const
84 {
85         return __type;
86 }
87
88 }}} // Tizen::Ui::Controls