2 // Open Service Platform
3 // Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
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
9 // http://floralicense.org/license/
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.
19 * @file FUiCtrl_UiListViewItemEventArg.h
20 * @brief This is the header file for the _UiListViewItemEventArg class.
22 * This header file contains the declarations of the _UiListViewItemEventArg class.
25 #ifndef _FUI_CTRL_INTERNAL_LIST_VIEW_ITEM_EVENT_ARG_H_
26 #define _FUI_CTRL_INTERNAL_LIST_VIEW_ITEM_EVENT_ARG_H_
28 #include <FBaseObject.h>
29 #include <FBaseRtIEventArg.h>
30 #include <FBaseRt_Event.h>
32 namespace Tizen { namespace Ui { namespace Controls
35 enum ListViewItemEventNotifyType
37 NOTIFY_TYPE_ITEM_LONGPRESSED = 0,
38 NOTIFY_TYPE_CONTEXTITEM_SELCTED,
39 NOTIFY_TYPE_CONTEXTITEM_HIGHLIGHTED,
42 class _UiListViewItemEventArg
43 : public Tizen::Base::Runtime::IEventArg
47 _UiListViewItemEventArg(int arg1, int arg2, int arg3, ListViewItemEventNotifyType type);
49 virtual ~_UiListViewItemEventArg(void);
51 int GetArg1(void) const;
53 int GetArg2(void) const;
55 int GetArg3(void) const;
57 ListViewItemEventNotifyType GetNotifyType(void) const;
60 _UiListViewItemEventArg(const _UiListViewItemEventArg& rhs);
62 _UiListViewItemEventArg& operator=(const _UiListViewItemEventArg& rhs);
65 int __arg1; // use by groupIndex
66 int __arg2; // use by itemIndex
67 int __arg3; // use by elementId
68 ListViewItemEventNotifyType __type;
69 }; // _UiListViewItemEventArg
71 }}} // Tizen::Ui::Controls
73 #endif // _FUI_CTRL_INTERNAL_LIST_VIEW_ITEM_EVENT_ARG_H_