np_defines.h

Go to the documentation of this file.
00001 /*
00002 * ==============================================================================
00003 *  Name        : np_defines.h
00004 *  Part of     : WebKit \ Plugin
00005 *  Interface   :
00006 *  Description : Plugin defines that are specific to Symbian OS.
00007 *  Version     : 5.0
00008 *
00009 *    Copyright (c) 2008, Nokia Corporation
00010 *    All rights reserved.
00011 *
00012 *   Redistribution and use in source and binary forms, with or without
00013 *   modification, are permitted provided that the following conditions
00014 *   are met:
00015 *
00016 *      * Redistributions of source code must retain the above copyright
00017 *        notice, this list of conditions and the following disclaimer.
00018 *      * Redistributions in binary form must reproduce the above copyright
00019 *        notice, this list of conditions and the following disclaimer in
00020 *        the documentation and/or other materials provided with the
00021 *        distribution.
00022 *      * Neither the name of the Nokia Corporation nor the names of its
00023 *        contributors may be used to endorse or promote products derived
00024 *        from this software without specific prior written permission.
00025 *
00026 *   THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
00027 *   "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
00028 *   LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
00029 *   A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
00030 *   OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
00031 *   SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
00032 *   LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
00033 *   DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
00034 *   THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
00035 *   (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
00036 *   USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
00037 *   DAMAGE.
00038 *
00039 *
00040 * ==============================================================================
00041 */
00042 
00043 #ifndef NP_DEFINES_H
00044 #define NP_DEFINES_H
00045 
00046 struct TKeyEvent;
00047 struct TPointerEvent;
00048 
00049 enum TNppEventType
00050 {
00051     ENppEventKey,
00052     ENppEventPointer,
00053     ENppEventDraw,
00054     ENppEventVisibility
00055 };
00056 
00057 typedef struct _NPEventKey
00058 {
00059     const TKeyEvent* keyEvent;
00060     unsigned int type;
00061     void* reserved;
00062 } NPEventKey;
00063 
00064 typedef struct _NPEventPointer
00065 {
00066     const TPointerEvent* pointerEvent;
00067     void* reserved;
00068 } NPEventPointer;
00069 
00070 typedef struct _NpEventVisibility
00071 {
00072     bool visible;
00073     void* reserved;
00074 } NpEventVisibility;
00075 
00076 #endif      // NP_DEFINES_H
00077 
00078 // End of File
00079 

Copyright © Nokia Corporation 2001-2007
Back to top