src/SmsMtmSettings.cpp
TPtrC CSmsMtmSettings::GetDefaultScNumberL() const
    {
    // check if default SC is set
    const CSmsSettings& smsSettings = iSmsMtm->ServiceSettings();
    if (!smsSettings.ServiceCenterCount())
        {
        User::Leave(KErrNotFound);
        }
    
    TInt scDefaultIndex = smsSettings.DefaultServiceCenter();

    return smsSettings.GetServiceCenter(scDefaultIndex).Address();
    }
// ---------------------------------------------------------------------------
// CSmsMtmSettings::GetDefaultScNumberL() const
// Retrieves the default service center number.
// ---------------------------------------------------------------------------
//

:GetDefaultScNumberL() const
Retrieves the default service center number.
: GetDefaultScNumberL () const Retrieves the default service center number .
TPtrC CSmsMtmSettings::GetDefaultScNumberL() const
    {
    const CSmsSettings& smsSettings = iSmsMtm->ServiceSettings();
    if (!smsSettings.ServiceCenterCount())
        {
        User::Leave(KErrNotFound);
        }
    TInt scDefaultIndex = smsSettings.DefaultServiceCenter();
    return smsSettings.GetServiceCenter(scDefaultIndex).Address();
    }
TPtrC CSmsMtmSettings :: GetDefaultScNumberL ( ) const { const CSmsSettings & smsSettings = iSmsMtm -> ServiceSettings ( ) ; if ( ! smsSettings . ServiceCenterCount ( ) ) { User :: Leave ( KErrNotFound ) ; } TInt scDefaultIndex = smsSettings . DefaultServiceCenter ( ) ; return smsSettings . GetServiceCenter ( scDefaultIndex ) . Address ( ) ; }
CSmsMtmSettings::GetDefaultScNumberL() const
Retrieves the default service center number.
CSmsMtmSettings :: GetDefaultScNumberL () const Retrieves the default service center number .
// check if default SC is set
