imagingmodules/jp2kcodec/Inc/JP2KImageClientMain.h
changeset 0 469c91dae73b
equal deleted inserted replaced
-1:000000000000 0:469c91dae73b
       
     1 /*
       
     2 * Copyright (c) 2003, 2004 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:  All used panics are defined in this header file.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef __JP2IMAGECLIENTMAIN_H__
       
    20 #define __JP2IMAGECLIENTMAIN_H__
       
    21 
       
    22 //  INCLUDES
       
    23 #include <e32std.h>
       
    24 
       
    25 // CONSTANTS
       
    26 
       
    27 // MACROS
       
    28 
       
    29 // DATA TYPES
       
    30 
       
    31 // To keep analogy between ICL panics and JPEG 2000 plug-in
       
    32 // panics, we use same enumerations and same panics if needed.
       
    33 enum TIclPanic
       
    34     {
       
    35     EFrameNumberOutOfRange = 14, //lint !e769 Referenced in ASSER ALWAYS macro
       
    36     EHeaderProcessingNotComplete = 17, //lint !e769 Referenced in ASSER ALWAYS macro
       
    37     ECommentNumberOutOfRange = 18, //lint !e769 Referenced in ASSER ALWAYS macro
       
    38     EInvalidState = 28 //lint !e769 Referenced in ASSER ALWAYS macro
       
    39     };
       
    40 
       
    41 // FUNCTION PROTOTYPES
       
    42 
       
    43 // FORWARD DECLARATIONS
       
    44 
       
    45 // CLASS DECLARATION
       
    46 
       
    47 // ========================== OTHER EXPORTED FUNCTIONS =========================
       
    48 
       
    49 // -----------------------------------------------------------------------------
       
    50 // Global panic function
       
    51 // -----------------------------------------------------------------------------
       
    52 //
       
    53 GLDEF_C void Panic( TIclPanic aError );
       
    54 
       
    55 #endif // __JP2IMAGECLIENTMAIN_H__