epoc32/include/msvrcpt.inl
branchSymbian2
changeset 2 2fe1408b6811
parent 0 061f57f2323e
equal deleted inserted replaced
1:666f914201fb 2:2fe1408b6811
     1 msvrcpt.inl
     1 // Copyright (c) 1998-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // 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
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 //
       
    15 
       
    16 
       
    17 inline CMsvRecipient::TRecipientStatus CMsvRecipient::Status() const
       
    18 /** Gets the message sending status for the recipient.
       
    19 
       
    20 @return Message sending status for the recipient */
       
    21 	{
       
    22 	return iStatus;
       
    23 	}
       
    24 
       
    25 inline void CMsvRecipient::SetStatus(TRecipientStatus aStatus)
       
    26 /** Sets the message sending status for the recipient.
       
    27 
       
    28 @param aStatus Message sending status for the recipient */
       
    29 	{
       
    30 	iStatus=aStatus;
       
    31 	}
       
    32 
       
    33 inline TInt CMsvRecipient::Error() const
       
    34 /** Gets any error code for message sending to the recipient.
       
    35 
       
    36 @return System wide error code */
       
    37 	{
       
    38 	return iError;
       
    39 	}
       
    40 
       
    41 inline void CMsvRecipient::SetError(TInt aError)
       
    42 /** Sets any error code for message sending to the recipient.
       
    43 
       
    44 @param aError System wide error code */
       
    45 	{
       
    46 	iError=aError;
       
    47 	}
       
    48 
       
    49 inline const TTime& CMsvRecipient::Time() const
       
    50 /** Gets the (const) time for message sending to the recipient.
       
    51 
       
    52 @return Time for message sending to the recipient */
       
    53 	{
       
    54 	return iTime;
       
    55 	}
       
    56 
       
    57 inline TTime& CMsvRecipient::Time()
       
    58 /** Gets the (writable) time for message sending to the recipient.
       
    59 
       
    60 @return Time for message sending to the recipient */
       
    61 	{
       
    62 	return iTime;
       
    63 	}
       
    64 
       
    65 inline TInt CMsvRecipient::Retries() const
       
    66 /** Gets the number of retries for message sending to the recipient.
       
    67 
       
    68 @return Number of retries */
       
    69 	{
       
    70 	return iRetries;
       
    71 	}
       
    72 
       
    73 inline void CMsvRecipient::IncreaseRetries()
       
    74 /** Increments the number of retries for message sending to the recipient. */
       
    75 	{
       
    76 	iRetries++;
       
    77 	}
       
    78 
       
    79 inline void CMsvRecipient::ResetRetries()
       
    80 /** Resets the number of retries for message sending to the recipient to zero. */
       
    81 	{
       
    82 	iRetries=0;
       
    83 	}