mmserv/tms/tmsserver/inc/tmsrtaudiohdlrobsrv.h
changeset 12 5a06f39ad45b
equal deleted inserted replaced
0:71ca22bcf22a 12:5a06f39ad45b
       
     1 /*
       
     2  * Copyright (c) 2010 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:  Observer interface for audio player.
       
    15  *
       
    16  */
       
    17 
       
    18 #ifndef TMSRTAUDIOHDLROBSRV_H
       
    19 #define TMSRTAUDIOHDLROBSRV_H
       
    20 
       
    21 // INCLUDES
       
    22 
       
    23 namespace TMS {
       
    24 
       
    25 // CLASS DECLARATION
       
    26 
       
    27 /**
       
    28  *  Observer interface for audio player.
       
    29  */
       
    30 class TMSRtAudioHdlrObsrv
       
    31     {
       
    32 public:
       
    33     /**
       
    34      * This method is called when TMSRingTone event occurs.
       
    35      *
       
    36      * Notified events:
       
    37      *  ECmdRingToneOpenComplete
       
    38      *  ECmdRingTonePlayComplete
       
    39      *
       
    40      * @param  aEvent
       
    41      *      Event descriptor.
       
    42      * @param  aError
       
    43      *      Operation status.
       
    44      * @param  aPlayer
       
    45      *      Indicates audio player that generated the event.
       
    46      */
       
    47     virtual void RtAudioHdlrEvent(TInt aEvent, TInt aError, TInt aPlayer) = 0;
       
    48     };
       
    49 
       
    50 } // namespace TMS
       
    51 
       
    52 #endif // TMSRTAUDIOHDLROBSRV_H
       
    53 
       
    54 // End of File