// SMUTSET.INL
//
// Copyright (c) 1998 Symbian Ltd.  All rights reserved.
//



inline void TSmsMessageSettings::SetConcatenated(TBool aBool)
	{
	iConcatenated=aBool;
	}

inline TBool TSmsMessageSettings::Concatenated() const
	{
	return iConcatenated;
	}

inline void TSmsMessageSettings::SetCompressed(TBool aBool)
	{
	iCompressed=aBool;
	}

inline TBool TSmsMessageSettings::Compressed() const
	{
	return iCompressed;
	}

inline void TSmsMessageSettings::SetAlphabet(TSmsDataCodingScheme::TSmsAlphabet aAlphabet)
	{
	iAlphabet=aAlphabet;
	}

inline TSmsDataCodingScheme::TSmsAlphabet TSmsMessageSettings::Alphabet() const
	{
	return iAlphabet;
	}


inline void TSmsMessageSettings::SetClass(TBool aClassDefined,TSmsDataCodingScheme::TSmsClass aClass)
	{
	iClassDefined=aClassDefined;
	iClass=aClass;
	}

inline TBool TSmsMessageSettings::Class(TSmsDataCodingScheme::TSmsClass& aClass) const
	{
	aClass=iClass;
	return iClassDefined;
	}

inline TSmsProgress::TSmsProgress(TSmsProgressType aType):
	iType(aType),
	iState(0),
	iError(KErrNone),
	iHdrNo(0),
	iHdrDone(0),
	iHdrCount(0),
	iRcpNo(0),
	iRcpDone(0),
	iRcpCount(0),
	iMsgNo(0),
	iMsgDone(0),
	iMsgCount(0)
	{
	}

inline void TSmsSettings::SetValidityPeriod(const TTimeIntervalMinutes& aTimeIntervalMinutes)
	{
	iValidityPeriodMinutes=aTimeIntervalMinutes;
	}

inline const TTimeIntervalMinutes& TSmsSettings::ValidityPeriod() const
	{
	return iValidityPeriodMinutes;
	}

inline void TSmsSettings::SetTimeout(const TTimeIntervalMicroSeconds32& aTimeIntervalMicroSeconds32)
	{
	iTimeoutMicroSeconds32=aTimeIntervalMicroSeconds32;
	}

inline const TTimeIntervalMicroSeconds32& TSmsSettings::Timeout() const
	{
	return iTimeoutMicroSeconds32;
	}

inline void TSmsSettings::SetSendRetryLimit(const TInt aRetryLimit)
	{
	iRetryLimit=aRetryLimit;
	}

inline TInt TSmsSettings::SendRetryLimit() const
	{
	return iRetryLimit;
	}

inline void TSmsSettings::SetDeleteSmsDeliversFromStores(TBool aBool)
	{
	iDeleteSmsDeliversFromStores=aBool;
	}

inline TBool TSmsSettings::DeleteSmsDeliversFromStores() const
	{
	return iDeleteSmsDeliversFromStores;
	}

inline void TSmsSettings::SetSmsServiceVisibility(TBool aBool)
	{
	iSmsServiceVisibility=aBool;
	}

inline TBool TSmsSettings::SmsServiceVisibility() const
	{
	return iSmsServiceVisibility;
	}

inline void TSmsSettings::SetCostPerMessage(TInt aCostPerMessage)
	{
	iCostPerMessage=aCostPerMessage;
	}

inline TInt TSmsSettings::CostPerMessage() const
	{
	return iCostPerMessage;
	}

inline void TSmsSettings::SetMessageSettings(const TSmsMessageSettings& aMessageSettings)
	{
	iMessageSettings=aMessageSettings;
	}

inline const TSmsMessageSettings& TSmsSettings::MessageSettings() const
	{
	return iMessageSettings;
	}

inline void TSmsSettings::SetServiceCenterAddress(const TGsmTelNumber& aServiceCenterAddress)
	{
	iServiceCenterAddress=aServiceCenterAddress;
	}

inline void TSmsSettings::ServiceCenterAddress(TGsmTelNumber& aServiceCenterAddress) const
	{
	aServiceCenterAddress=iServiceCenterAddress;
	}
