author | hgs |
Fri, 23 Jul 2010 17:29:03 -0500 | |
changeset 36 | 73253677b50a |
parent 20 | b67dd1fc57c5 |
child 43 | 9894ed580e4a |
permissions | -rw-r--r-- |
14
80975da52420
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
1 |
/* |
80975da52420
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
2 |
* Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). |
80975da52420
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
3 |
* All rights reserved. |
80975da52420
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
4 |
* This component and the accompanying materials are made available |
80975da52420
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
5 |
* under the terms of "Eclipse Public License v1.0" |
80975da52420
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
6 |
* which accompanies this distribution, and is available |
80975da52420
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
7 |
* at the URL "http://www.eclipse.org/legal/epl-v10.html". |
80975da52420
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
8 |
* |
80975da52420
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
9 |
* Initial Contributors: |
80975da52420
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
10 |
* Nokia Corporation - initial contribution. |
80975da52420
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
11 |
* |
80975da52420
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
12 |
* Contributors: |
80975da52420
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
13 |
* |
80975da52420
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
14 |
* Description: |
80975da52420
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
15 |
* This file defines the API for System Tone Service which is |
20 | 16 |
* implemented in the systemtoneservice.dll. |
14
80975da52420
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
17 |
*/ |
80975da52420
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
18 |
|
19 | 19 |
#ifndef SYSTEMTONESERVICE_H_ |
20 |
#define SYSTEMTONESERVICE_H_ |
|
14
80975da52420
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
21 |
|
80975da52420
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
22 |
// System includes |
80975da52420
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
23 |
#include <e32base.h> |
80975da52420
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
24 |
|
80975da52420
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
25 |
// Forward declarations |
80975da52420
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
26 |
NONSHARABLE_CLASS( CStsImplementation); |
80975da52420
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
27 |
|
19 | 28 |
//Observer declaration |
29 |
/** |
|
30 |
* Play Alarm Observer API definition. |
|
20 | 31 |
* This defines the interface that must be implemented by clients using |
32 |
* the PlayAlarm method. This API allows the clients to observe when |
|
33 |
* the Play Alarm completes. The same observer can be used for different |
|
34 |
* PlayAlarm calls, even ones that are playing at the same time. |
|
19 | 35 |
*/ |
36 |
class MStsPlayAlarmObserver |
|
37 |
{ |
|
38 |
public: |
|
39 |
/** |
|
40 |
* Informs the observer when the play alarm as indicated by the alarm |
|
20 | 41 |
* context is complete. This method is guaranteed to be called unless |
42 |
* the alarm context has been stopped with the StopAlarm method, in |
|
43 |
* which case the callback is guaranteed not to be called. |
|
44 |
* |
|
45 |
* Implementations of this interface cannot make any assumptions about |
|
46 |
* which thread this method is called on, it may or may not be the same |
|
47 |
* thread from which the PlayAlarm was called. It is up to the clients |
|
48 |
* to provide what ever mutual exclusion protection that is needed for |
|
49 |
* data accessed in this method. |
|
50 |
* |
|
51 |
* In some cases and especially on SMP systems there is a chance that |
|
52 |
* this method may be called before the PlayAlarm method returns. It is |
|
53 |
* up to the client to correctly handle this potential race condition. |
|
54 |
* |
|
55 |
* Clients cannot assume properties about the thread that the callback |
|
56 |
* is running on, for instance the thread may or may not have Active |
|
57 |
* Scheduler. |
|
58 |
* |
|
59 |
* It is strongly recommended that clients do as little as possible |
|
60 |
* processing in this method and to complete this method as quickly as |
|
61 |
* possible. |
|
19 | 62 |
* |
63 |
* @param aAlarmContext The context of the alarm that has completed. |
|
64 |
*/ |
|
65 |
virtual void PlayAlarmComplete(unsigned int aAlarmContext) = 0; |
|
66 |
}; |
|
67 |
||
14
80975da52420
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
68 |
// Class declaration |
80975da52420
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
69 |
/** |
20 | 70 |
* System Tone Service API definition. |
71 |
* This is the native C++ API for applications and middleware components |
|
72 |
* to play standard system tones. This API uses the Private Implementation |
|
73 |
* (PIMPL) pattern to help improve the BC of the API by decoupling the |
|
74 |
* implementation from the interface. |
|
75 |
* |
|
76 |
* The methods of this class are guaranteed to be thread safe and may be |
|
77 |
* used from any thread within the same process. An instance of this class |
|
78 |
* may not be shared between processes, even if the processes share memory. |
|
14
80975da52420
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
79 |
* |
80975da52420
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
80 |
* @code |
80975da52420
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
81 |
* CSystemToneService* sts = CSystemToneService::Create(); |
80975da52420
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
82 |
* TInt calendarAlarmContext; |
80975da52420
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
83 |
* ... |
80975da52420
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
84 |
* if (sts) |
80975da52420
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
85 |
* { |
80975da52420
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
86 |
* ... |
80975da52420
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
87 |
* sts->PlayTone(CSystemToneService::EWarningTone); |
80975da52420
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
88 |
* ... |
19 | 89 |
* sts->PlayAlarm(CSystemToneService::ECalendarAlarm, &calendarAlarmContext); |
90 |
* ... |
|
91 |
* sts->StopAlarm(calendarAlarmContext); |
|
14
80975da52420
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
92 |
* ... |
80975da52420
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
93 |
* } |
80975da52420
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
94 |
* ... |
80975da52420
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
95 |
* CSystemToneService::Delete(sts); |
80975da52420
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
96 |
* @endcode |
80975da52420
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
97 |
* |
80975da52420
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
98 |
*/ |
80975da52420
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
99 |
NONSHARABLE_CLASS(CSystemToneService) : public CBase |
80975da52420
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
100 |
{ |
80975da52420
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
101 |
public: |
20 | 102 |
/** |
103 |
* Constructor |
|
104 |
* Creates and initializes an instance of the System Tone Service. |
|
105 |
* |
|
106 |
* @returns Either a pointer to the new CSystemToneService instance |
|
107 |
* or NULL if construction fails. |
|
108 |
*/ |
|
14
80975da52420
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
109 |
IMPORT_C static CSystemToneService* Create(); |
80975da52420
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
110 |
|
20 | 111 |
/** Destructor |
112 |
* Deinitializes and deletes the specified System Tone Service instance. This method |
|
113 |
* should not be called if an existing PlayAlarm has not yet completed or has not been |
|
114 |
* stopped, otherwise whether or not the outstanding alarms actually plays or stops is |
|
115 |
* not guaranteed. |
|
116 |
* |
|
117 |
* @param[in] aSystemToneService A pointer to the CSystemToneService instance |
|
118 |
* to be deleted. This pointer will be invalid |
|
119 |
* after this method completes. |
|
120 |
*/ |
|
14
80975da52420
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
121 |
IMPORT_C static void Delete(CSystemToneService* aSystemToneService); |
80975da52420
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
122 |
|
80975da52420
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
123 |
public: |
80975da52420
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
124 |
// Data types |
20 | 125 |
/** The type of system tones that are supported by this API. */ |
14
80975da52420
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
126 |
enum TToneType |
80975da52420
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
127 |
{ |
80975da52420
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
128 |
// Capture Tones |
19 | 129 |
EBurstMode = 0x0001, |
130 |
ECapture = 0x0002, |
|
131 |
ECallRecording = 0x0003, |
|
132 |
ERecordingStart = 0x0004, |
|
133 |
ERecordingStop = 0x0005, |
|
134 |
ESelfTimer = 0x0006, |
|
14
80975da52420
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
135 |
|
80975da52420
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
136 |
// General Tones |
19 | 137 |
EConfirmationBeep = 0x0101, |
138 |
EDefaultBeep = 0x0102, |
|
139 |
EErrorBeep = 0x0103, |
|
140 |
EInformationBeep = 0x0104, |
|
141 |
EWarningBeep = 0x0105, |
|
142 |
EIntegratedHandsFreeActivated = 0x0106, |
|
14
80975da52420
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
143 |
|
80975da52420
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
144 |
// Key Tones |
19 | 145 |
ETouchScreen = 0x0201, |
14
80975da52420
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
146 |
|
80975da52420
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
147 |
// Location Tones |
19 | 148 |
ELocationRequest = 0x0301, |
14
80975da52420
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
149 |
|
80975da52420
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
150 |
// Messaging Tones |
19 | 151 |
EChatAlert = 0x0401, |
152 |
EEmailAlert = 0x0402, |
|
153 |
EMmsAlert = 0x0403, |
|
154 |
ESmsAlert = 0x0404, |
|
155 |
EDeliveryReport = 0x0405, |
|
156 |
EMessageSendFailure = 0x0406, |
|
14
80975da52420
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
157 |
|
80975da52420
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
158 |
// Power Tones |
19 | 159 |
EBatteryLow = 0x0501, |
160 |
EBatteryRecharged = 0x0502, |
|
161 |
EPowerOn = 0x0503, |
|
162 |
EPowerOff = 0x0504, |
|
163 |
EWakeUp = 0x0505, |
|
164 |
EWrongCharger = 0x0506, |
|
14
80975da52420
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
165 |
|
80975da52420
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
166 |
// Telephony Tones |
19 | 167 |
EAutomaticRedialComplete = 0x0604, |
14
80975da52420
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
168 |
|
80975da52420
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
169 |
// Voice Recognition Tones |
19 | 170 |
EVoiceStart = 0x0701, |
171 |
EVoiceError = 0x0702, |
|
172 |
EVoiceAbort = 0x0703 |
|
173 |
}; |
|
174 |
||
20 | 175 |
/** The type of system alarms that are supported by this API. */ |
19 | 176 |
enum TAlarmType |
177 |
{ |
|
178 |
// Calendar Alarms |
|
179 |
ECalendarAlarm = 0x8001, |
|
180 |
EClockAlarm = 0x8002, |
|
181 |
EToDoAlarm = 0x8003, |
|
182 |
||
183 |
// Telephony Alarms |
|
184 |
EIncomingCall = 0x8101, |
|
185 |
EIncomingCallLine2 = 0x8102, |
|
186 |
EIncomingDataCall = 0x8103 |
|
14
80975da52420
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
187 |
}; |
80975da52420
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
188 |
|
80975da52420
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
189 |
/** |
20 | 190 |
* Plays the specified system tone. If the tone type is not recognized, a default |
191 |
* tone will be played. Tones are short, fixed duration that always play to |
|
192 |
* completion and cannot be stopped by the client. |
|
14
80975da52420
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
193 |
* |
20 | 194 |
* @param[in] aTone The system tone type to play. |
14
80975da52420
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
195 |
*/ |
80975da52420
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
196 |
IMPORT_C void PlayTone(TToneType aTone); |
80975da52420
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
197 |
|
80975da52420
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
198 |
/** |
20 | 199 |
* Plays the specified system alarm. If the alarm type is not recognized, a default |
200 |
* alarm will be played. Alarms are tones that are long or not fixed duration such as a |
|
201 |
* calendar alarm that can be manually stopped by the client. The client is notified |
|
202 |
* when an alarm playback completes if it is not manually stopped by the client. |
|
14
80975da52420
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
203 |
* |
20 | 204 |
* @param[in] aAlarm The system alarm type to play. |
205 |
* @param[out] aAlarmContext A guaranteed globablly unique context representing this |
|
206 |
* specific alarm playback that can be used for stopping the |
|
207 |
* alarm or used to indicate to the observer which alarm playback |
|
208 |
* has completed. |
|
209 |
* @param[in] aObserver A reference to the observer that is to be notified if this alarm |
|
210 |
* playback completes before StopAlarm is called. The same observer |
|
211 |
* can be used for multiple PlayAlarms, even for ones playing at the |
|
212 |
* same time. It is the responsibility of the client to manage the |
|
213 |
* life cycle of the observer. However the observer must exist until |
|
214 |
* all alarms the observer is associated with are either completed |
|
215 |
* or stopped. |
|
14
80975da52420
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
216 |
*/ |
19 | 217 |
IMPORT_C void PlayAlarm(TAlarmType aAlarm, unsigned int& aAlarmContext, MStsPlayAlarmObserver& aObserver); |
14
80975da52420
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
218 |
|
80975da52420
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
219 |
/** |
20 | 220 |
* Stops the specified system alarm playback. If the playback has already completed or the |
19 | 221 |
* context is not valid, this method does nothing. |
14
80975da52420
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
222 |
* |
20 | 223 |
* @param[in] aAlarmContext The context to the specific alarm that is to be stopped. |
14
80975da52420
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
224 |
*/ |
19 | 225 |
IMPORT_C void StopAlarm(unsigned int aAlarmContext); |
36 | 226 |
|
227 |
IMPORT_C void PlayAlarm(TToneType aTone, unsigned int& aAlarmContext, MStsPlayAlarmObserver& aObserver); |
|
14
80975da52420
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
228 |
|
80975da52420
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
229 |
protected: |
80975da52420
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
230 |
// Protected constructors and destructors |
80975da52420
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
231 |
CSystemToneService(CStsImplementation& aImplementation); |
80975da52420
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
232 |
~CSystemToneService(); |
80975da52420
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
233 |
|
80975da52420
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
234 |
protected: |
80975da52420
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
235 |
// Protected data |
80975da52420
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
236 |
/** |
80975da52420
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
237 |
* A reference to the implementation class for this API. |
80975da52420
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
238 |
*/ |
80975da52420
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
239 |
CStsImplementation& iImplementation; |
80975da52420
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
240 |
}; |
80975da52420
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
241 |
|
19 | 242 |
#endif // SYSTEMTONESERVICE_H_ |