equal
deleted
inserted
replaced
1 /* |
|
2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: |
|
15 * |
|
16 */ |
|
17 #include <networkhandlingstarter.h> |
|
18 #include <networkhandlingstarterlogging.h> |
|
19 #include <networkhandlingstarter_p.h> |
|
20 |
|
21 /*! |
|
22 Constructor of NetworkHandlingStarter. |
|
23 */ |
|
24 NetworkHandlingStarter::NetworkHandlingStarter(QObject *parent) : |
|
25 XQServiceProvider(QLatin1String("com.nokia.services.networkhandling"), parent), |
|
26 m_privateImpl(NULL) |
|
27 { |
|
28 // Install plugin specific msg handler |
|
29 INSTALL_TRACE_MSG_HANDLER; |
|
30 |
|
31 publishAll(); |
|
32 |
|
33 DPRINT; |
|
34 } |
|
35 |
|
36 /*! |
|
37 Destructor of NetworkHandlingStarter. |
|
38 */ |
|
39 NetworkHandlingStarter::~NetworkHandlingStarter() |
|
40 { |
|
41 DPRINT; |
|
42 delete m_privateImpl; |
|
43 // Uninstall plugin specific msg handler |
|
44 UNINSTALL_TRACE_MSG_HANDLER; |
|
45 } |
|
46 |
|
47 void NetworkHandlingStarter::start() |
|
48 { |
|
49 DPRINT; |
|
50 |
|
51 if(!m_privateImpl) { |
|
52 m_privateImpl = new NetworkHandlingStarterPrivate(); |
|
53 } |
|
54 } |
|
55 |
|
56 // End of File. |
|