multimediacommscontroller/mmccshared/inc/mccrateadaptationobserver.h
changeset 0 1bce908db942
equal deleted inserted replaced
-1:000000000000 0:1bce908db942
       
     1 /*
       
     2 * Copyright (c) 2006 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:    
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 
       
    21 #ifndef MCCRATEADAPTATIONOBSERVER_H
       
    22 #define MCCRATEADAPTATIONOBSERVER_H
       
    23 
       
    24 //  INCLUDES
       
    25 #include <e32base.h>
       
    26 
       
    27 // CONSTANTS
       
    28 
       
    29 // MACROS
       
    30 
       
    31 // DATA TYPES
       
    32 
       
    33 // FUNCTION PROTOTYPES
       
    34 
       
    35 // FORWARD DECLARATIONS
       
    36 class TMccEvent;
       
    37 
       
    38 // CLASS DECLARATION
       
    39 
       
    40 /**
       
    41 *
       
    42 */
       
    43 class MMccRateAdaptationObserver
       
    44     {
       
    45     public:
       
    46     
       
    47         enum TAlertType
       
    48             {
       
    49             ERateAdaptationNotPossible
       
    50             };
       
    51         
       
    52     public:
       
    53     
       
    54         virtual TInt RateAdaptationRequest( const TMccEvent& aInputData, 
       
    55                                             TMccEvent& aOutputData ) = 0;
       
    56                                             
       
    57         virtual TInt RateAdaptationAlert( const TMccEvent& aAdaptationData,
       
    58                                           TAlertType aAlertType ) = 0;
       
    59 
       
    60     };
       
    61 
       
    62 #endif      // MCCRATEADAPTATIONOBSERVER_H   
       
    63             
       
    64 // End of File