diff -r 000000000000 -r 2f259fa3e83a commonuis/CommonUi/LibLoad/src/commonuinpdapiloader.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/commonuis/CommonUi/LibLoad/src/commonuinpdapiloader.cpp Tue Feb 02 01:00:49 2010 +0200 @@ -0,0 +1,94 @@ +/* +* Copyright (c) 2006 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: ?Description +* +*/ + + +#include "commonuinpdapiloader.h" + +// ======== MEMBER FUNCTIONS ======== + +// --------------------------------------------------------------------------- +// C++ default constructor can NOT contain any code, that might leave. +// --------------------------------------------------------------------------- +// +CCommonUiNpdApiLoader::CCommonUiNpdApiLoader() + { + } + +// --------------------------------------------------------------------------- +// Symbian 2nd phase constructor can leave. +// --------------------------------------------------------------------------- +// +void CCommonUiNpdApiLoader::ConstructL() + { + } + +// --------------------------------------------------------------------------- +// Two-phased constructor. +// --------------------------------------------------------------------------- +// +CCommonUiNpdApiLoader* CCommonUiNpdApiLoader::NewL() + { + CCommonUiNpdApiLoader* self = + new( ELeave ) CCommonUiNpdApiLoader(); + + CleanupStack::PushL( self ); + self->ConstructL(); + CleanupStack::Pop( self ); + + return self; + } + +// --------------------------------------------------------------------------- +// Destructor +// --------------------------------------------------------------------------- +// +CCommonUiNpdApiLoader::~CCommonUiNpdApiLoader() + { + } + +// --------------------------------------------------------------------------- +// Sets tone for all profiles. +// --------------------------------------------------------------------------- +// +void CCommonUiNpdApiLoader::SaveFileAsMemoL( const TDesC& /*aFileName*/ ) + { + } + +// --------------------------------------------------------------------------- +// Sets tone for all profiles. +// --------------------------------------------------------------------------- +// +void CCommonUiNpdApiLoader::SaveFileAsMemoL( const RFile& /*aFileHandle*/ ) + { + } + +//---------------------------------------------------------------------------- +// Launcher gate function +//---------------------------------------------------------------------------- +EXPORT_C TAny* GateFunction() + { + CCommonUiNpdApiLoader* launcher = NULL; + TRAPD( err, launcher = CCommonUiNpdApiLoader::NewL() ); + if( err != KErrNone ) + { + return NULL; + } + + return launcher; + } + +// End of File