diff -r 63be7eb3fc78 -r f28ada11abbf hotspotfw/hsbrowser/src/hsbrowserapp.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/hotspotfw/hsbrowser/src/hsbrowserapp.cpp Wed Sep 01 12:20:32 2010 +0100 @@ -0,0 +1,84 @@ +/* +* Copyright (c) 2007 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 main application class. +* +*/ + + + +// INCLUDE FILES +#include + +#include "hsbrowserapp.h" +#include "hsbrowserdocument.h" +#include "hsbrowsercommon.h" +#include "am_debug.h" + +// ================= MEMBER FUNCTIONS ======================= + +// --------------------------------------------------------- +// CHsBrowserApp::AppDllUid() +// Returns application UID +// --------------------------------------------------------- +// +TUid CHsBrowserApp::AppDllUid() const + { + return KUidHsBrowserApp; + } + +// --------------------------------------------------------- +// CDictionaryStore* CHsBrowserApp::OpenIniFileLC(RFs& aFs) const +// overrides CAknApplication::OpenIniFileLC to enable INI file support +// --------------------------------------------------------- +// +CDictionaryStore* CHsBrowserApp::OpenIniFileLC( RFs& aFs ) const + { + return CEikApplication::OpenIniFileLC( aFs ); + } + +// --------------------------------------------------------- +// CHsBrowserApp::CreateDocumentL() +// Creates CHsBrowserAppDocument object +// --------------------------------------------------------- +// +CApaDocument* CHsBrowserApp::CreateDocumentL() + { + return CHsBrowserDocument::NewL( *this ); + } + +// ================= OTHER EXPORTED FUNCTIONS ============== +// +// --------------------------------------------------------- +// NewApplication() +// Constructs CHsBrowserApp +// Returns: created application object +// --------------------------------------------------------- +// +LOCAL_C CApaApplication* NewApplication( ) + { + return new CHsBrowserApp; + } + +// --------------------------------------------------------- +// E32Main +// Main function for Symbian OS v9 EXE application +// Returns: TInt +// --------------------------------------------------------- +GLDEF_C TInt E32Main() + { + DEBUG( "***** Starting Hotspot Browser Logon Application..." ); + return EikStart::RunApplication( NewApplication ); + } + +// End of File