epoc32/include/smsuset.inl
branchSymbian3
changeset 4 837f303aceeb
parent 2 2fe1408b6811
     1.1 --- a/epoc32/include/smsuset.inl	Wed Mar 31 12:27:01 2010 +0100
     1.2 +++ b/epoc32/include/smsuset.inl	Wed Mar 31 12:33:34 2010 +0100
     1.3 @@ -1,9 +1,9 @@
     1.4  // Copyright (c) 1999-2009 Nokia Corporation and/or its subsidiary(-ies).
     1.5  // All rights reserved.
     1.6  // This component and the accompanying materials are made available
     1.7 -// under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
     1.8 +// under the terms of "Eclipse Public License v1.0"
     1.9  // which accompanies this distribution, and is available
    1.10 -// at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
    1.11 +// at the URL "http://www.eclipse.org/legal/epl-v10.html".
    1.12  //
    1.13  // Initial Contributors:
    1.14  // Nokia Corporation - initial contribution.
    1.15 @@ -16,9 +16,6 @@
    1.16  // 
    1.17  //
    1.18  
    1.19 -
    1.20 -
    1.21 -
    1.22  /**
    1.23   @file
    1.24   
    1.25 @@ -28,10 +25,9 @@
    1.26   
    1.27  */
    1.28  inline const TTimeIntervalMicroSeconds32& TSmsSettings::Timeout() const
    1.29 -	{
    1.30 -	return iTimeoutMicroSeconds32;
    1.31 -	}
    1.32 -
    1.33 +    {
    1.34 +    return iTimeoutMicroSeconds32;
    1.35 +    }
    1.36  
    1.37  /**
    1.38   *  Sets the time-out value.
    1.39 @@ -39,10 +35,9 @@
    1.40   *  @param aTimeout Time-out value 
    1.41   */
    1.42  inline void TSmsSettings::SetTimeout(const TTimeIntervalMicroSeconds32& aTimeout)
    1.43 -	{
    1.44 -	iTimeoutMicroSeconds32=aTimeout;
    1.45 -	}
    1.46 -
    1.47 +    {
    1.48 +    iTimeoutMicroSeconds32=aTimeout;
    1.49 +    }
    1.50  
    1.51  /**
    1.52   *  Gets the maximum number of attempts to send an SMS.
    1.53 @@ -50,10 +45,9 @@
    1.54   *  @return Maximum number of attempts to send a SMS 
    1.55   */
    1.56  inline TInt TSmsSettings::SendTryLimit() const
    1.57 -	{
    1.58 -	return iSendTryLimit;
    1.59 -	}
    1.60 -
    1.61 +    {
    1.62 +    return iSendTryLimit;
    1.63 +    }
    1.64  
    1.65  /**
    1.66   *  Sets the maximum number of attempts to send an SMS.
    1.67 @@ -61,10 +55,9 @@
    1.68   *  @param aLimit Maximum number of attempts to send a SMS 
    1.69   */
    1.70  inline void TSmsSettings::SetSendTryLimit(TInt aLimit)
    1.71 -	{
    1.72 -	iSendTryLimit=aLimit;
    1.73 -	}
    1.74 -
    1.75 +    {
    1.76 +    iSendTryLimit=aLimit;
    1.77 +    }
    1.78  
    1.79  /**
    1.80   *  Gets whether the PDU can be deleted from the SIM.
    1.81 @@ -72,10 +65,9 @@
    1.82   *  @return True if the PDU can be deleted from the SIM 
    1.83   */
    1.84  inline TBool TSmsSettings::DeletePDUsFromSIM() const
    1.85 -	{
    1.86 -	return iFlags&ESmsFlagDeletePDUsFromSIM;
    1.87 -	}
    1.88 -
    1.89 +    {
    1.90 +    return iFlags&ESmsFlagDeletePDUsFromSIM;
    1.91 +    }
    1.92  
    1.93  /**
    1.94   *  Sets whether the PDU can be deleted from the SIM.
    1.95 @@ -83,10 +75,9 @@
    1.96   *  @param aDelete True if the PDU can be deleted from the SIM 
    1.97   */
    1.98  inline void TSmsSettings::SetDeletePDUsFromSIM(TBool aDelete)
    1.99 -	{
   1.100 -	iFlags=aDelete? iFlags|ESmsFlagDeletePDUsFromSIM: iFlags&(~ESmsFlagDeletePDUsFromSIM);
   1.101 -	}
   1.102 -
   1.103 +    {
   1.104 +    iFlags=aDelete? iFlags|ESmsFlagDeletePDUsFromSIM: iFlags&(~ESmsFlagDeletePDUsFromSIM);
   1.105 +    }
   1.106  
   1.107  /**
   1.108   *  Gets whether the PDU can be deleted from the phone store.
   1.109 @@ -94,10 +85,9 @@
   1.110   *  @return True if the PDU can be deleted from the phone store 
   1.111   */
   1.112  inline TBool TSmsSettings::DeletePDUsFromPhoneStores() const
   1.113 -	{
   1.114 -	return iFlags&ESmsFlagDeletePDUsFromPhoneStores;
   1.115 -	}
   1.116 -
   1.117 +    {
   1.118 +    return iFlags&ESmsFlagDeletePDUsFromPhoneStores;
   1.119 +    }
   1.120  
   1.121  /**
   1.122   *  Sets whether the PDU can be deleted from the phone store.
   1.123 @@ -105,10 +95,9 @@
   1.124   *  @param aDelete True if the PDU can be deleted from phone store 
   1.125   */
   1.126  inline void TSmsSettings::SetDeletePDUsFromPhoneStores(TBool aDelete)
   1.127 -	{
   1.128 -	iFlags=aDelete? iFlags|ESmsFlagDeletePDUsFromPhoneStores: iFlags&(~ESmsFlagDeletePDUsFromPhoneStores);
   1.129 -	}
   1.130 -
   1.131 +    {
   1.132 +    iFlags=aDelete? iFlags|ESmsFlagDeletePDUsFromPhoneStores: iFlags&(~ESmsFlagDeletePDUsFromPhoneStores);
   1.133 +    }
   1.134  
   1.135  /**
   1.136   *  Gets whether the PDU can be deleted from the combined store.
   1.137 @@ -116,10 +105,9 @@
   1.138   *  @return True if the PDU can be deleted from the combined store 
   1.139   */
   1.140  inline TBool TSmsSettings::DeletePDUsFromCombinedStores() const
   1.141 -	{
   1.142 -	return iFlags&ESmsFlagDeletePDUsFromCombinedStores;
   1.143 -	}
   1.144 -
   1.145 +    {
   1.146 +    return iFlags&ESmsFlagDeletePDUsFromCombinedStores;
   1.147 +    }
   1.148  
   1.149  /**
   1.150   *  Sets whether the PDU can be deleted from the combined store.
   1.151 @@ -127,10 +115,9 @@
   1.152   *  @param aDelete True if the PDU can be deleted from the combined store 
   1.153   */
   1.154  inline void TSmsSettings::SetDeletePDUsFromCombinedStores(TBool aDelete)
   1.155 -	{
   1.156 -	iFlags=aDelete? iFlags|ESmsFlagDeletePDUsFromCombinedStores: iFlags&(~ESmsFlagDeletePDUsFromCombinedStores);
   1.157 -	}
   1.158 -
   1.159 +    {
   1.160 +    iFlags=aDelete? iFlags|ESmsFlagDeletePDUsFromCombinedStores: iFlags&(~ESmsFlagDeletePDUsFromCombinedStores);
   1.161 +    }
   1.162  
   1.163  /**
   1.164   *  Gets the value of the Reassembly store life time.
   1.165 @@ -138,10 +125,9 @@
   1.166   *  @return Reassembly store life time 
   1.167   */
   1.168  inline const TTimeIntervalMinutes& TSmsSettings::ReassemblyLifetime() const
   1.169 -	{
   1.170 -	return iReassemblyLifetime;
   1.171 -	}
   1.172 -
   1.173 +    {
   1.174 +    return iReassemblyLifetime;
   1.175 +    }
   1.176  
   1.177  /**
   1.178   *  Sets the value of the Reassembly store life time.
   1.179 @@ -149,10 +135,9 @@
   1.180   *  @param aReassemblyLifetime Reassembly store life time 
   1.181   */
   1.182  inline void TSmsSettings::SetReassemblyLifetime(const TTimeIntervalMinutes& aReassemblyLifetime)
   1.183 -	{
   1.184 -	iReassemblyLifetime=aReassemblyLifetime;
   1.185 -	}
   1.186 -
   1.187 +    {
   1.188 +    iReassemblyLifetime=aReassemblyLifetime;
   1.189 +    }
   1.190  
   1.191  /**
   1.192   *  Gets the value of the segmentation store multiplier.
   1.193 @@ -160,10 +145,9 @@
   1.194   *  @return Segmentation store multiplier 
   1.195   */
   1.196  inline TInt TSmsSettings::KSegmentationLifetimeMultiplier() const
   1.197 -	{
   1.198 -	return iKSegmentationLifetimeMultiplier;
   1.199 -	}
   1.200 -
   1.201 +    {
   1.202 +    return iKSegmentationLifetimeMultiplier;
   1.203 +    }
   1.204  
   1.205  /**
   1.206   *  Sets the value of the segmentation store multiplier.
   1.207 @@ -171,10 +155,9 @@
   1.208   *  @param aKSegmentationLifetimeMultiplier Segmentation store multiplier 
   1.209   */
   1.210  inline void TSmsSettings::SetKSegmentationLifetimeMultiplier(TInt aKSegmentationLifetimeMultiplier)
   1.211 -	{
   1.212 -	iKSegmentationLifetimeMultiplier=aKSegmentationLifetimeMultiplier;
   1.213 -	}
   1.214 -
   1.215 +    {
   1.216 +    iKSegmentationLifetimeMultiplier=aKSegmentationLifetimeMultiplier;
   1.217 +    }
   1.218  
   1.219  /**
   1.220   *  Gets the value of the modem initialisation timeout duration.
   1.221 @@ -182,10 +165,9 @@
   1.222   *  @return Modem initialisation timeout duration 
   1.223   */
   1.224  inline const TTimeIntervalMicroSeconds32& TSmsSettings::ModemInitializationTimeout() const
   1.225 -	{
   1.226 -	return iModemInitializationTimeoutMicroSeconds32;
   1.227 -	}
   1.228 -
   1.229 +    {
   1.230 +    return iModemInitializationTimeoutMicroSeconds32;
   1.231 +    }
   1.232  
   1.233  /**
   1.234   *  Sets the value of the modem initialisation timeout duration.
   1.235 @@ -193,10 +175,9 @@
   1.236   *  @param aTimeout Modem initialisation timeout duration 
   1.237   */
   1.238  inline void TSmsSettings::SetModemInitializationTimeout(const TTimeIntervalMicroSeconds32& aTimeout)
   1.239 -	{
   1.240 -	iModemInitializationTimeoutMicroSeconds32=aTimeout;
   1.241 -	}
   1.242 -
   1.243 +    {
   1.244 +    iModemInitializationTimeoutMicroSeconds32=aTimeout;
   1.245 +    }
   1.246  
   1.247  /**
   1.248   *  Gets the Send Try Timeout value
   1.249 @@ -204,10 +185,9 @@
   1.250   *  @return Time-out value
   1.251   */
   1.252  inline const TTimeIntervalMicroSeconds32& TSmsSettings::SendTryTimeout() const
   1.253 -	{
   1.254 -	return iSendTryTimeoutMicroSeconds32;
   1.255 -	}
   1.256 -
   1.257 +    {
   1.258 +    return iSendTryTimeoutMicroSeconds32;
   1.259 +    }
   1.260  
   1.261  /**
   1.262   *  Sets the Send Try Timeout value.
   1.263 @@ -215,10 +195,9 @@
   1.264   *  @param aTimeout Time-out value
   1.265   */
   1.266  inline void TSmsSettings::SetSendTryTimeout(const TTimeIntervalMicroSeconds32& aTimeout)
   1.267 -	{
   1.268 -	iSendTryTimeoutMicroSeconds32=aTimeout;
   1.269 -	}
   1.270 -
   1.271 +    {
   1.272 +    iSendTryTimeoutMicroSeconds32=aTimeout;
   1.273 +    }
   1.274  
   1.275  /**
   1.276   *  Gets the Boot Timer Timeout value
   1.277 @@ -230,7 +209,6 @@
   1.278      return iBootTimerTimeout32;
   1.279      }
   1.280  
   1.281 -
   1.282  /**
   1.283   *  Sets the Boot Timer Timeout value
   1.284   *