mmserv/tms/tmscallserver/inc/mcspdevsoundobserver.h
branchRCL_3
changeset 17 3570217d8c21
parent 13 f5c5c82a163e
child 18 2eb3b066cc7d
equal deleted inserted replaced
13:f5c5c82a163e 17:3570217d8c21
     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 MCSPDEVSOUNDOBSERVER_H
       
    19 #define MCSPDEVSOUNDOBSERVER_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 x) = 0;
       
    32     virtual void UplinkInitCompleted(TInt x) = 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 // MCSPDEVSOUNDOBSERVER_H