author | hgs |
Mon, 04 Oct 2010 16:06:10 +0300 | |
changeset 76 | cfea66083b62 |
parent 65 | 2a5d4ab426d3 |
permissions | -rw-r--r-- |
37 | 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 |
||
76 | 44 |
SettingsWrapper::SettingsWrapper(QObject *parent): |
37 | 45 |
QObject(parent) |
46 |
{ |
|
47 |
DPRINT << "DUMMY WRAPPER"; |
|
48 |
} |
|
49 |
||
76 | 50 |
SettingsWrapper::~SettingsWrapper() |
37 | 51 |
{ |
52 |
DPRINT << "DUMMY WRAPPER"; |
|
53 |
} |
|
54 |
||
76 | 55 |
bool SettingsWrapper::showCallDuration() |
37 | 56 |
{ |
57 |
DPRINT << "DUMMY WRAPPER"; |
|
58 |
return 0; |
|
59 |
} |
|
60 |
||
76 | 61 |
int SettingsWrapper::setShowCallDuration(bool value) |
37 | 62 |
{ |
63 |
DPRINT << "DUMMY WRAPPER: value:" << value; |
|
64 |
return 0; |
|
65 |
} |
|
66 |
||
76 | 67 |
void SettingsWrapper::readSoftRejectText(QString &text, bool &userDefined) |
37 | 68 |
{ |
69 |
DPRINT << "DUMMY WRAPPER: text:" << text << " ,userDefined:" << userDefined; |
|
70 |
} |
|
71 |
||
76 | 72 |
int SettingsWrapper::writeSoftRejectText(const QString &text, bool userDefined) |
37 | 73 |
{ |
74 |
DPRINT << "DUMMY WRAPPER: text:" << text << " ,userDefined:" << userDefined; |
|
75 |
return 0; |
|
76 |
} |
|
77 |
||
76 | 78 |
bool SettingsWrapper::numberGroupingSupported() const |
37 | 79 |
{ |
80 |
DPRINT << "DUMMY WRAPPER"; |
|
81 |
return true; |
|
82 |
} |
|
83 |
||
84 |
||
76 | 85 |
bool SettingsWrapper::isFeatureCallWaitingDistiquishNotProvisionedEnabled() |
37 | 86 |
{ |
87 |
bool enabled = false; |
|
88 |
DPRINT << "DUMMY WRAPPER: enabled: " << enabled; |
|
89 |
return enabled; |
|
90 |
} |
|
91 |
||
92 |
||
76 | 93 |
bool SettingsWrapper::isPhoneOffline() const |
37 | 94 |
{ |
95 |
bool enabled = false; |
|
96 |
DPRINT << "DUMMY WRAPPER: enabled: " << enabled; |
|
97 |
return enabled; |
|
98 |
} |
|
45
6b911d05207e
Revision: 201023
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
37
diff
changeset
|
99 |
|
6b911d05207e
Revision: 201023
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
37
diff
changeset
|
100 |
|
76 | 101 |
bool SettingsWrapper::isOngoingCall() const |
45
6b911d05207e
Revision: 201023
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
37
diff
changeset
|
102 |
{ |
6b911d05207e
Revision: 201023
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
37
diff
changeset
|
103 |
bool ongoingCall = false; |
6b911d05207e
Revision: 201023
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
37
diff
changeset
|
104 |
DPRINT << "DUMMY WRAPPER: ongoingCall: " << ongoingCall; |
6b911d05207e
Revision: 201023
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
37
diff
changeset
|
105 |
return ongoingCall; |
6b911d05207e
Revision: 201023
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
37
diff
changeset
|
106 |
} |