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_UiScrollEvent.h
20 * @brief This is the header file for _UiScrollEvent class.
22 * This header file contains declaration of _UiScrollEvent class.
23 * The ItemEvent class can call listener's method. So, when event occurred,
24 * application can handle it appropriately.
28 #ifndef _FUI_CTRL_INTERNAL_SCROLL_EVENT_H_
29 #define _FUI_CTRL_INTERNAL_SCROLL_EVENT_H_
31 #include <FOspConfig.h>
32 #include <FBaseResult.h>
33 #include <FBaseRt_Event.h>
35 namespace Tizen { namespace Ui
40 namespace Tizen { namespace Ui { namespace Controls
43 * @class _UiScrollEvent
44 * @brief This class handles a scroll event. It is inherited from Event class.
48 : public Tizen::Base::Runtime::_Event
54 virtual ~_UiScrollEvent(void);
56 result Construct(const Tizen::Ui::_Control& source);
60 Tizen::Ui::_Control* GetSource(void) const;
64 virtual void FireImpl(Tizen::Base::Runtime::IEventListener& listener, const Tizen::Base::Runtime::IEventArg& arg);
68 Tizen::Ui::_Control* __pSource;
71 }}} //Tizen::Ui::Controls
73 #endif // _FUI_CTRL_INTERNAL_SCROLL_EVENT_H_