epoc32/include/msvrcpt.inl
branchSymbian2
changeset 2 2fe1408b6811
parent 0 061f57f2323e
     1.1 --- a/epoc32/include/msvrcpt.inl	Tue Nov 24 13:55:44 2009 +0000
     1.2 +++ b/epoc32/include/msvrcpt.inl	Tue Mar 16 16:12:26 2010 +0000
     1.3 @@ -1,1 +1,83 @@
     1.4 -msvrcpt.inl
     1.5 +// Copyright (c) 1998-2009 Nokia Corporation and/or its subsidiary(-ies).
     1.6 +// All rights reserved.
     1.7 +// This component and the accompanying materials are made available
     1.8 +// 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.9 +// which accompanies this distribution, and is available
    1.10 +// at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
    1.11 +//
    1.12 +// Initial Contributors:
    1.13 +// Nokia Corporation - initial contribution.
    1.14 +//
    1.15 +// Contributors:
    1.16 +//
    1.17 +// Description:
    1.18 +//
    1.19 +
    1.20 +
    1.21 +inline CMsvRecipient::TRecipientStatus CMsvRecipient::Status() const
    1.22 +/** Gets the message sending status for the recipient.
    1.23 +
    1.24 +@return Message sending status for the recipient */
    1.25 +	{
    1.26 +	return iStatus;
    1.27 +	}
    1.28 +
    1.29 +inline void CMsvRecipient::SetStatus(TRecipientStatus aStatus)
    1.30 +/** Sets the message sending status for the recipient.
    1.31 +
    1.32 +@param aStatus Message sending status for the recipient */
    1.33 +	{
    1.34 +	iStatus=aStatus;
    1.35 +	}
    1.36 +
    1.37 +inline TInt CMsvRecipient::Error() const
    1.38 +/** Gets any error code for message sending to the recipient.
    1.39 +
    1.40 +@return System wide error code */
    1.41 +	{
    1.42 +	return iError;
    1.43 +	}
    1.44 +
    1.45 +inline void CMsvRecipient::SetError(TInt aError)
    1.46 +/** Sets any error code for message sending to the recipient.
    1.47 +
    1.48 +@param aError System wide error code */
    1.49 +	{
    1.50 +	iError=aError;
    1.51 +	}
    1.52 +
    1.53 +inline const TTime& CMsvRecipient::Time() const
    1.54 +/** Gets the (const) time for message sending to the recipient.
    1.55 +
    1.56 +@return Time for message sending to the recipient */
    1.57 +	{
    1.58 +	return iTime;
    1.59 +	}
    1.60 +
    1.61 +inline TTime& CMsvRecipient::Time()
    1.62 +/** Gets the (writable) time for message sending to the recipient.
    1.63 +
    1.64 +@return Time for message sending to the recipient */
    1.65 +	{
    1.66 +	return iTime;
    1.67 +	}
    1.68 +
    1.69 +inline TInt CMsvRecipient::Retries() const
    1.70 +/** Gets the number of retries for message sending to the recipient.
    1.71 +
    1.72 +@return Number of retries */
    1.73 +	{
    1.74 +	return iRetries;
    1.75 +	}
    1.76 +
    1.77 +inline void CMsvRecipient::IncreaseRetries()
    1.78 +/** Increments the number of retries for message sending to the recipient. */
    1.79 +	{
    1.80 +	iRetries++;
    1.81 +	}
    1.82 +
    1.83 +inline void CMsvRecipient::ResetRetries()
    1.84 +/** Resets the number of retries for message sending to the recipient to zero. */
    1.85 +	{
    1.86 +	iRetries=0;
    1.87 +	}