web_pub/browser_plugin_api/inc/np_defines.h
changeset 0 dd21522fd290
child 67 4917f9bf7995
child 74 91031d3aab7d
equal deleted inserted replaced
-1:000000000000 0:dd21522fd290
       
     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