mmserv/tms/tmscallserver/inc/tmscsdevsoundobserver.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Mon, 03 May 2010 12:59:52 +0300
changeset 14 80975da52420
child 21 2ed61feeead6
permissions -rw-r--r--
Revision: 201015 Kit: 201018

/*
 * 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