1 /* |
1 /* |
2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
3 * All rights reserved. |
3 * All rights reserved. |
4 * This component and the accompanying materials are made available |
4 * This component and the accompanying materials are made available |
5 * under the terms of "Eclipse Public License v1.0" |
5 * under the terms of "Eclipse Public License v1.0" |
6 * which accompanies this distribution, and is available |
6 * which accompanies this distribution, and is available |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
8 * |
8 * |
9 * Initial Contributors: |
9 * Initial Contributors: |
10 * Nokia Corporation - initial contribution. |
10 * Nokia Corporation - initial contribution. |
11 * |
11 * |
12 * Contributors: |
12 * Contributors: |
13 * |
13 * |
14 * Description: |
14 * Description: |
15 * |
15 * |
16 */ |
16 */ |
17 #include "irsettings.h" |
17 |
18 #include "irqsettings.h" |
18 #include "irqsettings.h" |
|
19 #include "irqsettings_p.h" |
|
20 |
|
21 IRQSettings * IRQSettings::mInstance = NULL; |
|
22 QMutex IRQSettings::mMutex; |
19 |
23 |
20 // --------------------------------------------------------------------------- |
24 // --------------------------------------------------------------------------- |
21 // IRQSettings::openInstance() |
25 // IRQSettings::openInstance() |
22 // Static function to get a singleton instance of IRQSettings |
26 // Static function to get a singleton instance of IRQSettings |
23 // @return IRQSettings * |
27 // @return IRQSettings * |
24 // --------------------------------------------------------------------------- |
28 // --------------------------------------------------------------------------- |
25 // |
29 // |
26 EXPORT_C IRQSettings* IRQSettings::openInstance() |
30 IRQSettings* IRQSettings::openInstance() |
27 { |
31 { |
28 // Get singleton instance |
32 mMutex.lock(); |
29 IRQSettings* irqsettings = |
33 |
30 reinterpret_cast<IRQSettings*>(Dll::Tls()); |
34 if (NULL == mInstance) |
31 |
|
32 if (NULL == irqsettings) |
|
33 { |
35 { |
34 irqsettings = createInstance(); |
36 mInstance = new IRQSettings(); |
35 } |
37 } |
36 else |
38 else |
37 { |
39 { |
38 irqsettings->iSingletonInstances++; |
40 mInstance->mRefCount++; |
39 } |
41 } |
40 |
42 |
41 return irqsettings; |
43 mMutex.unlock(); |
|
44 |
|
45 return mInstance; |
42 } |
46 } |
43 |
47 |
44 // --------------------------------------------------------------------------- |
48 // --------------------------------------------------------------------------- |
45 // IRQSettings::closeInstance() |
49 // IRQSettings::closeInstance() |
46 // Close a singleton instance of IRQSettings |
50 // Close a singleton instance of IRQSettings |
47 // --------------------------------------------------------------------------- |
51 // --------------------------------------------------------------------------- |
48 // |
52 // |
49 EXPORT_C void IRQSettings::closeInstance() |
53 void IRQSettings::closeInstance() |
50 { |
54 { |
51 iSingletonInstances--; |
55 mMutex.lock(); |
52 |
56 if ((--mRefCount) == 0) |
53 if (0 == iSingletonInstances) |
|
54 { |
57 { |
55 Dll::SetTls(NULL); |
58 if (this == mInstance) |
|
59 { |
|
60 mInstance = NULL; |
|
61 } |
56 delete this; |
62 delete this; |
57 } |
63 } |
|
64 mMutex.unlock(); |
58 } |
65 } |
59 |
66 |
60 // --------------------------------------------------------------------------- |
67 // --------------------------------------------------------------------------- |
61 // IRQSettings::isFlagTermsAndConditions() |
68 // IRQSettings::isFlagTermsAndConditions() |
62 // |
69 // |
63 // --------------------------------------------------------------------------- |
70 // --------------------------------------------------------------------------- |
64 // |
71 // |
65 EXPORT_C bool IRQSettings::isFlagTermsAndConditions(bool& aFlag) |
72 bool IRQSettings::isFlagTermsAndConditions(bool& aFlag) |
66 { |
73 { |
67 TRAPD(error, aFlag = (bool)iSettings->IsFlagTermsAndConditionsL()); |
74 return d_ptr->isFlagTermsAndConditions(aFlag); |
68 if (KErrNone != error) |
|
69 { |
|
70 return false; |
|
71 } |
|
72 |
|
73 return true; |
|
74 } |
75 } |
75 |
76 |
76 // --------------------------------------------------------------------------- |
77 // --------------------------------------------------------------------------- |
77 // IRQSettings::setFlagTermsAndConditions() |
78 // IRQSettings::setFlagTermsAndConditions() |
78 // |
79 // |
79 // --------------------------------------------------------------------------- |
80 // --------------------------------------------------------------------------- |
80 // |
81 // |
81 EXPORT_C void IRQSettings::setFlagTermsAndConditions() |
82 void IRQSettings::setFlagTermsAndConditions() |
82 { |
83 { |
83 TRAP_IGNORE(iSettings->SetFlagTermsAndConditionsL()); |
84 d_ptr->setFlagTermsAndConditions(); |
84 } |
85 } |
85 |
86 |
86 // --------------------------------------------------------------------------- |
87 // --------------------------------------------------------------------------- |
87 // IRQSettings::reSetFlagTermsAndConditions() |
88 // IRQSettings::reSetFlagTermsAndConditions() |
88 // |
89 // |
89 // --------------------------------------------------------------------------- |
90 // --------------------------------------------------------------------------- |
90 // |
91 // |
91 EXPORT_C void IRQSettings::reSetFlagTermsAndConditions() |
92 void IRQSettings::reSetFlagTermsAndConditions() |
92 { |
93 { |
93 TRAP_IGNORE(iSettings->ReSetFlagTermsAndConditionsL()); |
94 d_ptr->reSetFlagTermsAndConditions(); |
94 } |
95 } |
95 |
96 |
96 // --------------------------------------------------------------------------- |
97 // --------------------------------------------------------------------------- |
97 // IRQSettings::getIRID() |
98 // IRQSettings::getIRID() |
98 // |
99 // |
99 // --------------------------------------------------------------------------- |
100 // --------------------------------------------------------------------------- |
100 // |
101 // |
101 EXPORT_C bool IRQSettings::getIRID(QString& aIRID) |
102 bool IRQSettings::getIRID(QString& aIRID) |
102 { |
103 { |
103 TDeviceInfo irid; |
104 return d_ptr->getIRID(aIRID); |
104 TRAPD(error, irid = iSettings->GetIRIDL()); |
|
105 if (KErrNone != error) |
|
106 { |
|
107 return false; |
|
108 } |
|
109 |
|
110 aIRID = QString::fromUtf16(irid.Ptr(), irid.Length()); |
|
111 return true; |
|
112 } |
105 } |
113 |
106 |
114 // --------------------------------------------------------------------------- |
107 // --------------------------------------------------------------------------- |
115 // IRQSettings::getVolumeSetting() |
108 // IRQSettings::getVolumeSetting() |
116 // |
109 // |
117 // --------------------------------------------------------------------------- |
110 // --------------------------------------------------------------------------- |
118 // |
111 // |
119 EXPORT_C int IRQSettings::getVolumeSetting() |
112 int IRQSettings::getVolumeSetting() |
120 { |
113 { |
121 return (int)iSettings->GetVolumeSetting(); |
114 return d_ptr->getVolumeSetting(); |
122 } |
115 } |
123 |
116 |
124 // --------------------------------------------------------------------------- |
117 // --------------------------------------------------------------------------- |
125 // IRQSettings::setVolumeSetting() |
118 // IRQSettings::setVolumeSetting() |
126 // |
119 // |
127 // --------------------------------------------------------------------------- |
120 // --------------------------------------------------------------------------- |
128 // |
121 // |
129 EXPORT_C void IRQSettings::setVolumeSetting(int aPlayVolume) |
122 void IRQSettings::setVolumeSetting(int aPlayVolume) |
130 { |
123 { |
131 TRAP_IGNORE(iSettings->SetVolumeSettingL((TInt)aPlayVolume)); |
124 d_ptr->setVolumeSetting(aPlayVolume); |
132 } |
125 } |
133 |
126 |
134 // --------------------------------------------------------------------------- |
127 // --------------------------------------------------------------------------- |
135 // IRQSettings::setTimeOut() |
128 // IRQSettings::setTimeOut() |
136 // |
129 // |
137 // --------------------------------------------------------------------------- |
130 // --------------------------------------------------------------------------- |
138 // |
131 // |
139 EXPORT_C void IRQSettings::setTimeOut(int aTimeOut) |
132 void IRQSettings::setTimeOut(int aTimeOut) |
140 { |
133 { |
141 TRAP_IGNORE(iSettings->SetTimeOutL((TInt)aTimeOut)); |
134 d_ptr->setTimeOut(aTimeOut); |
142 } |
135 } |
143 |
136 |
144 // --------------------------------------------------------------------------- |
137 // --------------------------------------------------------------------------- |
145 // IRQSettings::getTimeOut() |
138 // IRQSettings::getTimeOut() |
146 // |
139 // |
147 // --------------------------------------------------------------------------- |
140 // --------------------------------------------------------------------------- |
148 // |
141 // |
149 EXPORT_C int IRQSettings::getTimeOut() |
142 int IRQSettings::getTimeOut() |
150 { |
143 { |
151 return (int)iSettings->GetTimeOut(); |
144 return d_ptr->getTimeOut(); |
152 } |
|
153 |
|
154 // --------------------------------------------------------------------------- |
|
155 // IRQSettings::setMaxPresetCount() |
|
156 // |
|
157 // --------------------------------------------------------------------------- |
|
158 // |
|
159 EXPORT_C void IRQSettings::setMaxPresetCount(int aMaxCount) |
|
160 { |
|
161 TRAP_IGNORE(iSettings->SetMaxPresetCountL((TInt)aMaxCount)); |
|
162 } |
|
163 |
|
164 // --------------------------------------------------------------------------- |
|
165 // IRQSettings::maxPresetCount() |
|
166 // |
|
167 // --------------------------------------------------------------------------- |
|
168 // |
|
169 EXPORT_C int IRQSettings::maxPresetCount() |
|
170 { |
|
171 return (int)iSettings->MaxPresetCount(); |
|
172 } |
145 } |
173 |
146 |
174 // --------------------------------------------------------------------------- |
147 // --------------------------------------------------------------------------- |
175 // IRQSettings::timeCorrection() |
148 // IRQSettings::timeCorrection() |
176 // |
149 // |
177 // --------------------------------------------------------------------------- |
150 // --------------------------------------------------------------------------- |
178 // |
151 // |
179 EXPORT_C QString IRQSettings::privatePath() |
152 QString IRQSettings::privatePath() |
180 { |
153 { |
181 TPath privatePath = iSettings->PrivatePath(); |
154 return d_ptr->privatePath(); |
182 |
155 } |
183 return QString::fromUtf16(privatePath.Ptr(), privatePath.Length()); |
156 |
184 } |
157 void IRQSettings::setSongHistoryShow(int aShowFlag) |
185 |
158 { |
186 EXPORT_C void IRQSettings::setSongHistoryShow(int aShowFlag) |
159 d_ptr->setSongHistoryShow(aShowFlag); |
187 { |
160 } |
188 TRAP_IGNORE(iSettings->SetSongHisotryShowL(aShowFlag)); |
161 |
189 } |
162 int IRQSettings::getSongHistoryShow() |
190 |
163 { |
191 EXPORT_C int IRQSettings::getSongHistoryShow() |
164 return d_ptr->getSongHistoryShow(); |
192 { |
|
193 return iSettings->GetSongHistoryShow(); |
|
194 } |
165 } |
195 |
166 |
196 // --------------------------------------------------------------------------- |
167 // --------------------------------------------------------------------------- |
197 // IRQSettings::setStartingViewId() |
168 // IRQSettings::setStartingViewId() |
198 // Sets the starting view Id in cenrep |
169 // Sets the starting view Id in cenrep |
199 // --------------------------------------------------------------------------- |
170 // --------------------------------------------------------------------------- |
200 // |
171 // |
201 EXPORT_C void IRQSettings::setStartingViewId(unsigned long aStartingViewId) |
172 void IRQSettings::setStartingViewId(int aStartingViewId) |
202 { |
173 { |
203 TRAP_IGNORE(iSettings->SetStartingViewIdL((TUint32)aStartingViewId)); |
174 d_ptr->setStartingViewId(aStartingViewId); |
204 } |
175 } |
205 |
176 |
206 // --------------------------------------------------------------------------- |
177 // --------------------------------------------------------------------------- |
207 // IRQSettings::getStartingViewId() |
178 // IRQSettings::getStartingViewId() |
208 // Gets the starting view Id from cenrep |
179 // Gets the starting view Id from cenrep |
209 // --------------------------------------------------------------------------- |
180 // --------------------------------------------------------------------------- |
210 // |
181 // |
211 EXPORT_C bool IRQSettings::getStartingViewId(TIRViewId& aStartingViewId) |
182 bool IRQSettings::getStartingViewId(TIRViewId& aStartingViewId) |
212 { |
183 { |
213 TUint32 startingViewId = 0; |
184 return d_ptr->getStartingViewId(aStartingViewId); |
214 TRAPD(error, startingViewId = iSettings->GetStartingViewIdL()); |
|
215 if (KErrNone != error) |
|
216 { |
|
217 return false; |
|
218 } |
|
219 |
|
220 aStartingViewId = (TIRViewId)startingViewId; |
|
221 return true; |
|
222 } |
185 } |
223 |
186 |
224 // --------------------------------------------------------------------------- |
187 // --------------------------------------------------------------------------- |
225 // IRQSettings::setPreferredQuality() |
188 // IRQSettings::setPreferredQuality() |
226 // |
189 // |
227 // --------------------------------------------------------------------------- |
190 // --------------------------------------------------------------------------- |
228 // |
191 // |
229 EXPORT_C void IRQSettings::setPreferredQuality(IRQPreferredQuality aQualityValue) |
192 void IRQSettings::setPreferredQuality(IRQPreferredQuality aQualityValue) |
230 { |
193 { |
231 TInt value = 0; |
194 d_ptr->setPreferredQuality(aQualityValue); |
232 switch(aQualityValue) |
|
233 { |
|
234 case EIRQHighQuality: |
|
235 value = 1; |
|
236 break; |
|
237 default: |
|
238 break; |
|
239 } |
|
240 |
|
241 TRAP_IGNORE(iSettings->SetPreferredQualityL(value)); |
|
242 } |
195 } |
243 |
196 |
244 // --------------------------------------------------------------------------- |
197 // --------------------------------------------------------------------------- |
245 // IRQSettings::getPreferredQuality() |
198 // IRQSettings::getPreferredQuality() |
246 // |
199 // |
247 // --------------------------------------------------------------------------- |
200 // --------------------------------------------------------------------------- |
248 // |
201 // |
249 EXPORT_C IRQPreferredQuality IRQSettings::getPreferredQuality() const |
202 IRQPreferredQuality IRQSettings::getPreferredQuality() const |
250 { |
203 { |
251 TInt value = iSettings->GetPreferredQuality(); |
204 return d_ptr->getPreferredQuality(); |
252 switch(value) |
|
253 { |
|
254 case 1: |
|
255 return EIRQHighQuality; |
|
256 default: |
|
257 return EIRQStandardQuality; |
|
258 } |
|
259 } |
205 } |
260 |
206 |
261 // --------------------------------------------------------------------------- |
207 // --------------------------------------------------------------------------- |
262 // IRQSettings::getGlobalAdvFlag() |
208 // IRQSettings::getGlobalAdvFlag() |
263 // Gets the global advertisement flag from cenrep |
209 // Gets the global advertisement flag from cenrep |
264 // --------------------------------------------------------------------------- |
210 // --------------------------------------------------------------------------- |
265 // |
211 // |
266 EXPORT_C bool IRQSettings::getGlobalAdvFlag(bool& aFlag) |
212 bool IRQSettings::getGlobalAdvFlag(bool& aFlag) |
267 { |
213 { |
268 TRAPD(error, aFlag = iSettings->GetGlobalAdvFlagL()); |
214 return d_ptr->getGlobalAdvFlag(aFlag); |
269 if (KErrNone != error) |
|
270 { |
|
271 return false; |
|
272 } |
|
273 |
|
274 return true; |
|
275 } |
215 } |
276 |
216 |
277 // --------------------------------------------------------------------------- |
217 // --------------------------------------------------------------------------- |
278 // IRQSettings::getManuallyInputtedStationUrl(QString& aUrl) |
218 // IRQSettings::getManuallyInputtedStationUrl(QString& aUrl) |
279 // |
219 // |
280 // --------------------------------------------------------------------------- |
220 // --------------------------------------------------------------------------- |
281 // |
221 // |
282 EXPORT_C bool IRQSettings::getManuallyInputtedStationUrl(QString& aUrl) |
222 bool IRQSettings::getManuallyInputtedStationUrl(QString& aUrl) |
283 { |
223 { |
284 TPath stationUrl; |
224 return d_ptr->getManuallyInputtedStationUrl(aUrl); |
285 TRAPD(error, stationUrl = iSettings->GetManuallyInputtedStationUrlL()); |
|
286 if (KErrNone != error) |
|
287 { |
|
288 return false; |
|
289 } |
|
290 |
|
291 aUrl = QString::fromUtf16(stationUrl.Ptr(), stationUrl.Length()); |
|
292 return true; |
|
293 } |
225 } |
294 |
226 |
295 // --------------------------------------------------------------------------- |
227 // --------------------------------------------------------------------------- |
296 // IRQSettings::setManuallyInputtedStationUrl(const QString& aUrl) |
228 // IRQSettings::setManuallyInputtedStationUrl(const QString& aUrl) |
297 // |
229 // |
298 // --------------------------------------------------------------------------- |
230 // --------------------------------------------------------------------------- |
299 // |
231 // |
300 EXPORT_C void IRQSettings::setManuallyInputtedStationUrl(const QString& aUrl) |
232 void IRQSettings::setManuallyInputtedStationUrl(const QString& aUrl) |
301 { |
233 { |
302 TPtrC stationUrl(reinterpret_cast<const TUint16*>(aUrl.utf16())); |
234 d_ptr->setManuallyInputtedStationUrl(aUrl); |
303 TRAP_IGNORE(iSettings->SetManuallyInputtedStationUrlL(stationUrl)); |
|
304 } |
235 } |
305 |
236 |
306 // --------------------------------------------------------------------------- |
237 // --------------------------------------------------------------------------- |
307 // IRQSettings::getManuallyInputtedStationName(QString& aName) |
238 // IRQSettings::getManuallyInputtedStationName(QString& aName) |
308 // |
239 // |
309 // --------------------------------------------------------------------------- |
240 // --------------------------------------------------------------------------- |
310 // |
241 // |
311 EXPORT_C bool IRQSettings::getManuallyInputtedStationName(QString& aName) |
242 bool IRQSettings::getManuallyInputtedStationName(QString& aName) |
312 { |
243 { |
313 TPath stationName; |
244 return d_ptr->getManuallyInputtedStationName(aName); |
314 TRAPD(error, stationName = iSettings->GetManuallyInputtedStationNameL()); |
|
315 if (KErrNone != error) |
|
316 { |
|
317 return false; |
|
318 } |
|
319 |
|
320 aName = QString::fromUtf16(stationName.Ptr(), stationName.Length()); |
|
321 return true; |
|
322 } |
245 } |
323 |
246 |
324 // --------------------------------------------------------------------------- |
247 // --------------------------------------------------------------------------- |
325 // IRQSettings::setManuallyInputtedStationName(const QString& aName) |
248 // IRQSettings::setManuallyInputtedStationName(const QString& aName) |
326 // |
249 // |
327 // --------------------------------------------------------------------------- |
250 // --------------------------------------------------------------------------- |
328 // |
251 // |
329 EXPORT_C void IRQSettings::setManuallyInputtedStationName(const QString& aName) |
252 void IRQSettings::setManuallyInputtedStationName(const QString& aName) |
330 { |
253 { |
331 TPtrC stationName(reinterpret_cast<const TUint16*>(aName.utf16())); |
254 d_ptr->setManuallyInputtedStationName(aName); |
332 TRAP_IGNORE(iSettings->SetManuallyInputtedStationNameL(stationName)); |
255 } |
333 } |
256 |
334 |
257 // --------------------------------------------------------------------------- |
|
258 // IRQSettings::getSearchText(QString& aSearchText) |
|
259 // |
|
260 // --------------------------------------------------------------------------- |
|
261 // |
|
262 bool IRQSettings::getSearchText(QString& aSearchText) |
|
263 { |
|
264 return d_ptr->getSearchText(aSearchText); |
|
265 } |
|
266 |
|
267 // --------------------------------------------------------------------------- |
|
268 // IRQSettings::setSearchText(const QString& aSearchText) |
|
269 // |
|
270 // --------------------------------------------------------------------------- |
|
271 // |
|
272 void IRQSettings::setSearchText(const QString& aSearchText) |
|
273 { |
|
274 d_ptr->setSearchText(aSearchText); |
|
275 } |
|
276 |
|
277 int IRQSettings::getMinDiskSpaceRequired() |
|
278 { |
|
279 return d_ptr->getMinDiskSpaceRequired(); |
|
280 } |
|
281 |
|
282 bool IRQSettings::getIdentifySongEnabled() |
|
283 { |
|
284 return d_ptr->getIdentifySongEnabled(); |
|
285 } |
|
286 |
|
287 int IRQSettings::getSongRecognitionAppUid() |
|
288 { |
|
289 return d_ptr->getSongRecognitionAppUid(); |
|
290 } |
|
291 |
|
292 QString IRQSettings::getIsdsUrl() |
|
293 { |
|
294 return d_ptr->getIsdsUrl(); |
|
295 } |
|
296 |
335 // --------------------------------------------------------------------------- |
297 // --------------------------------------------------------------------------- |
336 // IRQSettings::IRQSettings() |
298 // IRQSettings::IRQSettings() |
337 // Constructor |
299 // Constructor |
338 // --------------------------------------------------------------------------- |
300 // --------------------------------------------------------------------------- |
339 // |
301 // |
340 IRQSettings::IRQSettings() |
302 IRQSettings::IRQSettings() : |
|
303 d_ptr(new IRQSettingsPrivate()), mRefCount(1) |
341 { |
304 { |
342 } |
305 } |
343 |
306 |
344 // --------------------------------------------------------------------------- |
307 // --------------------------------------------------------------------------- |
345 // IRQSettings::~IRQSettings() |
308 // IRQSettings::~IRQSettings() |
346 // Destructor |
309 // Destructor |
347 // --------------------------------------------------------------------------- |
310 // --------------------------------------------------------------------------- |
348 // |
311 // |
349 IRQSettings::~IRQSettings() |
312 IRQSettings::~IRQSettings() |
350 { |
313 { |
351 if (iSettings) |
314 delete d_ptr; |
352 { |
315 } |
353 iSettings->Close(); |
316 |
354 } |
|
355 } |
|
356 |
|
357 // --------------------------------------------------------------------------- |
|
358 // IRQSettings::createInstanceL() |
|
359 // Creates IRQSettings instance |
|
360 // @return IRQSettings* |
|
361 // --------------------------------------------------------------------------- |
|
362 // |
|
363 IRQSettings* IRQSettings::createInstance() |
|
364 { |
|
365 IRQSettings* irqsettings = new IRQSettings(); |
|
366 |
|
367 TRAPD(leaveCode, doCreateInstanceL(irqsettings)); |
|
368 if (KErrNone != leaveCode) |
|
369 { |
|
370 delete irqsettings; |
|
371 irqsettings = NULL; |
|
372 return NULL; |
|
373 } |
|
374 else |
|
375 { |
|
376 irqsettings->iSingletonInstances = 1; |
|
377 return irqsettings; |
|
378 } |
|
379 } |
|
380 |
|
381 // --------------------------------------------------------------------------- |
|
382 // IRQSettings::doCreateInstanceL() |
|
383 // Creates IRQSettings instance |
|
384 // @return IRQSettings* |
|
385 // --------------------------------------------------------------------------- |
|
386 // |
|
387 void IRQSettings::doCreateInstanceL(IRQSettings * aQsettings) |
|
388 { |
|
389 aQsettings->constructL(); |
|
390 Dll::SetTls(aQsettings); |
|
391 |
|
392 } |
|
393 // --------------------------------------------------------------------------- |
|
394 // IRQSettings::constructL() |
|
395 // Two-Phase Constructor. |
|
396 // --------------------------------------------------------------------------- |
|
397 // |
|
398 void IRQSettings::constructL() |
|
399 { |
|
400 // Get singleton instance |
|
401 iSettings = CIRSettings::OpenL(); |
|
402 } |
|