diff -r 000000000000 -r 05e9090e2422 uiresources_plat/cdl_api/inc/CdlEngDef.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/uiresources_plat/cdl_api/inc/CdlEngDef.h Thu Dec 17 09:14:12 2009 +0200 @@ -0,0 +1,58 @@ +/* +* Copyright (c) 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: +* +*/ +#ifndef CDLENGDEF_H +#define CDLENGDEF_H + +#include +#include +#include + +struct SCdlMain + { + TInt iMajorVer; + TInt iMinorVer; + const TAny* iData; // SCdlCustomisation* for v1.0 + }; + + +struct SCdlInterface + { + TInt iMajorEngVer; + TInt iMinorEngVer; + const TDesC* iName; + TUid iUid; + TInt iMajorVer; + TInt iMinorVer; + TUint iFlags; + TInt iApiSize; + TAny* iSpare; + }; + +struct SCdlCustomisation + { + TInt iId; + const SCdlInterface* iInterface; + const TAny* iImpl; + }; + +#define CDL_CUSTOMISATION(name) { name::KCdlInstanceId, &name::KCdlInterface, &name::KCdlImpl } + + +const TUint KCdlFlagRomOnly = KCdlFlagRomOnlyValue; +const TUint KCdlFlags_1_0 = KCdlFlagRomOnly; + +#endif