epoc32/include/ecamerrors.h
branchSymbian3
changeset 4 837f303aceeb
parent 2 2fe1408b6811
equal deleted inserted replaced
3:e1b950c65cb4 4:837f303aceeb
     1 // Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
     1 // Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
     2 // All rights reserved.
     2 // All rights reserved.
     3 // This component and the accompanying materials are made available
     3 // This component and the accompanying materials are made available
     4 // under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
     4 // under the terms of "Eclipse Public License v1.0"
     5 // which accompanies this distribution, and is available
     5 // which accompanies this distribution, and is available
     6 // at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 //
     7 //
     8 // Initial Contributors:
     8 // Initial Contributors:
     9 // Nokia Corporation - initial contribution.
     9 // Nokia Corporation - initial contribution.
    10 //
    10 //
    11 // Contributors:
    11 // Contributors:
    13 // Description:
    13 // Description:
    14 // Camera specific errors
    14 // Camera specific errors
    15 // 
    15 // 
    16 //
    16 //
    17 
    17 
    18 
       
    19 
       
    20 /**
    18 /**
    21  @publishedAll
    19  @publishedAll
    22  @released
    20  @released
    23  @file
    21  @file
    24 */
    22 */
    25 
    23 
    26 #ifndef  ECAMERRORS_H
    24 #ifndef  ECAMERRORS_H
    27 #define  ECAMERRORS_H
    25 #define  ECAMERRORS_H
       
    26 
       
    27 #ifndef SYMBIAN_ENABLE_SPLIT_HEADERS
       
    28 #include <ecamerrorsconst.h>
       
    29 #include <ecamerrorsdef.h>
       
    30 #endif
    28 
    31 
    29 /** The camera has been disabled, hence calls do not succeed  */
    32 /** The camera has been disabled, hence calls do not succeed  */
    30 static const TInt KErrECamCameraDisabled			= -12100;
    33 static const TInt KErrECamCameraDisabled			= -12100;
    31 
    34 
    32 /** This parameter or operation is supported, but presently is disabled. */ 
    35 /** This parameter or operation is supported, but presently is disabled. */ 
    53 conversion to different colors.
    56 conversion to different colors.
    54 
    57 
    55 */
    58 */
    56 static const TInt KErrECamColorOperationConflict	= -12106;
    59 static const TInt KErrECamColorOperationConflict	= -12106;
    57 
    60 
    58 /**
       
    59 This error code is supposed to be used with new event KUidECamEvent2CameraRequestForcedTimedTakeOver 
       
    60 and KUidECamEvent2CameraRequestTimedTakeOver.
       
    61 This would mean that another such reserve request is outstanding and has higher priority than this client.
       
    62 
       
    63 @internalTechnology
       
    64 */
       
    65 static const TInt KErrECamHighPriorityReserveRequesterExists = -12107;
       
    66 
       
    67 /**
       
    68 This error code is supposed to be used whenever any fatal error occurs from which the client cannot recover.
       
    69 
       
    70 @publishedPartner
       
    71 @prototype
       
    72 */
       
    73 static const TInt KErrECamFatalError = -12108;
       
    74 
       
    75 /**
       
    76 If error is KErrECamImageResourceNotReleased and client wants to successfully call the Prepare method again, 
       
    77 client needs to delete all CCameraImageCapture objects and any Snapshot and Histogram objects associated with
       
    78 it as well. 
       
    79 
       
    80 @publishedPartner
       
    81 @prototype
       
    82 */
       
    83 static const TInt KErrECamImageResourceNotReleased = -12109;
       
    84 
       
    85 /**
       
    86 If error is KErrECamVideoResourceNotReleased and client wants to successfully call the Prepare method again,
       
    87 client needs to call ReleaseVideoResource to unprepare video and then delete any Snapshot and Histogram 
       
    88 objects associated with it as well.
       
    89 
       
    90 @publishedPartner
       
    91 @prototype
       
    92 */
       
    93 static const TInt KErrECamVideoResourceNotReleased = -12110;
       
    94 
       
    95 #endif // ECAMERRORS_H
    61 #endif // ECAMERRORS_H