equal
deleted
inserted
replaced
2 // SoundDevice.inl |
2 // SoundDevice.inl |
3 |
3 |
4 // Copyright (c) 2001-2009 Nokia Corporation and/or its subsidiary(-ies). |
4 // Copyright (c) 2001-2009 Nokia Corporation and/or its subsidiary(-ies). |
5 // All rights reserved. |
5 // All rights reserved. |
6 // This component and the accompanying materials are made available |
6 // This component and the accompanying materials are made available |
7 // under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members |
7 // under the terms of "Eclipse Public License v1.0" |
8 // which accompanies this distribution, and is available |
8 // which accompanies this distribution, and is available |
9 // at the URL "http://www.symbianfoundation.org/legal/licencesv10.html". |
9 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
10 // |
10 // |
11 // Initial Contributors: |
11 // Initial Contributors: |
12 // Nokia Corporation - initial contribution. |
12 // Nokia Corporation - initial contribution. |
13 // |
13 // |
14 // Contributors: |
14 // Contributors: |
18 |
18 |
19 #ifndef SOUNDDEVICE_INL |
19 #ifndef SOUNDDEVICE_INL |
20 #define SOUNDDEVICE_INL |
20 #define SOUNDDEVICE_INL |
21 |
21 |
22 #include <mmf/server/mmfdevsoundcustominterfacesupport.h> |
22 #include <mmf/server/mmfdevsoundcustominterfacesupport.h> |
|
23 |
|
24 #ifdef SYMBIAN_ENABLE_SPLIT_HEADERS |
|
25 #include <mmf/server/mmfdevsoundcustominterfaceobserver.h> |
|
26 #include <mmf/server/mmfdevsoundcustominterfacesupportclasses.h> |
|
27 #endif |
|
28 |
23 #include <mmf/common/mmfstandardcustomcommands.h> |
29 #include <mmf/common/mmfstandardcustomcommands.h> |
|
30 |
|
31 #ifdef SYMBIAN_ENABLE_SPLIT_HEADERS |
|
32 #include <mmf/common/mmfstandardcustomcommandsenums.h> |
|
33 #include <mmf/common/mmfstandardcustomcommandsimpl.h> |
|
34 #endif |
|
35 |
24 |
36 |
25 inline TInt CMMFDevSound::RegisterAsClient(TUid aEventType, const TDesC8& aNotificationRegistrationData) |
37 inline TInt CMMFDevSound::RegisterAsClient(TUid aEventType, const TDesC8& aNotificationRegistrationData) |
26 { |
38 { |
27 MAutoPauseResumeSupport* support = |
39 MAutoPauseResumeSupport* support = |
28 static_cast<MAutoPauseResumeSupport*>(CustomInterface(KMmfUidDevSoundAudioResourceCustomInterface)); |
40 static_cast<MAutoPauseResumeSupport*>(CustomInterface(KMmfUidDevSoundAudioResourceCustomInterface)); |