epoc32/include/mw/np_defines.h
branchSymbian2
changeset 2 2fe1408b6811
parent 1 666f914201fb
     1.1 --- a/epoc32/include/mw/np_defines.h	Tue Nov 24 13:55:44 2009 +0000
     1.2 +++ b/epoc32/include/mw/np_defines.h	Tue Mar 16 16:12:26 2010 +0000
     1.3 @@ -1,1 +1,54 @@
     1.4 -np_defines.h
     1.5 +/*
     1.6 +* Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies).
     1.7 +* All rights reserved.
     1.8 +* This component and the accompanying materials are made available
     1.9 +* under the terms of the License "Eclipse Public License v1.0"
    1.10 +* which accompanies this distribution, and is available
    1.11 +* at the URL "http://www.eclipse.org/legal/epl-v10.html".
    1.12 +*
    1.13 +* Initial Contributors:
    1.14 +* Nokia Corporation - initial contribution.
    1.15 +*
    1.16 +* Contributors:
    1.17 +*
    1.18 +* Description:  Plugin defines that are specific to Symbian OS.
    1.19 +*
    1.20 +*/
    1.21 +
    1.22 +#ifndef NP_DEFINES_H
    1.23 +#define NP_DEFINES_H
    1.24 +
    1.25 +struct TKeyEvent;
    1.26 +struct TPointerEvent;
    1.27 +
    1.28 +enum TNppEventType
    1.29 +{
    1.30 +    ENppEventKey,
    1.31 +    ENppEventPointer,
    1.32 +    ENppEventDraw,
    1.33 +    ENppEventVisibility
    1.34 +};
    1.35 +
    1.36 +typedef struct _NPEventKey
    1.37 +{
    1.38 +    const TKeyEvent* keyEvent;
    1.39 +    unsigned int type;
    1.40 +    void* reserved;
    1.41 +} NPEventKey;
    1.42 +
    1.43 +typedef struct _NPEventPointer
    1.44 +{
    1.45 +    const TPointerEvent* pointerEvent;
    1.46 +    void* reserved;
    1.47 +} NPEventPointer;
    1.48 +
    1.49 +typedef struct _NpEventVisibility
    1.50 +{
    1.51 +    bool visible;
    1.52 +    void* reserved;
    1.53 +} NpEventVisibility;
    1.54 +
    1.55 +#endif      // NP_DEFINES_H
    1.56 +
    1.57 +// End of File
    1.58 +