57 print(INFFILE "* Copyright (c) 2007 Nokia Corporation and/or its subsidiary(-ies).\n"); |
57 print(INFFILE "* Copyright (c) 2007 Nokia Corporation and/or its subsidiary(-ies).\n"); |
58 print(INFFILE "* All rights reserved.\n"); |
58 print(INFFILE "* All rights reserved.\n"); |
59 print(INFFILE "* This component and the accompanying materials are made available\n"); |
59 print(INFFILE "* This component and the accompanying materials are made available\n"); |
60 print(INFFILE "* under the terms of the License \"Eclipse Public License v1.0\"\n"); |
60 print(INFFILE "* under the terms of the License \"Eclipse Public License v1.0\"\n"); |
61 print(INFFILE "* which accompanies this distribution, and is available\n"); |
61 print(INFFILE "* which accompanies this distribution, and is available\n"); |
62 print(INFFILE "* at the URL "http://www.eclipse.org/legal/epl-v10.html".\n"); |
62 print(INFFILE "* at the URL \"http://www.eclipse.org/legal/epl-v10.html\". \n"); |
63 print(INFFILE "*\n"); |
63 print(INFFILE "*\n"); |
64 print(INFFILE "* Initial Contributors:\n"); |
64 print(INFFILE "* Initial Contributors:\n"); |
65 print(INFFILE "* Nokia Corporation - initial contribution.\n"); |
65 print(INFFILE "* Nokia Corporation - initial contribution.\n"); |
66 print(INFFILE "*\n"); |
66 print(INFFILE "*\n"); |
67 print(INFFILE "* Contributors:\n"); |
67 print(INFFILE "* Contributors:\n"); |
126 print(CFFFILE " }\n"); |
126 print(CFFFILE " }\n"); |
127 print(CFFFILE "\n"); |
127 print(CFFFILE "\n"); |
128 print(CFFFILE "\n"); |
128 print(CFFFILE "\n"); |
129 print(CFFFILE "void CPtiVariant${variant_name}DataFactory::ListLanguagesL(RArray<TInt>& aResult)\n"); |
129 print(CFFFILE "void CPtiVariant${variant_name}DataFactory::ListLanguagesL(RArray<TInt>& aResult)\n"); |
130 print(CFFFILE " {\n"); |
130 print(CFFFILE " {\n"); |
|
131 print(CFFFILE " CleanupClosePushL(aResult);\n"); |
131 |
132 |
132 for ($ii = 0; $ii < scalar(@lang_name_array); $ii++) |
133 for ($ii = 0; $ii < scalar(@lang_name_array); $ii++) |
133 { |
134 { |
134 if (@lang_name_array[$ii] eq "Basque" || @lang_name_array[$ii] eq "Galician") |
135 if (@lang_name_array[$ii] eq "Basque" || @lang_name_array[$ii] eq "Galician") |
135 { |
136 { |
197 print(RESFILE "* Copyright (c) 2007 Nokia Corporation and/or its subsidiary(-ies).\n"); |
198 print(RESFILE "* Copyright (c) 2007 Nokia Corporation and/or its subsidiary(-ies).\n"); |
198 print(RESFILE "* All rights reserved.\n"); |
199 print(RESFILE "* All rights reserved.\n"); |
199 print(RESFILE "* This component and the accompanying materials are made available\n"); |
200 print(RESFILE "* This component and the accompanying materials are made available\n"); |
200 print(RESFILE "* under the terms of the License \"Eclipse Public License v1.0\"\n"); |
201 print(RESFILE "* under the terms of the License \"Eclipse Public License v1.0\"\n"); |
201 print(RESFILE "* which accompanies this distribution, and is available\n"); |
202 print(RESFILE "* which accompanies this distribution, and is available\n"); |
202 print(RESFILE "* at the URL "http://www.eclipse.org/legal/epl-v10.html".\n"); |
203 print(RESFILE "* at the URL \"http://www.eclipse.org/legal/epl-v10.html\".\n"); |
203 print(RESFILE "*\n"); |
204 print(RESFILE "*\n"); |
204 print(RESFILE "* Initial Contributors:\n"); |
205 print(RESFILE "* Initial Contributors:\n"); |
205 print(RESFILE "* Nokia Corporation - initial contribution.\n"); |
206 print(RESFILE "* Nokia Corporation - initial contribution.\n"); |
206 print(RESFILE "*\n"); |
207 print(RESFILE "*\n"); |
207 print(RESFILE "* Contributors:\n"); |
208 print(RESFILE "* Contributors:\n"); |
257 print(MMPFILE "* Copyright (c) 2007 Nokia Corporation and/or its subsidiary(-ies).\n"); |
258 print(MMPFILE "* Copyright (c) 2007 Nokia Corporation and/or its subsidiary(-ies).\n"); |
258 print(MMPFILE "* All rights reserved.\n"); |
259 print(MMPFILE "* All rights reserved.\n"); |
259 print(MMPFILE "* This component and the accompanying materials are made available\n"); |
260 print(MMPFILE "* This component and the accompanying materials are made available\n"); |
260 print(MMPFILE "* under the terms of the License \"Eclipse Public License v1.0\"\n"); |
261 print(MMPFILE "* under the terms of the License \"Eclipse Public License v1.0\"\n"); |
261 print(MMPFILE "* which accompanies this distribution, and is available\n"); |
262 print(MMPFILE "* which accompanies this distribution, and is available\n"); |
262 print(MMPFILE "* at the URL "http://www.eclipse.org/legal/epl-v10.html".\n"); |
263 print(MMPFILE "* at the URL \"http://www.eclipse.org/legal/epl-v10.html\".\n"); |
263 print(MMPFILE "*\n"); |
264 print(MMPFILE "*\n"); |
264 print(MMPFILE "* Initial Contributors:\n"); |
265 print(MMPFILE "* Initial Contributors:\n"); |
265 print(MMPFILE "* Nokia Corporation - initial contribution.\n"); |
266 print(MMPFILE "* Nokia Corporation - initial contribution.\n"); |
266 print(MMPFILE "*\n"); |
267 print(MMPFILE "*\n"); |
267 print(MMPFILE "* Contributors:\n"); |
268 print(MMPFILE "* Contributors:\n"); |
338 print(IBYFILE "* Copyright (c) 2007 Nokia Corporation and/or its subsidiary(-ies).\n"); |
339 print(IBYFILE "* Copyright (c) 2007 Nokia Corporation and/or its subsidiary(-ies).\n"); |
339 print(IBYFILE "* All rights reserved.\n"); |
340 print(IBYFILE "* All rights reserved.\n"); |
340 print(IBYFILE "* This component and the accompanying materials are made available\n"); |
341 print(IBYFILE "* This component and the accompanying materials are made available\n"); |
341 print(IBYFILE "* under the terms of the License \"Eclipse Public License v1.0\"\n"); |
342 print(IBYFILE "* under the terms of the License \"Eclipse Public License v1.0\"\n"); |
342 print(IBYFILE "* which accompanies this distribution, and is available\n"); |
343 print(IBYFILE "* which accompanies this distribution, and is available\n"); |
343 print(IBYFILE "* at the URL "http://www.eclipse.org/legal/epl-v10.html".\n"); |
344 print(IBYFILE "* at the URL \"http://www.eclipse.org/legal/epl-v10.html\".\n"); |
344 print(IBYFILE "*\n"); |
345 print(IBYFILE "*\n"); |
345 print(IBYFILE "* Initial Contributors:\n"); |
346 print(IBYFILE "* Initial Contributors:\n"); |
346 print(IBYFILE "* Nokia Corporation - initial contribution.\n"); |
347 print(IBYFILE "* Nokia Corporation - initial contribution.\n"); |
347 print(IBYFILE "*\n"); |
348 print(IBYFILE "*\n"); |
348 print(IBYFILE "* Contributors:\n"); |
349 print(IBYFILE "* Contributors:\n"); |
392 print(CPPFILE "* Copyright (c) 2007 Nokia Corporation and/or its subsidiary(-ies).\n"); |
393 print(CPPFILE "* Copyright (c) 2007 Nokia Corporation and/or its subsidiary(-ies).\n"); |
393 print(CPPFILE "* All rights reserved.\n"); |
394 print(CPPFILE "* All rights reserved.\n"); |
394 print(CPPFILE "* This component and the accompanying materials are made available\n"); |
395 print(CPPFILE "* This component and the accompanying materials are made available\n"); |
395 print(CPPFILE "* under the terms of the License \"Eclipse Public License v1.0\"\n"); |
396 print(CPPFILE "* under the terms of the License \"Eclipse Public License v1.0\"\n"); |
396 print(CPPFILE "* which accompanies this distribution, and is available\n"); |
397 print(CPPFILE "* which accompanies this distribution, and is available\n"); |
397 print(CPPFILE "* at the URL "http://www.eclipse.org/legal/epl-v10.html".\n"); |
398 print(CPPFILE "* at the URL \"http://www.eclipse.org/legal/epl-v10.html\".\n"); |
398 print(CPPFILE "*\n"); |
399 print(CPPFILE "*\n"); |
399 print(CPPFILE "* Initial Contributors:\n"); |
400 print(CPPFILE "* Initial Contributors:\n"); |
400 print(CPPFILE "* Nokia Corporation - initial contribution.\n"); |
401 print(CPPFILE "* Nokia Corporation - initial contribution.\n"); |
401 print(CPPFILE "*\n"); |
402 print(CPPFILE "*\n"); |
402 print(CPPFILE "* Contributors:\n"); |
403 print(CPPFILE "* Contributors:\n"); |
428 print(CHHFILE "* Copyright (c) 2007 Nokia Corporation and/or its subsidiary(-ies).\n"); |
429 print(CHHFILE "* Copyright (c) 2007 Nokia Corporation and/or its subsidiary(-ies).\n"); |
429 print(CHHFILE "* All rights reserved.\n"); |
430 print(CHHFILE "* All rights reserved.\n"); |
430 print(CHHFILE "* This component and the accompanying materials are made available\n"); |
431 print(CHHFILE "* This component and the accompanying materials are made available\n"); |
431 print(CHHFILE "* under the terms of the License \"Eclipse Public License v1.0\"\n"); |
432 print(CHHFILE "* under the terms of the License \"Eclipse Public License v1.0\"\n"); |
432 print(CHHFILE "* which accompanies this distribution, and is available\n"); |
433 print(CHHFILE "* which accompanies this distribution, and is available\n"); |
433 print(CHHFILE "* at the URL "http://www.eclipse.org/legal/epl-v10.html".\n"); |
434 print(CHHFILE "* at the URL \"http://www.eclipse.org/legal/epl-v10.html\".\n"); |
434 print(CHHFILE "*\n"); |
435 print(CHHFILE "*\n"); |
435 print(CHHFILE "* Initial Contributors:\n"); |
436 print(CHHFILE "* Initial Contributors:\n"); |
436 print(CHHFILE "* Nokia Corporation - initial contribution.\n"); |
437 print(CHHFILE "* Nokia Corporation - initial contribution.\n"); |
437 print(CHHFILE "*\n"); |
438 print(CHHFILE "*\n"); |
438 print(CHHFILE "* Contributors:\n"); |
439 print(CHHFILE "* Contributors:\n"); |
465 print(CFFFILE "* Copyright (c) 2007 Nokia Corporation and/or its subsidiary(-ies).\n"); |
466 print(CFFFILE "* Copyright (c) 2007 Nokia Corporation and/or its subsidiary(-ies).\n"); |
466 print(CFFFILE "* All rights reserved.\n"); |
467 print(CFFFILE "* All rights reserved.\n"); |
467 print(CFFFILE "* This component and the accompanying materials are made available\n"); |
468 print(CFFFILE "* This component and the accompanying materials are made available\n"); |
468 print(CFFFILE "* under the terms of the License \"Eclipse Public License v1.0\"\n"); |
469 print(CFFFILE "* under the terms of the License \"Eclipse Public License v1.0\"\n"); |
469 print(CFFFILE "* which accompanies this distribution, and is available\n"); |
470 print(CFFFILE "* which accompanies this distribution, and is available\n"); |
470 print(CFFFILE "* at the URL "http://www.eclipse.org/legal/epl-v10.html".\n"); |
471 print(CFFFILE "* at the URL \"http://www.eclipse.org/legal/epl-v10.html\".\n"); |
471 print(CFFFILE "*\n"); |
472 print(CFFFILE "*\n"); |
472 print(CFFFILE "* Initial Contributors:\n"); |
473 print(CFFFILE "* Initial Contributors:\n"); |
473 print(CFFFILE "* Nokia Corporation - initial contribution.\n"); |
474 print(CFFFILE "* Nokia Corporation - initial contribution.\n"); |
474 print(CFFFILE "*\n"); |
475 print(CFFFILE "*\n"); |
475 print(CFFFILE "* Contributors:\n"); |
476 print(CFFFILE "* Contributors:\n"); |
476 print(CFFFILE "*\n"); |
477 print(CFFFILE "*\n"); |
477 print(CFFFILE "* Description: Keymapping data implementation for ${langconstant}\n"); |
478 print(CFFFILE "* Description: Keymapping data implementation for ${langconstant}\n"); |
478 print(CFFFILE "*\n"); |
479 print(CFFFILE "*\n"); |
479 print(CFFFILE "*/\n"); |
480 print(CFFFILE "*/\n"); |
480 print(CFFFILE "\n\n\n\n\n\n\n\n\n\n\n\n"); |
481 print(CFFFILE "\n\n\n\n\n\n\n\n\n\n\n\n"); |
481 print(CFFFILE "#include <ECom/ImplementationProxy.h>\n"); |
482 print(CFFFILE "#include <ecom/implementationproxy.h>\n"); |
482 print(CFFFILE "\n#include <Languages.hrh>\n"); |
483 print(CFFFILE "\n#include <languages.hrh>\n"); |
483 print(CFFFILE "\n"); |
484 print(CFFFILE "\n"); |
484 print(CFFFILE "#include \"${output_dll}${variant_name}.h\"\n"); |
485 print(CFFFILE "#include \"${output_dll}${variant_name}.h\"\n"); |
485 print(CFFFILE "\n"); |
486 print(CFFFILE "\n"); |
486 |
487 |
487 |
488 |
645 print(CFFFILE " }\n"); |
646 print(CFFFILE " }\n"); |
646 print(CFFFILE "\n"); |
647 print(CFFFILE "\n"); |
647 print(CFFFILE "\n"); |
648 print(CFFFILE "\n"); |
648 print(CFFFILE "void CPtiVariant${variant_name}DataFactory::ListLanguagesL(RArray<TInt>& aResult)\n"); |
649 print(CFFFILE "void CPtiVariant${variant_name}DataFactory::ListLanguagesL(RArray<TInt>& aResult)\n"); |
649 print(CFFFILE " {\n"); |
650 print(CFFFILE " {\n"); |
650 |
651 print(CFFFILE " CleanupClosePushL(aResult);\n"); |
651 for ($ii = 0; $ii < scalar(@lang_name_array); $ii++) |
652 for ($ii = 0; $ii < scalar(@lang_name_array); $ii++) |
652 { |
653 { |
653 if (@lang_name_array[$ii] eq "Basque" || @lang_name_array[$ii] eq "Galician") |
654 if (@lang_name_array[$ii] eq "Basque" || @lang_name_array[$ii] eq "Galician") |
654 { |
655 { |
655 print(CFFFILE " aResult.AppendL(KLang@lang_name_array[$ii]);\n"); |
656 print(CFFFILE " aResult.AppendL(KLang@lang_name_array[$ii]);\n"); |