|
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 |
|
18 #include "cpplugincommon.h" |
|
19 #include "cppluginlogging.h" |
|
20 #include <hbglobal.h> |
|
21 |
|
22 |
|
23 bool Tools::voipSupported() |
|
24 { |
|
25 DPRINT << "DUMMY WRAPPER"; |
|
26 return true; |
|
27 } |
|
28 |
|
29 bool Tools::videoSupported() |
|
30 { |
|
31 DPRINT << "DUMMY WRAPPER"; |
|
32 return true; |
|
33 } |
|
34 |
|
35 /*! |
|
36 Tools::convertEtelMobileServiceCode. |
|
37 */ |
|
38 BasicServiceGroups Tools::convertEtelMobileServiceCode(int serviceCode) |
|
39 { |
|
40 DPRINT << "DUMMY WRAPPER: DEFAULT code"; |
|
41 return Unknown; |
|
42 } |
|
43 |
|
44 |
|
45 /*! |
|
46 Tools::errorCodeTextMapping. |
|
47 */ |
|
48 bool Tools::errorCodeTextMapping(const int errorcode, QString &errorText) |
|
49 { |
|
50 DPRINT << "DUMMY WRAPPER"; |
|
51 errorText.clear(); |
|
52 bool errorTextFound(true); |
|
53 errorText = hbTrId("Not done"); |
|
54 return errorTextFound; |
|
55 } |
|
56 |
|
57 |
|
58 CpSettingsWrapper::CpSettingsWrapper(QObject *parent): |
|
59 QObject(parent) |
|
60 { |
|
61 DPRINT << "DUMMY WRAPPER"; |
|
62 } |
|
63 |
|
64 CpSettingsWrapper::~CpSettingsWrapper() |
|
65 { |
|
66 DPRINT << "DUMMY WRAPPER"; |
|
67 } |
|
68 |
|
69 bool CpSettingsWrapper::showCallDuration() |
|
70 { |
|
71 DPRINT << "DUMMY WRAPPER"; |
|
72 return 0; |
|
73 } |
|
74 |
|
75 int CpSettingsWrapper::setShowCallDuration(bool value) |
|
76 { |
|
77 DPRINT << "DUMMY WRAPPER: value:" << value; |
|
78 return 0; |
|
79 } |
|
80 |
|
81 void CpSettingsWrapper::readSoftRejectText(QString &text, bool &userDefined) |
|
82 { |
|
83 DPRINT << "DUMMY WRAPPER: text:" << text << " ,userDefined:" << userDefined; |
|
84 } |
|
85 |
|
86 int CpSettingsWrapper::writeSoftRejectText(const QString &text, bool userDefined) |
|
87 { |
|
88 DPRINT << "DUMMY WRAPPER: text:" << text << " ,userDefined:" << userDefined; |
|
89 return 0; |
|
90 } |
|
91 |
|
92 bool CpSettingsWrapper::numberGroupingSupported() const |
|
93 { |
|
94 DPRINT << "DUMMY WRAPPER"; |
|
95 return true; |
|
96 } |
|
97 |
|
98 |
|
99 bool CpSettingsWrapper::isFeatureCallWaitingDistiquishNotProvisionedEnabled() |
|
100 { |
|
101 bool enabled = false; |
|
102 DPRINT << "DUMMY WRAPPER: enabled: " << enabled; |
|
103 return enabled; |
|
104 } |
|
105 |
|
106 |
|
107 bool CpSettingsWrapper::isPhoneOffline() const |
|
108 { |
|
109 bool enabled = false; |
|
110 DPRINT << "DUMMY WRAPPER: enabled: " << enabled; |
|
111 return enabled; |
|
112 } |