webengine/wmlengine/src/utils/include/nwx_defs_symbian.h
changeset 0 dd21522fd290
equal deleted inserted replaced
-1:000000000000 0:dd21522fd290
       
     1 /*
       
     2 * Copyright (c) 1999 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: 
       
    15 *
       
    16 */
       
    17 
       
    18 /**************************************************
       
    19 File: nwx_defs_symbian.h
       
    20 Description:	This file contains data type 
       
    21 				information for EPOC platform.
       
    22 				This file should be include in
       
    23 				the main defs file, nwx_defs.h
       
    24 Added by:		WMS
       
    25 Date:			2nd Aug, 99
       
    26 **************************************************/
       
    27 #ifndef _NWX_DEFS_SYMBIAN_H_
       
    28 #define _NWX_DEFS_SYMBIAN_H_
       
    29 
       
    30 #include <e32def.h>
       
    31 
       
    32 /*
       
    33 This is the EPOC standard C header file.
       
    34 Function such as 'memcpy' is here.
       
    35 */
       
    36 #include <stdio.h>
       
    37 #include <stdlib.h>
       
    38 #include <string.h>
       
    39 
       
    40 #ifdef __cplusplus
       
    41 extern "C" {
       
    42 #endif
       
    43 
       
    44 /* Rainbow has re-defined TRUE & FALSE. No longer need to undef. */
       
    45 #if 0
       
    46 
       
    47 #ifdef TRUE
       
    48 #undef TRUE
       
    49 /* Allow EPOC rainbow to define its own value*/
       
    50 #endif
       
    51 
       
    52 #ifdef FALSE
       
    53 #undef FALSE
       
    54 /* Allow EPOC rainbow to define its own value*/
       
    55 #endif
       
    56 #endif /* 0 */
       
    57 
       
    58 #ifdef memcpy
       
    59 #undef memcpy
       
    60 /* Allow EPOC rainbow to define its own memcpy function*/
       
    61 #endif
       
    62 
       
    63 #define MAX_PATH				100
       
    64 
       
    65 /* typedef from nwx_osu.h */
       
    66 typedef void*  NW_Osu_Thread_t;
       
    67 typedef void*  NW_Osu_SemaphoreHandle_t;
       
    68 typedef void*  NW_Osu_Mutex_t;
       
    69 typedef void*  NW_Osu_File_t;
       
    70 typedef void*  NW_Osu_Signal_t;
       
    71 typedef TUint32 NW_Osu_ThreadId_t;
       
    72 typedef void*  NW_Osu_Hwnd_t;
       
    73 
       
    74 /*helper funtion*/
       
    75 //void NW_Trace(char* string);
       
    76 
       
    77 #ifdef __cplusplus
       
    78 } /* extern "C" */
       
    79 #endif
       
    80 
       
    81 #endif _NWX_DEFS_SYMBIAN_H_