author | William Roberts <williamr@symbian.org> |
Wed, 31 Mar 2010 12:33:34 +0100 | |
branch | Symbian3 |
changeset 4 | 837f303aceeb |
parent 1 | 666f914201fb |
permissions | -rw-r--r-- |
williamr@2 | 1 |
/* |
williamr@2 | 2 |
* Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies). |
williamr@2 | 3 |
* All rights reserved. |
williamr@2 | 4 |
* This component and the accompanying materials are made available |
williamr@2 | 5 |
* under the terms of the License "Eclipse Public License v1.0" |
williamr@2 | 6 |
* which accompanies this distribution, and is available |
williamr@2 | 7 |
* at the URL "http://www.eclipse.org/legal/epl-v10.html". |
williamr@2 | 8 |
* |
williamr@2 | 9 |
* Initial Contributors: |
williamr@2 | 10 |
* Nokia Corporation - initial contribution. |
williamr@2 | 11 |
* |
williamr@2 | 12 |
* Contributors: |
williamr@2 | 13 |
* |
williamr@2 | 14 |
* Description: Plugin defines that are specific to Symbian OS. |
williamr@2 | 15 |
* |
williamr@2 | 16 |
*/ |
williamr@2 | 17 |
|
williamr@2 | 18 |
#ifndef NP_DEFINES_H |
williamr@2 | 19 |
#define NP_DEFINES_H |
williamr@2 | 20 |
|
williamr@2 | 21 |
struct TKeyEvent; |
williamr@2 | 22 |
struct TPointerEvent; |
williamr@2 | 23 |
|
williamr@2 | 24 |
enum TNppEventType |
williamr@2 | 25 |
{ |
williamr@2 | 26 |
ENppEventKey, |
williamr@2 | 27 |
ENppEventPointer, |
williamr@2 | 28 |
ENppEventDraw, |
williamr@2 | 29 |
ENppEventVisibility |
williamr@2 | 30 |
}; |
williamr@2 | 31 |
|
williamr@2 | 32 |
typedef struct _NPEventKey |
williamr@2 | 33 |
{ |
williamr@2 | 34 |
const TKeyEvent* keyEvent; |
williamr@2 | 35 |
unsigned int type; |
williamr@2 | 36 |
void* reserved; |
williamr@2 | 37 |
} NPEventKey; |
williamr@2 | 38 |
|
williamr@2 | 39 |
typedef struct _NPEventPointer |
williamr@2 | 40 |
{ |
williamr@2 | 41 |
const TPointerEvent* pointerEvent; |
williamr@2 | 42 |
void* reserved; |
williamr@2 | 43 |
} NPEventPointer; |
williamr@2 | 44 |
|
williamr@2 | 45 |
typedef struct _NpEventVisibility |
williamr@2 | 46 |
{ |
williamr@2 | 47 |
bool visible; |
williamr@2 | 48 |
void* reserved; |
williamr@2 | 49 |
} NpEventVisibility; |
williamr@2 | 50 |
|
williamr@2 | 51 |
#endif // NP_DEFINES_H |
williamr@2 | 52 |
|
williamr@2 | 53 |
// End of File |
williamr@2 | 54 |