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