epoc32/include/ecamerrors.h
branchSymbian2
changeset 2 2fe1408b6811
child 4 837f303aceeb
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/epoc32/include/ecamerrors.h	Tue Mar 16 16:12:26 2010 +0000
     1.3 @@ -0,0 +1,95 @@
     1.4 +// Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
     1.5 +// All rights reserved.
     1.6 +// This component and the accompanying materials are made available
     1.7 +// 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
     1.8 +// which accompanies this distribution, and is available
     1.9 +// at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
    1.10 +//
    1.11 +// Initial Contributors:
    1.12 +// Nokia Corporation - initial contribution.
    1.13 +//
    1.14 +// Contributors:
    1.15 +//
    1.16 +// Description:
    1.17 +// Camera specific errors
    1.18 +// 
    1.19 +//
    1.20 +
    1.21 +
    1.22 +
    1.23 +/**
    1.24 + @publishedAll
    1.25 + @released
    1.26 + @file
    1.27 +*/
    1.28 +
    1.29 +#ifndef  ECAMERRORS_H
    1.30 +#define  ECAMERRORS_H
    1.31 +
    1.32 +/** The camera has been disabled, hence calls do not succeed  */
    1.33 +static const TInt KErrECamCameraDisabled			= -12100;
    1.34 +
    1.35 +/** This parameter or operation is supported, but presently is disabled. */ 
    1.36 +static const TInt KErrECamSettingDisabled			= -12101;
    1.37 +
    1.38 +/** This value is out of range. */
    1.39 +static const TInt KErrECamParameterNotInRange 		= -12102;
    1.40 +
    1.41 +/**
    1.42 +@deprecated Use sysytem wide error code KErrNotSupported, since there is no clear cut difference between the two 
    1.43 +*/ 
    1.44 +static const TInt KErrECamSettingNotSupported		= -12103;
    1.45 +
    1.46 +/** The optimum focus is lost */
    1.47 +static const TInt KErrECamNotOptimalFocus 		= -12104;
    1.48 +
    1.49 +/** The flash is not charged */
    1.50 +static const TInt KErrECamFlashNotCharged		= -12105;
    1.51 +
    1.52 +/**
    1.53 +This error code is supposed to be used with new event KUidECamEventCIPSetColorSwapEntry 
    1.54 +and KUidECamEventCIPRemoveColorSwapEntry.
    1.55 +This would occur when the particular color is being targetted by 2 color entries for 
    1.56 +conversion to different colors.
    1.57 +
    1.58 +*/
    1.59 +static const TInt KErrECamColorOperationConflict	= -12106;
    1.60 +
    1.61 +/**
    1.62 +This error code is supposed to be used with new event KUidECamEvent2CameraRequestForcedTimedTakeOver 
    1.63 +and KUidECamEvent2CameraRequestTimedTakeOver.
    1.64 +This would mean that another such reserve request is outstanding and has higher priority than this client.
    1.65 +
    1.66 +@internalTechnology
    1.67 +*/
    1.68 +static const TInt KErrECamHighPriorityReserveRequesterExists = -12107;
    1.69 +
    1.70 +/**
    1.71 +This error code is supposed to be used whenever any fatal error occurs from which the client cannot recover.
    1.72 +
    1.73 +@publishedPartner
    1.74 +@prototype
    1.75 +*/
    1.76 +static const TInt KErrECamFatalError = -12108;
    1.77 +
    1.78 +/**
    1.79 +If error is KErrECamImageResourceNotReleased and client wants to successfully call the Prepare method again, 
    1.80 +client needs to delete all CCameraImageCapture objects and any Snapshot and Histogram objects associated with
    1.81 +it as well. 
    1.82 +
    1.83 +@publishedPartner
    1.84 +@prototype
    1.85 +*/
    1.86 +static const TInt KErrECamImageResourceNotReleased = -12109;
    1.87 +
    1.88 +/**
    1.89 +If error is KErrECamVideoResourceNotReleased and client wants to successfully call the Prepare method again,
    1.90 +client needs to call ReleaseVideoResource to unprepare video and then delete any Snapshot and Histogram 
    1.91 +objects associated with it as well.
    1.92 +
    1.93 +@publishedPartner
    1.94 +@prototype
    1.95 +*/
    1.96 +static const TInt KErrECamVideoResourceNotReleased = -12110;
    1.97 +
    1.98 +#endif // ECAMERRORS_H