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". |
295 { |
295 { |
296 RFs fs; |
296 RFs fs; |
297 User::LeaveIfError(fs.Connect()); |
297 User::LeaveIfError(fs.Connect()); |
298 CleanupClosePushL(fs); |
298 CleanupClosePushL(fs); |
299 |
299 |
300 CConsoleBase* console = Console::NewL(KAppName, TSize(KDefaultConsWidth, KDefaultConsHeight)); |
300 CConsoleBase* console = Console::NewL(KAppName, TSize(KConsFullScreen, KConsFullScreen)); |
301 CleanupStack::PushL(console); |
301 CleanupStack::PushL(console); |
302 |
302 |
303 CCommandLineArguments* args = CCommandLineArguments::NewLC(); |
303 CCommandLineArguments* args = CCommandLineArguments::NewLC(); |
304 |
304 |
305 if (args->Count() > 1) |
305 if (args->Count() > 1) |