equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2002-2004 Nokia Corporation and/or its subsidiary(-ies). |
2 * Copyright (c) 2002-2010 Nokia Corporation and/or its subsidiary(-ies). |
3 * All rights reserved. |
3 * All rights reserved. |
4 * This component and the accompanying materials are made available |
4 * This component and the accompanying materials are made available |
5 * under the terms of "Eclipse Public License v1.0" |
5 * under the terms of "Eclipse Public License v1.0" |
6 * which accompanies this distribution, and is available |
6 * which accompanies this distribution, and is available |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
464 // the data lookup table. These need to be turned into an array by adding declarations |
464 // the data lookup table. These need to be turned into an array by adding declarations |
465 // and brackets to the first and last implementations. Extra support functions are also |
465 // and brackets to the first and last implementations. Extra support functions are also |
466 // added. |
466 // added. |
467 extern string KExtraCpp; |
467 extern string KExtraCpp; |
468 string KExtraCpp = "\ |
468 string KExtraCpp = "\ |
469 #include \"aknlayout2decode.h\"\n\ |
469 #include \"AknLayout2Decode.h\"\n\ |
470 namespace $INTERFACE_NS { extern const TUint8 KByteCodedData[]; }\n"; |
470 namespace $INTERFACE_NS { extern const TUint8 KByteCodedData[]; }\n"; |
471 extern string KInitialCpp; |
471 extern string KInitialCpp; |
472 string KInitialCpp ="\ |
472 string KInitialCpp ="\ |
473 extern const TUint16 KDataLookup[$INTERFACE_NS::E_TApiId_TableSize];\n\ |
473 extern const TUint16 KDataLookup[$INTERFACE_NS::E_TApiId_TableSize];\n\ |
474 const SImplData KImplData = { KDataLookup, $INTERFACE_NS::KByteCodedData };\n\ |
474 const SImplData KImplData = { KDataLookup, $INTERFACE_NS::KByteCodedData };\n\ |
801 { |
801 { |
802 return iInterface; |
802 return iInterface; |
803 } |
803 } |
804 |
804 |
805 const string KCommonImplStart = "\ |
805 const string KCommonImplStart = "\ |
806 #include \"aknlayout2decode.h\"\n\ |
806 #include \"AknLayout2Decode.h\"\n\ |
807 namespace $NAMESPACENAME { extern TUint8 const KByteCodedData[] = {\n"; |
807 namespace $NAMESPACENAME { extern TUint8 const KByteCodedData[] = {\n"; |
808 |
808 |
809 const string KCommonImplImpl = "\ |
809 const string KCommonImplImpl = "\ |
810 // $INDEX $COMMENT\n\ |
810 // $INDEX $COMMENT\n\ |
811 $BYTES\n"; |
811 $BYTES\n"; |