diff -r 000000000000 -r e686773b3f54 logsui/AppSrc/CLogsApplication.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/logsui/AppSrc/CLogsApplication.cpp Tue Feb 02 10:12:17 2010 +0200 @@ -0,0 +1,77 @@ +/* +* Copyright (c) 2002 Nokia Corporation and/or its subsidiary(-ies). +* All rights reserved. +* This component and the accompanying materials are made available +* under the terms of "Eclipse Public License v1.0" +* which accompanies this distribution, and is available +* at the URL "http://www.eclipse.org/legal/epl-v10.html". +* +* Initial Contributors: +* Nokia Corporation - initial contribution. +* +* Contributors: +* +* Description: +* Logs Application class +* +*/ + + +// INCLUDE FILES +#include "CLogsApplication.h" +#include "CLogsDocument.h" +#include "LogsUID.h" + +// EXTERNAL DATA STRUCTURES + +// EXTERNAL FUNCTION PROTOTYPES + +// CONSTANTS + +// MACROS + +// LOCAL CONSTANTS AND MACROS + +// MODULE DATA STRUCTURES + +// LOCAL FUNCTION PROTOTYPES + +// ==================== LOCAL FUNCTIONS ==================== + +// ================= MEMBER FUNCTIONS ======================= + +void CLogsApplication::Panic( TInt aPanic ) // the panic code + { + _LIT( KPanicText, "Logs.app" ); + User::Panic( KPanicText, aPanic ); + } + +CApaDocument* CLogsApplication::CreateDocumentL() + { + return CLogsDocument::NewL( *this ); + } + +TUid CLogsApplication::AppDllUid() const + { + return TUid::Uid( KLogsAppUID3 ); + } + +// OTHER EXPORTED FUNCTIONS +//============================================================================= + + + +#include + +LOCAL_C CApaApplication* NewApplication() + { + return new CLogsApplication; + } + +GLDEF_C TInt E32Main() + { + return EikStart::RunApplication(NewApplication); + } + +// End of File +