equal
deleted
inserted
replaced
1 // Copyright (c) 1994-2009 Nokia Corporation and/or its subsidiary(-ies). |
1 // Copyright (c) 1994-2010 Nokia Corporation and/or its subsidiary(-ies). |
2 // All rights reserved. |
2 // All rights reserved. |
3 // This component and the accompanying materials are made available |
3 // This component and the accompanying materials are made available |
4 // under the terms of "Eclipse Public License v1.0" |
4 // under the terms of "Eclipse Public License v1.0" |
5 // which accompanies this distribution, and is available |
5 // which accompanies this distribution, and is available |
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
13 // Description: |
13 // Description: |
14 // |
14 // |
15 |
15 |
16 #ifndef ADVANCEDPOINTEREVENT_H |
16 #ifndef ADVANCEDPOINTEREVENT_H |
17 #define ADVANCEDPOINTEREVENT_H |
17 #define ADVANCEDPOINTEREVENT_H |
|
18 |
|
19 #ifndef __E32STD_H__ |
|
20 #include <e32std.h> |
|
21 #endif |
|
22 #ifndef __E32KEYS_H__ |
|
23 #include <e32keys.h> |
|
24 #endif |
|
25 #ifndef POINTEREVENT_H |
|
26 #include <pointerevent.h> |
|
27 #endif |
|
28 |
18 |
29 |
19 /** Subclass of TPointerEvent created in order to maintain binary compatibility while |
30 /** Subclass of TPointerEvent created in order to maintain binary compatibility while |
20 extending TPointerEvent with new data: |
31 extending TPointerEvent with new data: |
21 (1) pointer number of the pointer whose state change is described by the event, |
32 (1) pointer number of the pointer whose state change is described by the event, |
22 (2) proximity of the pointer to the screen's surface, |
33 (2) proximity of the pointer to the screen's surface, |
138 @publishedAll |
149 @publishedAll |
139 @released */ |
150 @released */ |
140 { |
151 { |
141 return (iModifiers&EModifierAdvancedPointerEvent ? static_cast<const TAdvancedPointerEvent*>(this) : NULL); |
152 return (iModifiers&EModifierAdvancedPointerEvent ? static_cast<const TAdvancedPointerEvent*>(this) : NULL); |
142 } |
153 } |
|
154 |
|
155 #include "advancedpointerevent.inl" |
|
156 |
143 #endif /* ADVANCEDPOINTEREVENT_H */ |
157 #endif /* ADVANCEDPOINTEREVENT_H */ |