|
1 /* |
|
2 * Copyright (c) 2010 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: Implementation of positioning settings plugin helper class. |
|
15 * |
|
16 */ |
|
17 |
|
18 #include "possettingspluginhelper.h" |
|
19 #include "possettingspluginhelper_p.h" |
|
20 #include <QDebug> |
|
21 |
|
22 //----------------------------------------------------------------- |
|
23 //PosSettingsPluginHelper::PosSettingsPluginHelper() |
|
24 //----------------------------------------------------------------- |
|
25 PosSettingsPluginHelper::PosSettingsPluginHelper() : |
|
26 d_ptr(new PosSettingsPluginHelperPrivate()) |
|
27 { |
|
28 qDebug() << "+ PosSettingsPluginHelper::PosSettingsPluginHelper()"; |
|
29 qDebug() << "- PosSettingsPluginHelper::PosSettingsPluginHelper()"; |
|
30 } |
|
31 |
|
32 //----------------------------------------------------------------- |
|
33 //PosSettingsPluginHelper::~PosSettingsPluginHelper() |
|
34 //----------------------------------------------------------------- |
|
35 PosSettingsPluginHelper::~PosSettingsPluginHelper() |
|
36 { |
|
37 qDebug() << "+ PosSettingsPluginHelper::~PosSettingsPluginHelper()"; |
|
38 if (d_ptr) |
|
39 { |
|
40 delete d_ptr; |
|
41 } |
|
42 qDebug() << "- PosSettingsPluginHelper::~PosSettingsPluginHelper()"; |
|
43 } |
|
44 |
|
45 //--------------------------------------------------------------------- |
|
46 // PosSettingsPluginHelper::populatePsyModuleInfoListL() |
|
47 // (other items were commented in a header). |
|
48 //--------------------------------------------------------------------- |
|
49 bool PosSettingsPluginHelper::isPositionPsyAvailable() |
|
50 { |
|
51 qDebug() << "+ PosSettingsPluginHelper::isPositionPsyAvailable()"; |
|
52 bool ret = d_ptr->isPositionPsyAvailable(); |
|
53 qDebug() << "- PosSettingsPluginHelper::isPositionPsyAvailable() ret =" << ret; |
|
54 return ret; |
|
55 } |
|
56 |
|
57 //--------------------------------------------------------------------- |
|
58 // PosSettingsPluginHelperPrivate::isFeatureFlagEnabledL() |
|
59 // (other items were commented in a header). |
|
60 //--------------------------------------------------------------------- |
|
61 bool PosSettingsPluginHelper::isFeatureFlagEnabled() |
|
62 { |
|
63 qDebug() << "+ PosSettingsPluginHelper::isFeatureFlagEnabled()"; |
|
64 bool ret = d_ptr->isFeatureFlagEnabled(); |
|
65 qDebug() << "- PosSettingsPluginHelper::isFeatureFlagEnabled() ret =" << ret; |
|
66 return ret; |
|
67 } |
|
68 |
|
69 // End of file |