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.
18 * @file FUi_UiNotificationEvent.h
19 * @brief This is the header file for the _UiNotificationEvent class.
21 * This header file contains the declarations of the %_UiNotificationEvent class.
24 #ifndef _FUI_INTERNAL_UI_NOTIFICATION_EVENT_H_
25 #define _FUI_INTERNAL_UI_NOTIFICATION_EVENT_H_
27 #include "FUi_UiEvent.h"
29 namespace Tizen { namespace Base { namespace Collection
32 }}} // Tizen::Base::Collection
34 namespace Tizen {namespace Ui
37 class _INotificationEventListener;
40 * This is internal. If used in an application, the application can get rejected during the certification process.
41 * @class _UiNotificationEvent
42 * @brief This class impliments _UiNotificationEvent and
43 * fire the Window Event object of a Ui Control.
45 class _OSP_EXPORT_ _UiNotificationEvent
51 * This is the default class constructor.
54 _UiNotificationEvent(const _UiObjectHandle& destination, Tizen::Base::Collection::IList* pArgs, _UiEventRouteType routeType = _UI_EVENT_ROUTE_TUNNEL_BUBBLE, const _UiObjectHandle& source = _UiObjectHandle());
55 _UiNotificationEvent(const _UiNotificationEvent& rhs);
58 * This is the default class destructor.
61 virtual ~_UiNotificationEvent(void);
64 _UiNotificationEvent& operator =(const _UiNotificationEvent& rhs);
67 Tizen::Base::Collection::IList* GetArgs(void) const;
70 virtual _UiNotificationEvent* CloneN(void) const;
71 virtual _UiEventType GetEventType(void) const;
72 virtual bool IsEventReceivable(const _Control& control) const;
73 virtual result OnPreviewEventProcessing(const _Control& control, bool& isFiltered);
74 virtual result OnEventProcessing(const _Control& control, bool& isFiltered);
75 virtual result OnListenerProcessing(const _IUiEventListener& listener, bool& isFiltered);
78 result FireListener(const _INotificationEventListener* pListener, bool& isFiltered);
81 Tizen::Base::Collection::IList* __pArgs;
86 #endif //_FUI_INTERNAL_UI_NOTIFICATION_EVENT_H_