78
|
1 |
/** Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
|
|
2 |
* All rights reserved.
|
|
3 |
* This component and the accompanying materials are made available
|
|
4 |
* under the terms of the License "Eclipse Public License v1.0"
|
|
5 |
* which accompanies this distribution, and is available
|
|
6 |
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
|
|
7 |
*
|
|
8 |
* Initial Contributors:
|
|
9 |
* Nokia Corporation - initial contribution.
|
|
10 |
*
|
|
11 |
* Contributors:
|
|
12 |
*
|
|
13 |
* Description:
|
|
14 |
*
|
|
15 |
*/
|
|
16 |
|
|
17 |
|
|
18 |
bool m_EPhoneViewPlayHandsFreeActivatedTone_called;
|
|
19 |
|
|
20 |
#include <QDebug>
|
|
21 |
#include <xqsystemtoneservice.h>
|
|
22 |
|
|
23 |
// ============================ MEMBER FUNCTIONS ===============================
|
|
24 |
|
|
25 |
// -----------------------------------------------------------------------------
|
|
26 |
// XQSystemToneService::XQSystemToneService
|
|
27 |
// -----------------------------------------------------------------------------
|
|
28 |
//
|
|
29 |
XQSystemToneService::XQSystemToneService(
|
|
30 |
QObject * parent )
|
|
31 |
:
|
|
32 |
QObject( parent)
|
|
33 |
{
|
|
34 |
|
|
35 |
}
|
|
36 |
|
|
37 |
// -----------------------------------------------------------------------------
|
|
38 |
// XQSystemToneService::~XQSystemToneService
|
|
39 |
// -----------------------------------------------------------------------------
|
|
40 |
//
|
|
41 |
XQSystemToneService::~XQSystemToneService( )
|
|
42 |
{
|
|
43 |
m_EPhoneViewPlayHandsFreeActivatedTone_called = false;
|
|
44 |
}
|
|
45 |
|
|
46 |
|
|
47 |
// -----------------------------------------------------------------------------
|
|
48 |
// XQSystemToneService::playTone
|
|
49 |
// -----------------------------------------------------------------------------
|
|
50 |
//
|
|
51 |
void XQSystemToneService::playTone(
|
|
52 |
ToneType toneType )
|
|
53 |
{
|
|
54 |
Q_UNUSED(toneType);
|
|
55 |
m_EPhoneViewPlayHandsFreeActivatedTone_called = true;
|
|
56 |
}
|
|
57 |
|
|
58 |
|
|
59 |
// -----------------------------------------------------------------------------
|
|
60 |
// XQSystemToneService::playAlarm
|
|
61 |
// -----------------------------------------------------------------------------
|
|
62 |
//
|
|
63 |
void XQSystemToneService::playAlarm(
|
|
64 |
AlarmType alarmType,
|
|
65 |
unsigned int & contextId )
|
|
66 |
{
|
|
67 |
Q_UNUSED(alarmType);
|
|
68 |
Q_UNUSED(contextId);
|
|
69 |
}
|
|
70 |
|
|
71 |
|
|
72 |
// -----------------------------------------------------------------------------
|
|
73 |
// XQSystemToneService::stopAlarm
|
|
74 |
// -----------------------------------------------------------------------------
|
|
75 |
//
|
|
76 |
void XQSystemToneService::stopAlarm(
|
|
77 |
unsigned int contextId )
|
|
78 |
{
|
|
79 |
Q_UNUSED(contextId);
|
|
80 |
}
|
|
81 |
|
|
82 |
|
|
83 |
// -----------------------------------------------------------------------------
|
|
84 |
// XQSystemToneService::playAlarm
|
|
85 |
// -----------------------------------------------------------------------------
|
|
86 |
//
|
|
87 |
void XQSystemToneService::playAlarm(
|
|
88 |
ToneType toneType,
|
|
89 |
unsigned int & contextId )
|
|
90 |
{
|
|
91 |
Q_UNUSED(toneType);
|
|
92 |
Q_UNUSED(contextId);
|
|
93 |
}
|
|
94 |
|
|
95 |
|
|
96 |
// -----------------------------------------------------------------------------
|
|
97 |
// XQSystemToneService::toneStarted
|
|
98 |
// -----------------------------------------------------------------------------
|
|
99 |
//
|
|
100 |
void XQSystemToneService::toneStarted( )
|
|
101 |
{
|
|
102 |
|
|
103 |
}
|
|
104 |
|
|
105 |
|
|
106 |
// -----------------------------------------------------------------------------
|
|
107 |
// XQSystemToneService::alarmStarted
|
|
108 |
// -----------------------------------------------------------------------------
|
|
109 |
//
|
|
110 |
void XQSystemToneService::alarmStarted(
|
|
111 |
unsigned int contextId )
|
|
112 |
{
|
|
113 |
Q_UNUSED(contextId);
|
|
114 |
}
|
|
115 |
|
|
116 |
|
|
117 |
// -----------------------------------------------------------------------------
|
|
118 |
// XQSystemToneService::alarmFinished
|
|
119 |
// -----------------------------------------------------------------------------
|
|
120 |
//
|
|
121 |
void XQSystemToneService::alarmFinished(
|
|
122 |
unsigned int contextId )
|
|
123 |
{
|
|
124 |
Q_UNUSED(contextId);
|
|
125 |
}
|
|
126 |
|
|
127 |
|