profilesservices/ProfileEngine/WrapperSrc/CProEngToneSettingsImpl.cpp
changeset 59 4868a89ec1e3
parent 18 e3554c9069b6
child 63 cae55c3d1f20
equal deleted inserted replaced
56:d9e9413f30c9 59:4868a89ec1e3
   114 
   114 
   115 // -----------------------------------------------------------------------------
   115 // -----------------------------------------------------------------------------
   116 // CProEngToneSettingsImpl::
   116 // CProEngToneSettingsImpl::
   117 // -----------------------------------------------------------------------------
   117 // -----------------------------------------------------------------------------
   118 //
   118 //
   119 TInt CProEngToneSettingsImpl::SetRingingType( TProfileRingingType aRingingType )
   119 TInt CProEngToneSettingsImpl::SetRingingType( TProfileRingingType /*aRingingType*/ )
   120     {
   120     {
   121     if( iModifiableFlags & EProfileFlagRingingType )
   121     // since 10.1, ring type can't be set by user
   122         {
   122     return KErrNotSupported;
   123         iToneSettings.iRingingType = aRingingType;
       
   124         return KErrNone;
       
   125         }
       
   126     return KErrAccessDenied;
       
   127     }
   123     }
   128 
   124 
   129 // -----------------------------------------------------------------------------
   125 // -----------------------------------------------------------------------------
   130 // CProEngToneSettingsImpl::
   126 // CProEngToneSettingsImpl::
   131 // -----------------------------------------------------------------------------
   127 // -----------------------------------------------------------------------------