Dali 3D User Interface Engine
window-event-interface.h
Go to the documentation of this file.
1 #ifndef __DALI_INTERNAL_BASE_WINDOW_EVENT_INTERFACE_H__
2 #define __DALI_INTERNAL_BASE_WINDOW_EVENT_INTERFACE_H__
3 
4 /*
5  * Copyright (c) 2015 Samsung Electronics Co., Ltd.
6  *
7  * Licensed under the Apache License, Version 2.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
10  *
11  * http://www.apache.org/licenses/LICENSE-2.0
12  *
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.
18  *
19  */
20 
21 // EXTERNAL INCLUDES
25 
26 namespace Dali
27 {
28 
29 namespace Internal
30 {
31 
32 namespace Adaptor
33 {
34 
40 {
41 
42 public:
43 
49  virtual void TouchEvent( Dali::TouchPoint& point, unsigned long timeStamp ) = 0;
50 
55  virtual void KeyEvent( Dali::KeyEvent& keyEvent ) = 0;
56 
61  virtual void WheelEvent( Dali::WheelEvent& wheelEvent ) = 0;
62 
67  virtual void DamageEvent( Dali::Rect<int>& damageArea ) = 0;
68 
72  virtual void WindowFocusIn() = 0;
73 
77  virtual void WindowFocusOut() = 0;
78 
79 protected:
80 
85  {
86  }
87 
92  {
93  }
94 
95  // Undefined copy constructor.
97 
98  // Undefined assignment operator.
100 
101 };
102 
103 } // namespace Adaptor
104 
105 } // namespace Internal
106 
107 } // namespace Dali
108 
109 #endif // __DALI_INTERNAL_BASE_WINDOW_EVENT_INTERFACE_H__
Dali Docs Home
Read more about Dali