imagingandcamerafws/camerafw/Include/ecamerrorsconst.h
changeset 0 40261b775718
equal deleted inserted replaced
-1:000000000000 0:40261b775718
       
     1 // Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 // Camera specific errors
       
    15 // 
       
    16 //
       
    17 
       
    18 /**
       
    19  @publishedPartner
       
    20  @released
       
    21  @file
       
    22 */
       
    23 
       
    24 #ifndef  ECAMERRORS_CONST_H
       
    25 #define  ECAMERRORS_CONST_H
       
    26 
       
    27 /**
       
    28 This error code is supposed to be used whenever any fatal error occurs from which the client cannot recover.
       
    29 
       
    30 @publishedPartner
       
    31 @prototype
       
    32 */
       
    33 static const TInt KErrECamFatalError = -12108;
       
    34 
       
    35 /**
       
    36 If error is KErrECamImageResourceNotReleased and client wants to successfully call the Prepare method again, 
       
    37 client needs to delete all CCameraImageCapture objects and any Snapshot and Histogram objects associated with
       
    38 it as well. 
       
    39 
       
    40 @publishedPartner
       
    41 @prototype
       
    42 */
       
    43 static const TInt KErrECamImageResourceNotReleased = -12109;
       
    44 
       
    45 /**
       
    46 If error is KErrECamVideoResourceNotReleased and client wants to successfully call the Prepare method again,
       
    47 client needs to call ReleaseVideoResource to unprepare video and then delete any Snapshot and Histogram 
       
    48 objects associated with it as well.
       
    49 
       
    50 @publishedPartner
       
    51 @prototype
       
    52 */
       
    53 static const TInt KErrECamVideoResourceNotReleased = -12110;
       
    54 
       
    55 #endif // ECAMERRORS_CONST_H