williamr@2: // Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies). williamr@2: // All rights reserved. williamr@2: // This component and the accompanying materials are made available williamr@2: // 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 williamr@2: // which accompanies this distribution, and is available williamr@2: // at the URL "http://www.symbianfoundation.org/legal/licencesv10.html". williamr@2: // williamr@2: // Initial Contributors: williamr@2: // Nokia Corporation - initial contribution. williamr@2: // williamr@2: // Contributors: williamr@2: // williamr@2: // Description: williamr@2: // Camera specific errors williamr@2: // williamr@2: // williamr@2: williamr@2: williamr@2: williamr@2: /** williamr@2: @publishedAll williamr@2: @released williamr@2: @file williamr@2: */ williamr@2: williamr@2: #ifndef ECAMERRORS_H williamr@2: #define ECAMERRORS_H williamr@2: williamr@2: /** The camera has been disabled, hence calls do not succeed */ williamr@2: static const TInt KErrECamCameraDisabled = -12100; williamr@2: williamr@2: /** This parameter or operation is supported, but presently is disabled. */ williamr@2: static const TInt KErrECamSettingDisabled = -12101; williamr@2: williamr@2: /** This value is out of range. */ williamr@2: static const TInt KErrECamParameterNotInRange = -12102; williamr@2: williamr@2: /** williamr@2: @deprecated Use sysytem wide error code KErrNotSupported, since there is no clear cut difference between the two williamr@2: */ williamr@2: static const TInt KErrECamSettingNotSupported = -12103; williamr@2: williamr@2: /** The optimum focus is lost */ williamr@2: static const TInt KErrECamNotOptimalFocus = -12104; williamr@2: williamr@2: /** The flash is not charged */ williamr@2: static const TInt KErrECamFlashNotCharged = -12105; williamr@2: williamr@2: /** williamr@2: This error code is supposed to be used with new event KUidECamEventCIPSetColorSwapEntry williamr@2: and KUidECamEventCIPRemoveColorSwapEntry. williamr@2: This would occur when the particular color is being targetted by 2 color entries for williamr@2: conversion to different colors. williamr@2: williamr@2: */ williamr@2: static const TInt KErrECamColorOperationConflict = -12106; williamr@2: williamr@2: /** williamr@2: This error code is supposed to be used with new event KUidECamEvent2CameraRequestForcedTimedTakeOver williamr@2: and KUidECamEvent2CameraRequestTimedTakeOver. williamr@2: This would mean that another such reserve request is outstanding and has higher priority than this client. williamr@2: williamr@2: @internalTechnology williamr@2: */ williamr@2: static const TInt KErrECamHighPriorityReserveRequesterExists = -12107; williamr@2: williamr@2: /** williamr@2: This error code is supposed to be used whenever any fatal error occurs from which the client cannot recover. williamr@2: williamr@2: @publishedPartner williamr@2: @prototype williamr@2: */ williamr@2: static const TInt KErrECamFatalError = -12108; williamr@2: williamr@2: /** williamr@2: If error is KErrECamImageResourceNotReleased and client wants to successfully call the Prepare method again, williamr@2: client needs to delete all CCameraImageCapture objects and any Snapshot and Histogram objects associated with williamr@2: it as well. williamr@2: williamr@2: @publishedPartner williamr@2: @prototype williamr@2: */ williamr@2: static const TInt KErrECamImageResourceNotReleased = -12109; williamr@2: williamr@2: /** williamr@2: If error is KErrECamVideoResourceNotReleased and client wants to successfully call the Prepare method again, williamr@2: client needs to call ReleaseVideoResource to unprepare video and then delete any Snapshot and Histogram williamr@2: objects associated with it as well. williamr@2: williamr@2: @publishedPartner williamr@2: @prototype williamr@2: */ williamr@2: static const TInt KErrECamVideoResourceNotReleased = -12110; williamr@2: williamr@2: #endif // ECAMERRORS_H