Update contrib.
2 * Copyright (c) 2006-2009 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.
20 #ifndef MMFAUDIOSERVERPROXY_H
21 #define MMFAUDIOSERVERPROXY_H
26 #include <mmf/common/mmfipc.h>
27 #ifdef SYMBIAN_ENABLE_SPLIT_HEADERS
28 #include <mmf/common/mmfipcserver.h>
30 #include "mmfaudioclientserver.h"
32 // FORWARD DECLARATIONS
33 class RMMFAudioServerProxy; // declared here;
38 * Client side session for AudioServer.
43 NONSHARABLE_CLASS( RMMFAudioServerProxy ): public RMmfSessionBase
45 public: // New functions
48 * Creates a new session to AudioServer. The very first call will start
49 * AudioServer. Upon successful completion of this method, a new instance
50 * of DevSound server will be created.
52 * @return KErrNone if successful, otherwise one of the other system-wide
58 * Sets the DevSound info. This method is no longer used.
60 * @return KErrNone if successful, otherwise one of the other system-wide
63 IMPORT_C TInt SetDevSoundInfo();
66 * Returns handle to the DevSound server created by AudioServer session.
68 * @return TInt handle to the DevSound server.
70 IMPORT_C TInt GetDevSoundSessionHandle();
74 TInt OpenSessionToTrustedAudioServer();
77 #endif // MMFAUDIOSERVERPROXY_H