audiostubs/devsoundextensions_stubs/mmfaudioserverfactorystub/inc/telephonyaudioroutingmanagerstub.h
changeset 0 0ce1b5ce9557
child 9 f935d51494d1
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/audiostubs/devsoundextensions_stubs/mmfaudioserverfactorystub/inc/telephonyaudioroutingmanagerstub.h	Thu Jan 14 07:14:53 2010 +0200
@@ -0,0 +1,53 @@
+/*
+* Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: Audio Stubs -  CTelephonyAudioRoutingManagerStub class declaration.
+*
+*/
+
+#ifndef TELEPHONYAUDIOROUTINGMANAGERSTUB_H
+#define TELEPHONYAUDIOROUTINGMANAGERSTUB_H
+
+#include <MTelephonyAudioRoutingPolicyObserver.h>
+
+// FORWARD DECLARATIONS
+class CTelephonyAudioRoutingManager;
+
+// CLASS DECLARATION
+class CTelephonyAudioRoutingManagerStub :
+    public CBase,
+    public MTelephonyAudioRoutingPolicyObserver
+    {
+    public:
+        // Construct/destruct
+        static CTelephonyAudioRoutingManagerStub* NewL();
+        ~CTelephonyAudioRoutingManagerStub();
+
+    private:
+        // Construct/destruct
+        CTelephonyAudioRoutingManagerStub();
+        void ConstructL();
+
+    // From MTelephonyAudioRoutingPolicyObserver
+    virtual void OutputChangeRequested(
+         CTelephonyAudioRoutingManager&
+         aTelephonyAudioRoutingManager,
+         CTelephonyAudioRouting::TAudioOutput aOutput);
+
+    private:
+        CTelephonyAudioRoutingManager* iTelephonyAudioRoutingMan;
+        RArray<CTelephonyAudioRouting::TAudioOutput> iAudioOutput;
+    };
+
+
+#endif /* TELEPHONYAUDIOROUTINGMANAGERSTUB_H */