diff -r fe894bb075c2 -r 79f826a55db2 mds_plat/metadata_engine_api/inc/mdeerror.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mds_plat/metadata_engine_api/inc/mdeerror.h Wed Oct 06 15:08:08 2010 +0300 @@ -0,0 +1,60 @@ +/* +* Copyright (c) 2007-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: Common error code definitions +* +*/ + + +#ifndef MDEERROR_H +#define MDEERROR_H + +#include + +/** + * Canceled or commited object is not locked. + */ +const TInt KErrMdENotLocked = -36200; + +/** + * Property's type is different than expected. + */ +const TInt KErrMdEIncorrectType = -36201; + +/** + * Mandatory property is missing from object. + */ +const TInt KErrMdEMandatoryPropertyMissing = -36202; + +/** + * Property's value is not between allowed minimum and maximum value. + */ +const TInt KErrMdEPropertyValueNotBetweenAllowedMinMax = -36203; + +/** + * First MdE's internal error code. + * + * All MdE's internal error codes (defined in mdeinternalerror.h) are be + * between KErrMdEFirstInternalError and KErrMdELastInternalError. + */ +const TInt KErrMdEFirstInternalError = -36240; + +/** + * Last MdE's internal error code. + * + * All MdE's internal error codes (defined in mdeinternalerror.h) are be + * between KErrMdEFirstInternalError and KErrMdELastInternalError. + */ +const TInt KErrMdELastInternalError = -36299; + +#endif /*MDEERROR_H_*/