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 2 2fe1408b6811
permissions -rw-r--r--
Attempt to represent the S^2->S^3 header reorganisation as a series of "hg rename" operations

/*
* 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

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