diff -r 000000000000 -r dab8a81a92de omads/omadsappui/ui/src/NSmlDSSyncAppServer.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/omads/omadsappui/ui/src/NSmlDSSyncAppServer.cpp Mon Nov 23 14:46:41 2009 +0200 @@ -0,0 +1,90 @@ +/* +* Copyright (c) 2002-2005 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: +* +*/ + + + +// INCLUDE FILES +#include "NSmlDSSyncAppServer.h" +#include "aspdebug.h" + +#include +#include + + + +// ============================ MEMBER FUNCTIONS =============================== + + + +// ------------------------------------------------------------------------------ +// CNSmlDMSyncAppServer::CNSmlDMSyncAppServer +// +// ------------------------------------------------------------------------------ +// +CNSmlDSSyncAppServer::CNSmlDSSyncAppServer() + { + FLOG( _L("CNSmlDSSyncAppServer::CNSmlDSSyncAppServer") ); + } + + +// ------------------------------------------------------------------------------ +// CNSmlDMSyncAppServer::~CNSmlDMSyncAppServer +// +// ------------------------------------------------------------------------------ +// +CNSmlDSSyncAppServer::~CNSmlDSSyncAppServer() + { + FLOG( _L("CNSmlDSSyncAppServer::~CNSmlDSSyncAppServer") ); + } + + +// ------------------------------------------------------------------------------ +// CNSmlDMSyncAppServer::CreateServiceL +// +// ------------------------------------------------------------------------------ +// +CApaAppServiceBase* CNSmlDSSyncAppServer::CreateServiceL( TUid aServiceType ) const + { + FLOG( _L("CNSmlDSSyncAppServer::CreateServiceL") ); + + if (aServiceType == TUid::Uid(KSyncServiceUid)) + { + return new (ELeave) CSyncServiceSession; + } + else + { + return CAknAppServer::CreateServiceL(aServiceType); + } + } + + +// ------------------------------------------------------------------------------ +// CNSmlDMSyncAppServer::CreateServiceL +// +// ------------------------------------------------------------------------------ +// +void CNSmlDSSyncAppServer::HandleAllClientsClosed() + { + FLOG( _L("CNSmlDMSyncAppServer::HandleAllClientsClosed") ); + + // NOTE: HandleAllClientsClosed needs overriding to avoid RunAppShutter + } + + + + +// End of File