javauis/mmapi_qt/baseline/src/cmmaratecontrol.cpp
changeset 23 98ccebc37403
child 26 dc7c549001d5
equal deleted inserted replaced
21:2a9601315dfc 23:98ccebc37403
       
     1 /*
       
     2 * Copyright (c) 2002 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:  This class implements generic RateControl functionality.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 //  INCLUDE FILES
       
    20 #include <logger.h>
       
    21 #include <e32base.h>
       
    22 
       
    23 #include "cmmaratecontrol.h"
       
    24 
       
    25 CMMARateControl::CMMARateControl()
       
    26 {
       
    27     LOG( EJavaMMAPI, EInfo, "MMA:CMMARateControl::CMMARateControl");
       
    28 }
       
    29 
       
    30 CMMARateControl::~CMMARateControl()
       
    31 {
       
    32     LOG( EJavaMMAPI, EInfo, "MMA:CMMARateControl::~CMMARateControl");
       
    33 }
       
    34 
       
    35 const TDesC& CMMARateControl::ClassName() const
       
    36 {
       
    37     return KMMARateControlName;
       
    38 }
       
    39 
       
    40 TInt CMMARateControl::MaxRateL()
       
    41 {
       
    42     return KMMADefaultRate;
       
    43 }
       
    44 
       
    45 TInt CMMARateControl::MinRateL()
       
    46 {
       
    47     return KMMAMinRate;
       
    48 }
       
    49 
       
    50 //  END OF FILE