equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies). |
2 * Copyright (c) 2007-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 the License "Eclipse Public License v1.0" |
5 * under the terms of the License "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". |
432 Main function to retrieve and log the characteristics |
432 Main function to retrieve and log the characteristics |
433 */ |
433 */ |
434 void DoMainL() |
434 void DoMainL() |
435 { |
435 { |
436 //New a console and print tool information |
436 //New a console and print tool information |
437 CConsoleBase* console = Console::NewL(KShortName, TSize(KDefaultConsWidth, KDefaultConsHeight)); |
437 CConsoleBase* console = Console::NewL(KShortName, TSize(KConsFullScreen, KConsFullScreen)); |
438 CleanupStack::PushL(console); |
438 CleanupStack::PushL(console); |
439 BoilerPlate(console); |
439 BoilerPlate(console); |
440 TRAPD(err, DoProcessL(console)); |
440 TRAPD(err, DoProcessL(console)); |
441 if (err!=KErrArgument && err!=KErrNone) |
441 if (err!=KErrArgument && err!=KErrNone) |
442 { |
442 { |