uiresources_plat/cdl_api/inc/CdlEngDef.h
changeset 0 05e9090e2422
equal deleted inserted replaced
-1:000000000000 0:05e9090e2422
       
     1 /*
       
     2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:
       
    15 *
       
    16 */
       
    17 #ifndef CDLENGDEF_H
       
    18 #define CDLENGDEF_H
       
    19 
       
    20 #include <CdlDef.h>
       
    21 #include <e32base.h>
       
    22 #include <CdlTypes.h>
       
    23 
       
    24 struct SCdlMain
       
    25 	{
       
    26 	TInt iMajorVer;
       
    27 	TInt iMinorVer;
       
    28 	const TAny* iData;		// SCdlCustomisation* for v1.0
       
    29 	};
       
    30 
       
    31 
       
    32 struct SCdlInterface
       
    33 	{
       
    34 	TInt iMajorEngVer;
       
    35 	TInt iMinorEngVer;
       
    36 	const TDesC* iName;
       
    37 	TUid iUid;
       
    38 	TInt iMajorVer;
       
    39 	TInt iMinorVer;
       
    40 	TUint iFlags;
       
    41 	TInt iApiSize;
       
    42 	TAny* iSpare;
       
    43 	};
       
    44 
       
    45 struct SCdlCustomisation
       
    46 	{
       
    47 	TInt iId;
       
    48 	const SCdlInterface* iInterface;
       
    49 	const TAny* iImpl;
       
    50 	};
       
    51 
       
    52 #define CDL_CUSTOMISATION(name) { name::KCdlInstanceId, &name::KCdlInterface, &name::KCdlImpl }
       
    53 
       
    54 
       
    55 const TUint KCdlFlagRomOnly = KCdlFlagRomOnlyValue;
       
    56 const TUint KCdlFlags_1_0 = KCdlFlagRomOnly;
       
    57 
       
    58 #endif