vtengines/videoteleng/Src/Base/CVtEngSettings.cpp
changeset 46 a1340495b0e1
parent 27 dcbddbbaf8fd
equal deleted inserted replaced
39:7510ce99d5ea 46:a1340495b0e1
    67     iObserverItems = new ( ELeave ) 
    67     iObserverItems = new ( ELeave ) 
    68         CArrayFixFlat<TObserverItem>( KVtEngObserverArrayGranularity );
    68         CArrayFixFlat<TObserverItem>( KVtEngObserverArrayGranularity );
    69 
    69 
    70     // Ear volume CR listener.
    70     // Ear volume CR listener.
    71     iCRProxy = &CVtEngUtility::CRProxy();
    71     iCRProxy = &CVtEngUtility::CRProxy();
       
    72 #if 0
    72     CreateDataObserverL( this, KCRUidInCallVolume, KTelIncallEarVolume, 
    73     CreateDataObserverL( this, KCRUidInCallVolume, KTelIncallEarVolume, 
    73         CCenRepNotifyHandler::EIntKey );   
    74         CCenRepNotifyHandler::EIntKey );   
    74     
    75     
    75     // IHF volume listener.
    76     // IHF volume listener.
    76     CreateDataObserverL( 
    77     CreateDataObserverL( 
    77         this, KCRUidInCallVolume, KTelIncallLoudspeakerVolume,
    78         this, KCRUidInCallVolume, KTelIncallLoudspeakerVolume,
    78         CCenRepNotifyHandler::EIntKey );
    79         CCenRepNotifyHandler::EIntKey );
    79     
    80 #endif    
    80     // Call duration listener.
    81     // Call duration listener.
    81     CreateDataObserverL( this, KCRUidLogs, KLogsShowCallDuration, 
    82     CreateDataObserverL( this, KCRUidLogs, KLogsShowCallDuration, 
    82         CCenRepNotifyHandler::EIntKey );
    83         CCenRepNotifyHandler::EIntKey );
    83 
    84 
    84     // Still image listener.
    85     // Still image listener.
   271 TInt CVtEngSettings::GetVolume(
   272 TInt CVtEngSettings::GetVolume(
   272     TInt& aVolume, 
   273     TInt& aVolume, 
   273     const TBool aHandsfree,
   274     const TBool aHandsfree,
   274     const TBool aInternal ) const
   275     const TBool aInternal ) const
   275     {
   276     {
   276     __VTPRINTEXIT( "Settings.GetVolume" )
   277     __VTPRINTENTER( "Settings.GetVolume" )
   277     TInt res( KErrNone );
   278     TInt res( KErrNone );
   278     if ( aInternal )
   279     if ( aInternal )
   279         {
   280         {
   280         if ( aHandsfree )
   281         if ( aHandsfree )
   281             {
   282             {