mmserv/tms/tmsserver/inc/tmsrtplayerobsrv.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 ringing tone playing.
       
    15  *
       
    16  */
       
    17 
       
    18 #ifndef TMSRTPLAYEROBSRV_H
       
    19 #define TMSRTPLAYEROBSRV_H
       
    20 
       
    21 // INCLUDES
       
    22 #include <e32base.h>
       
    23 
       
    24 namespace TMS {
       
    25 
       
    26 // FORWARD DECLARATIONS
       
    27 class TMSRtPlayer;
       
    28 
       
    29 // CLASS DECLARATION
       
    30 
       
    31 /**
       
    32  *  Observer interface for TMSRingTonePlayer
       
    33  */
       
    34 class TMSRtPlayerObsrv
       
    35     {
       
    36 public:
       
    37     /**
       
    38      * This method is called when TMSRingTone event occurs.
       
    39      *
       
    40      * Notified events:
       
    41      *  ECmdRingToneOpenComplete
       
    42      *  ECmdRingTonePlayComplete
       
    43      *
       
    44      * @param  aEventType
       
    45      *      Event descriptor.
       
    46      *
       
    47      * @param  aError
       
    48      *      Operation status.
       
    49      *
       
    50      */
       
    51     virtual void RtPlayerEvent(TInt aEventType, TInt aError) = 0;
       
    52     };
       
    53 
       
    54 } //namespace TMS
       
    55 
       
    56 #endif // TMSRTPLAYEROBSRV_H
       
    57 
       
    58 // End of File