mmserv/tms/tmscallserver/inc/tmscsdevsoundobserver.h
changeset 14 80975da52420
child 21 2ed61feeead6
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mmserv/tms/tmscallserver/inc/tmscsdevsoundobserver.h	Mon May 03 12:59:52 2010 +0300
@@ -0,0 +1,61 @@
+/*
+ * Copyright (c) 2009 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: Telephony Multimedia Service
+ *
+ */
+
+#ifndef TMSCSDEVSOUNDOBSERVER_H
+#define TMSCSDEVSOUNDOBSERVER_H
+
+namespace TMS {
+
+/**
+ *  Observer interface for knowing when audio streams have been
+ *  successfully ramped up.
+ *
+ */
+class TMSCSPDevSoundObserver
+    {
+public:
+    virtual void DownlinkInitCompleted(TInt status) = 0;
+    virtual void UplinkInitCompleted(TInt status) = 0;
+
+    /**
+     * Notification that Mic has been activated successfully
+     *
+     */
+    virtual void UplinkActivatedSuccessfully() = 0;
+
+    /**
+     * Notification that speaker has been activated successfully
+     *
+     */
+    virtual void DownlinkActivatedSuccessfully() = 0;
+
+    /**
+     * Notification that Mic initialisation failed.
+     *
+     */
+    virtual void UplinkActivationFailed() = 0;
+
+    /**
+     * Notification that Speaker activation failed.
+     *
+     */
+    virtual void DownlinkActivationFailed() = 0;
+    };
+
+} //namespace TMS
+
+#endif // TMSCSDEVSOUNDOBSERVER_H