tsrc/musenginestub/src/musengtelephoneutils.cpp
changeset 0 f0cf47e981f9
child 32 73a1feb507fb
equal deleted inserted replaced
-1:000000000000 0:f0cf47e981f9
       
     1 /*
       
     2 * Copyright (c) 2005 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 // USER
       
    20 #include "musengtelephoneutils.h"
       
    21 
       
    22 // SYSTEM
       
    23 /*
       
    24 #include <centralrepository.h>
       
    25 #include <telephonyinternalcrkeys.h>
       
    26 */
       
    27 
       
    28 
       
    29 // -----------------------------------------------------------------------------
       
    30 //
       
    31 // -----------------------------------------------------------------------------
       
    32 //
       
    33 CMusEngTelephoneUtils* CMusEngTelephoneUtils::NewL()
       
    34     {
       
    35     CMusEngTelephoneUtils* self = new( ELeave ) CMusEngTelephoneUtils();
       
    36     CleanupStack::PushL( self );
       
    37     self->ConstructL();
       
    38     CleanupStack::Pop( self );
       
    39     return self;
       
    40     }
       
    41 
       
    42 
       
    43 // -----------------------------------------------------------------------------
       
    44 //
       
    45 // -----------------------------------------------------------------------------
       
    46 //
       
    47 CMusEngTelephoneUtils::~CMusEngTelephoneUtils()
       
    48     {
       
    49     }
       
    50 
       
    51 
       
    52 // -----------------------------------------------------------------------------
       
    53 //
       
    54 // -----------------------------------------------------------------------------
       
    55 //
       
    56 void CMusEngTelephoneUtils::LoudspeakerL( TBool aEnable, TBool aShowDialog )
       
    57     {
       
    58     }
       
    59 
       
    60 
       
    61 // -----------------------------------------------------------------------------
       
    62 //
       
    63 // -----------------------------------------------------------------------------
       
    64 //
       
    65 TBool CMusEngTelephoneUtils::IsLoudSpeakerEnabled() const
       
    66     {
       
    67     }
       
    68 
       
    69 
       
    70 // -----------------------------------------------------------------------------
       
    71 // Gets the CS call volume level.
       
    72 // Leaves if error occurs when accessing central repository.
       
    73 // -----------------------------------------------------------------------------
       
    74 //
       
    75 TInt CMusEngTelephoneUtils::GetVolumeL() const
       
    76     {
       
    77     }
       
    78 
       
    79 
       
    80 // -----------------------------------------------------------------------------
       
    81 // Sets the CS call volume level.
       
    82 // Leaves if error occurs when accessing central repository.
       
    83 // -----------------------------------------------------------------------------
       
    84 //
       
    85 void CMusEngTelephoneUtils::SetVolumeL( TInt aVolume )
       
    86     {
       
    87     }
       
    88 
       
    89 
       
    90 // -----------------------------------------------------------------------------
       
    91 //
       
    92 // -----------------------------------------------------------------------------
       
    93 //
       
    94 CMusEngTelephoneUtils::CMusEngTelephoneUtils()
       
    95     {
       
    96     }
       
    97 
       
    98 
       
    99 // -----------------------------------------------------------------------------
       
   100 //
       
   101 // -----------------------------------------------------------------------------
       
   102 //
       
   103 void CMusEngTelephoneUtils::ConstructL()
       
   104     {
       
   105     }
       
   106 
       
   107 
       
   108 // -----------------------------------------------------------------------------
       
   109 // Validates that requested volume level is valid (between 1-10) and if it is
       
   110 // not, modifies requested volume level to be valid.  Returns validated volume.
       
   111 // -----------------------------------------------------------------------------
       
   112 //
       
   113 TInt CMusEngTelephoneUtils::ValidateVolume( const TInt aVolume ) const
       
   114     {
       
   115     }
       
   116 
       
   117 
       
   118 
       
   119