camerauis/cameraapp/generic/common/inc/CamPanic.h
branchRCL_3
changeset 24 bac7acad7cb3
parent 0 1ddebce53859
equal deleted inserted replaced
23:61bc0f252b2b 24:bac7acad7cb3
       
     1 /*
       
     2 * Copyright (c) 2007 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:  Panic function for the Camera Application*
       
    15 */
       
    16 
       
    17 
       
    18 #ifndef CAMPANIC_H
       
    19 #define CAMPANIC_H
       
    20 
       
    21 //  INCLUDES
       
    22 #include <e32base.h>
       
    23 
       
    24 // DATA TYPES
       
    25 
       
    26 /** Camera application panic codes */
       
    27 enum TCameraPanic 
       
    28     {
       
    29     ECamPanicUi = 1,
       
    30     ECamPanicEVUnexpectedNumerator,
       
    31     ECamPanicResourceLeak,
       
    32     ECamPanicInvalidState,
       
    33     ECamPanicInvalidView,
       
    34     ECamPanicFileSystemError,
       
    35     ECamPanicNullImage,
       
    36     ECamPanicNullPointer,
       
    37     ECamPanicUnhandledCreateSettingItem,
       
    38     ECamPanicUnknownSettingItem,
       
    39     ECamPanicInvalidZoomValue,
       
    40     ECamPanicCaptureSetupMenuUnknownItem,
       
    41     ECamPanicUnhandledCommand,
       
    42     ECamPanicUSSPairNotFound,
       
    43     ECamPanicDefaultNotFoundInIniFile,
       
    44     ECamPanicBadIndex,
       
    45   	ECamPanicMultipleSettingItemPreviews,
       
    46     ECamPanicUnexpectedBitmapSize,
       
    47     // add further panics here
       
    48     ECamPanicInvalidResource,
       
    49     ECamPanicInvalidActivePaletteItemType,
       
    50     ECamPanicNonSettingActivePaletteTypeExpected,
       
    51     ECamPanicNoSuitableIsoSettingFound,    
       
    52     ECamPanicHistogramError,
       
    53     ECamPanicSecondaryQualityMissing,
       
    54     ECamPanicMMSQualityMissing,
       
    55     ECamPanicNotEnoughISOValuesSupported,
       
    56         
       
    57     ECamPanicNotSupported = 99,
       
    58     };
       
    59 
       
    60 GLREF_C void CamPanic( TCameraPanic aReason );
       
    61 
       
    62 #endif      // CAMPANIC_H 
       
    63             
       
    64 // End of File