imagingandcamerafws/camerafw/Include/ecamerrorsconst.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Tue, 25 May 2010 14:20:15 +0300
branchRCL_3
changeset 20 67584cc761d1
parent 0 40261b775718
permissions -rw-r--r--
Revision: 201019 Kit: 2010121

// Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
// All rights reserved.
// This component and the accompanying materials are made available
// under the terms of "Eclipse Public License v1.0"
// which accompanies this distribution, and is available
// at the URL "http://www.eclipse.org/legal/epl-v10.html".
//
// Initial Contributors:
// Nokia Corporation - initial contribution.
//
// Contributors:
//
// Description:
// Camera specific errors
// 
//

/**
 @publishedPartner
 @released
 @file
*/

#ifndef  ECAMERRORS_CONST_H
#define  ECAMERRORS_CONST_H

/**
This error code is supposed to be used whenever any fatal error occurs from which the client cannot recover.

@publishedPartner
@prototype
*/
static const TInt KErrECamFatalError = -12108;

/**
If error is KErrECamImageResourceNotReleased and client wants to successfully call the Prepare method again, 
client needs to delete all CCameraImageCapture objects and any Snapshot and Histogram objects associated with
it as well. 

@publishedPartner
@prototype
*/
static const TInt KErrECamImageResourceNotReleased = -12109;

/**
If error is KErrECamVideoResourceNotReleased and client wants to successfully call the Prepare method again,
client needs to call ReleaseVideoResource to unprepare video and then delete any Snapshot and Histogram 
objects associated with it as well.

@publishedPartner
@prototype
*/
static const TInt KErrECamVideoResourceNotReleased = -12110;

#endif // ECAMERRORS_CONST_H