os/mm/devsoundextensions/telephonyaudiorouting/Server/inc/TelephonyAudioRoutingClientServer.h
First public contribution.
2 * Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies).
4 * This component and the accompanying materials are made available
5 * under the terms of "Eclipse Public License v1.0"
6 * which accompanies this distribution, and is available
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
9 * Initial Contributors:
10 * Nokia Corporation - initial contribution.
14 * Description: Defines all constants used by the TelephonyAudioRouting
15 * Server and its clients.
21 #ifndef TELEPHONYAUDIOROUTNGCLIENTSERVER_H
22 #define TELEPHONYAUDIOROUTNGCLIENTSERVER_H
33 #define TELAUDRTNG_RDEBUG(X) RDebug::Print(X)
34 #define TELAUDRTNG_RDEBUG1(X,Y) RDebug::Print(X,Y)
36 #define TELAUDRTNG_RDEBUG(X)
37 #define TELAUDRTNG_RDEBUG1(X,Y)
41 _LIT(KTelAudRtngServName,"telephonyaudioroutingserver");
43 // A version must be specifyed when creating a session with the server
44 const TUint KTelAudRtngServMajorVersionNumber=0;
45 const TUint KTelAudRtngServMinorVersionNumber=0;
46 const TUint KTelAudRtngServBuildVersionNumber=0;
48 // opcodes used in message passing between client and server
49 enum TTelAudRtngServRqst
51 ETelAudRtngServDoSetOutput,
52 ETelAudRtngServNotifyIfOutputChanged,
53 ETelAudRtngServNotifyIfAvailOutputsChanged,
54 ETelAudRtngServGetNoOutputs,
55 ETelAudRtngServGetAvailableOutputs,
56 ETelAudRtngServMonitorOutputChange,
57 ETelAudRtngServSetPolicySessionId,
58 ETelAudRtngServOutputChangeComplete,
59 ETelAudRtngDoAvailableOutputsChanged,
60 ETelAudRtngServCancelRequest,
61 ETelAudRtngServInitialize,
62 ETelAudRtngServOutputChangedByPolicy,
63 ETelAudRtngServOutputChangeRequested,
64 ETelAudRtngServGetDefaultValues
67 //opcodes used by server to indicate which asynchronous service
69 enum TTelAudRtngServRqstComplete
71 ETelAudRtngServSetOutputComplete = 1,
72 ETelAudRtngServOutputChanged,
73 ETelAudRtngServAvailableOutputsChanged,
74 EPolicyOutputChangeRequest
77 #endif // #ifndef TELEPHONYAUDIOROUTNGCLIENTSERVER_H