mmserv/tms/tmscallserver/inc/tmscsdevsoundobserver.h
changeset 14 80975da52420
child 21 2ed61feeead6
equal deleted inserted replaced
12:5a06f39ad45b 14:80975da52420
       
     1 /*
       
     2  * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3  * All rights reserved.
       
     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".
       
     8  *
       
     9  * Initial Contributors:
       
    10  * Nokia Corporation - initial contribution.
       
    11  *
       
    12  * Contributors:
       
    13  *
       
    14  * Description: Telephony Multimedia Service
       
    15  *
       
    16  */
       
    17 
       
    18 #ifndef TMSCSDEVSOUNDOBSERVER_H
       
    19 #define TMSCSDEVSOUNDOBSERVER_H
       
    20 
       
    21 namespace TMS {
       
    22 
       
    23 /**
       
    24  *  Observer interface for knowing when audio streams have been
       
    25  *  successfully ramped up.
       
    26  *
       
    27  */
       
    28 class TMSCSPDevSoundObserver
       
    29     {
       
    30 public:
       
    31     virtual void DownlinkInitCompleted(TInt status) = 0;
       
    32     virtual void UplinkInitCompleted(TInt status) = 0;
       
    33 
       
    34     /**
       
    35      * Notification that Mic has been activated successfully
       
    36      *
       
    37      */
       
    38     virtual void UplinkActivatedSuccessfully() = 0;
       
    39 
       
    40     /**
       
    41      * Notification that speaker has been activated successfully
       
    42      *
       
    43      */
       
    44     virtual void DownlinkActivatedSuccessfully() = 0;
       
    45 
       
    46     /**
       
    47      * Notification that Mic initialisation failed.
       
    48      *
       
    49      */
       
    50     virtual void UplinkActivationFailed() = 0;
       
    51 
       
    52     /**
       
    53      * Notification that Speaker activation failed.
       
    54      *
       
    55      */
       
    56     virtual void DownlinkActivationFailed() = 0;
       
    57     };
       
    58 
       
    59 } //namespace TMS
       
    60 
       
    61 #endif // TMSCSDEVSOUNDOBSERVER_H