web_pub/browser_plugin_api/inc/np_defines.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Tue, 31 Aug 2010 16:17:46 +0300
branchRCL_3
changeset 93 79859ed3eea9
parent 67 4917f9bf7995
child 94 919f36ff910f
permissions -rw-r--r--
Revision: 201034 Kit: 201035

/*
* Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of the License "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description:  Plugin defines that are specific to Symbian OS.
*
*/

#ifndef NP_DEFINES_H
#define NP_DEFINES_H

#warning This NP API will be removed wk25. Please see http://wikis.in.nokia.com/Browser/APIMigration for more information

struct TKeyEvent;
struct TPointerEvent;

enum TNppEventType
{
    ENppEventKey,
    ENppEventPointer,
    ENppEventDraw,
    ENppEventVisibility
};

typedef struct _NPEventKey
{
    const TKeyEvent* keyEvent;
    unsigned int type;
    void* reserved;
} NPEventKey;

typedef struct _NPEventPointer
{
    const TPointerEvent* pointerEvent;
    void* reserved;
} NPEventPointer;

typedef struct _NpEventVisibility
{
    bool visible;
    void* reserved;
} NpEventVisibility;

#endif      // NP_DEFINES_H

// End of File