javauis/m3g_qt/inc/m3g_jsr184.h
changeset 35 85266cc22c7f
child 87 1627c337e51e
equal deleted inserted replaced
26:dc7c549001d5 35:85266cc22c7f
       
     1 /*
       
     2 * Copyright (c) 2003 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 "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 #ifndef M3G_JSR184_H
       
    19 #define M3G_JSR184_H
       
    20 
       
    21 /*!
       
    22  * \file \brief Global enumerations for JSR-184
       
    23  *
       
    24  */
       
    25 
       
    26 #if defined(M3G_CORE_INCLUDE)
       
    27 #   error includes Java dependencies; do not include into the core module.
       
    28 #endif
       
    29 
       
    30 #include <m3g/m3g_core.h>
       
    31 
       
    32 #if defined(__cplusplus)
       
    33 extern "C"
       
    34 {
       
    35 #endif
       
    36 
       
    37     /*----------------------------------------------------------------------
       
    38      * Enumerations
       
    39      *--------------------------------------------------------------------*/
       
    40 
       
    41     /*----------------------------------------------------------------------
       
    42      * JSR-184 API internal functions
       
    43      *--------------------------------------------------------------------*/
       
    44 
       
    45     static M3Guint jsr184BytesPerPixels(int format);
       
    46     static const char *jsr184Exception(M3Genum errorCode);
       
    47 
       
    48 #if defined(__cplusplus)
       
    49 } /* extern "C" */
       
    50 #endif
       
    51 
       
    52 #endif // M3G_JSR184_H
       
    53