diff -r 6bb1b21d2484 -r 2f8f8080a020 phoneengine/networkhandlingstarter/src/networkhandlingstarter.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/phoneengine/networkhandlingstarter/src/networkhandlingstarter.cpp Mon May 03 12:31:11 2010 +0300 @@ -0,0 +1,56 @@ +/* + * Copyright (c) 2009 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 +#include +#include + +/*! + Constructor of NetworkHandlingStarter. + */ +NetworkHandlingStarter::NetworkHandlingStarter(QObject *parent) : + XQServiceProvider(QLatin1String("com.nokia.services.networkhandling"), parent), + m_privateImpl(NULL) +{ + // Install plugin specific msg handler + INSTALL_TRACE_MSG_HANDLER; + + publishAll(); + + DPRINT; +} + +/*! + Destructor of NetworkHandlingStarter. + */ +NetworkHandlingStarter::~NetworkHandlingStarter() +{ + DPRINT; + delete m_privateImpl; + // Uninstall plugin specific msg handler + UNINSTALL_TRACE_MSG_HANDLER; +} + +void NetworkHandlingStarter::start() +{ + DPRINT; + + if(!m_privateImpl) { + m_privateImpl = new NetworkHandlingStarterPrivate(); + } +} + +// End of File.