diff -r 000000000000 -r 99ef825efeca serviceapifw_plat/liw_generic_parameter_api/inc/liwvarianttype.hrh --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/serviceapifw_plat/liw_generic_parameter_api/inc/liwvarianttype.hrh Mon Mar 30 12:51:20 2009 +0300 @@ -0,0 +1,58 @@ +/* +* Copyright (c) 2003-2005 Nokia Corporation and/or its subsidiary(-ies). +* All rights reserved. +* This component and the accompanying materials are made available +* under the terms of the License "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: Variant data type for Generic Parameters library. +* +*/ + + + + + + + +#include "LiwCommon.hrh" +#ifndef LIW_VARIANT_TYPE_HRH +#define LIW_VARIANT_TYPE_HRH + +namespace LIW { + +/** +* Data formats supported by TLiwVariant class. +*/ +enum TVariantTypeId + { + EVariantTypeAny = -1, ///< Used only in searching + EVariantTypeNull = 0, ///< Null (empty) type + + EVariantTypeTInt32 = 1, ///< 32 bit Integer + EVariantTypeTUid = 2, ///< Globally unique UID + EVariantTypeDesC = 3, ///< Constant text literal + EVariantTypeTTime = 4, ///< Date and time + EVariantTypeDesC8 = 5, ///< 8-bit data buffer + EVariantTypeFileHandle = 6, ///< File handle + EVariantTypeList = 7, ///< List + EVariantTypeMap = 8, ///< Map + EVariantTypeInterface = 9, ///< Interface + EVariantTypeIterable = 10, ///< Iterable + EVariantTypeTBool = 11, ///< Bool Data Type + EVariantTypeTUint = 12, ///< Unsigned Integer Data Type + EVariantTypeTReal = 13, ///< Float type + EVariantTypeBuffer = 14, ///< Buffer type + EVariantTypeTInt64 = 15 ///< 64 bit Integer + }; +} +#endif // LIW_VARIANT_TYPE_HRH + +// End of file +