diff -r 7d48bed6ce0c -r 987c9837762f cbs/cbsui/UiSrc/CCbsUiappApplication.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/cbs/cbsui/UiSrc/CCbsUiappApplication.cpp Wed Sep 01 12:15:03 2010 +0100 @@ -0,0 +1,74 @@ +/* +* 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: +* Implements the application class. +* +* +*/ + + +// INCLUDES +#include +#include "CCbsUiappApplication.h" +#include "CCbsUiappDocument.h" +#include "CbsUiId.h" + + + +// CONSTANTS +static const TUid KUidCbsUiappApp = { KUidCbsUiappDef }; + + + + +// ================= MEMBER FUNCTIONS ======================= + + +// --------------------------------------------------------- +// CCbsUiappApplication::AppDllUid +// +// (other items were commented in a header). +// --------------------------------------------------------- +// +TUid CCbsUiappApplication::AppDllUid() const + { + return KUidCbsUiappApp; + } + +// --------------------------------------------------------- +// CCbsUiappApplication::CreateDocumentL +// +// (other items were commented in a header). +// --------------------------------------------------------- +// +CApaDocument* CCbsUiappApplication::CreateDocumentL() + { + return CCbsUiappDocument::NewL(*this); + } + +// ================= OTHER EXPORTED FUNCTIONS ============== + + +LOCAL_C CApaApplication* NewApplication() + { + return new CCbsUiappApplication; + } + +GLDEF_C TInt E32Main() + { + return EikStart::RunApplication(NewApplication); + } + + +// End of File