Update contrib.
1 // Copyright (c) 1999-2009 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 "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".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
16 #ifndef MMFBTPOLICYCLIENTSERVER_H
17 #define MMFBTPOLICYCLIENTSERVER_H
19 #include <mmf/common/mmfbase.h>
21 // opcodes used in message passing between client and server
22 enum TMMFPolicyServerRequest
24 EMMFPolicySetDevSoundInfo,
25 EMMFPolicyMakeRequest,
26 EMMFPolicyCancelMakeRequest,
27 EMMFPolicyUpdateState,
28 EMMFPolicyReceiveEvents,
29 EMMFPolicyCancelReceiveEvents,
30 EMMFPolicyGetPlayFormatsSupported,
31 EMMFPolicyGetRecordFormatsSupported,
32 EMMFPolicyGetPlayFormat,
33 EMMFPolicyGetRecordFormat,
34 EMMFPolicyLaunchRequests,
35 EMMFPolicyRequestResourceNotification,
36 EMMFPolicyCancelRequestResourceNotification,
37 EMMFPolicyStopNotification,
38 EMMFPolicyGetResourceNotificationEvent
41 enum TMMFAudioPolicyState
46 EMMFStatePlayDTMFString,
47 EMMFStatePlayToneSequence,
51 EMMFStatePlayDualTone,
57 class TMMFAudioPolicyPrioritySettings
64 TMdaPriorityPreference iPref;
65 TMMFAudioPolicyState iState;
69 class TMMFResourceNotificationSettings
75 TUid iNotificationUid;
76 TBufC8<256> iNotificationDelay;
79 typedef TPckgBuf<TMMFAudioPolicyPrioritySettings> TMMFAudioPolicyPrioritySettingsPckg;
80 typedef TPckgBuf<TMMFResourceNotificationSettings> TMMFAudioPolicyResourceNotificationSettingsPckg;