1 #ifndef __DALI_INTEGRATION_EVENT_H__
2 #define __DALI_INTEGRATION_EVENT_H__
5 // Copyright (c) 2014 Samsung Electronics Co., Ltd.
7 // Licensed under the Flora License, Version 1.0 (the License);
8 // you may not use this file except in compliance with the License.
9 // You may obtain a copy of the License at
11 // http://floralicense.org/license/
13 // Unless required by applicable law or agreed to in writing, software
14 // distributed under the License is distributed on an AS IS BASIS,
15 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 // See the License for the specific language governing permissions and
17 // limitations under the License.
21 #include <dali/public-api/common/dali-common.h>
23 namespace Dali DALI_IMPORT_API
30 * Base structure for events passed to Dali::Integration::Core::QueueEvent()
31 * An instance of this class cannot be created.
46 Touch, ///< A touch event, when the user interacts with the screen.
47 Key, ///< A key pressed event, from the virtual or external keyboard.
48 Notification, ///< @deprecated; Use Core::ProcessEvents() instead.
49 Gesture, ///< A Gesture event has been detected.
50 MouseWheel ///< A mouse wheel event, when the mouse wheel is being rolled from an external mouse.
60 protected: // Constructors only to be used by derived structures.
63 * This constructor is only used by derived classes.
64 * @param[in] eventType The type of event.
66 Event(Type eventType);
69 } // namespace Integration
73 #endif // __DALI_INTEGRATION_EVENT_H__