epoc32/include/gsmupdu.inl
branchSymbian2
changeset 2 2fe1408b6811
parent 0 061f57f2323e
child 4 837f303aceeb
equal deleted inserted replaced
1:666f914201fb 2:2fe1408b6811
     1 gsmupdu.inl
     1 // Copyright (c) 1999-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 // Contains inline method implementations from classes defined in gsmupdu.h
       
    15 // 
       
    16 //
       
    17 
       
    18 
       
    19 
       
    20 
       
    21 /**
       
    22  @file
       
    23  
       
    24  Gets the PDU type.
       
    25  
       
    26  Once a PDU has been constructed it cannot change its type as the SMS
       
    27  elements present differ. Hence there is no function to set the type.
       
    28  
       
    29  @return PDU type 
       
    30  
       
    31 */
       
    32 inline CSmsPDU::TSmsPDUType CSmsPDU::Type() const
       
    33 	{
       
    34 	return iSmsPDUType;
       
    35 	}
       
    36 
       
    37 
       
    38 /**
       
    39  *  Gets the Reply Path Error flag.
       
    40  *  
       
    41  *  @return True for Reply Path Error 
       
    42  */
       
    43 inline TBool CSmsDeliverReport::IsRPError() const
       
    44 	{
       
    45 	return iIsRPError;
       
    46 	}
       
    47 
       
    48 
       
    49 /**
       
    50  *  Sets the Reply Path Error flag.
       
    51  *  
       
    52  *  @param aIsRPError Set to True for Reply Path Error 
       
    53  */
       
    54 inline void CSmsDeliverReport::SetIsRPError(TBool aIsRPError)
       
    55 	{
       
    56 	iIsRPError=(TUint8) aIsRPError;
       
    57 	}
       
    58 
       
    59 
       
    60 /**
       
    61  *  Gets the Reply Path Error flag.
       
    62  *  
       
    63  *  @return True for Reply Path Error 
       
    64  */
       
    65 inline TBool CSmsSubmitReport::IsRPError() const
       
    66 	{
       
    67 	return iIsRPError;
       
    68 	}
       
    69 
       
    70 
       
    71 /**
       
    72  *  Sets the Reply Path Error flag.
       
    73  *  
       
    74  *  @param aIsRPError Set to True for Reply Path Error 
       
    75  */
       
    76 inline void CSmsSubmitReport::SetIsRPError(TBool aIsRPError)
       
    77 	{
       
    78 	iIsRPError=(TUint8) aIsRPError;
       
    79 	}
       
    80 
       
    81 
       
    82 /**
       
    83  *  Gets Paramater Indicator.
       
    84  *  
       
    85  *  @return True if Paramater Indicator is present 
       
    86  */
       
    87 inline TBool CSmsStatusReport::ParameterIndicatorPresent() const
       
    88 	{
       
    89 	return iParameterIndicatorPresent;
       
    90 	}
       
    91 
       
    92 
       
    93 /**
       
    94  *  Sets Paramater Indicator.
       
    95  *  
       
    96  *  @param aPresent Set to True to set Parameter Indicator Present 
       
    97  */
       
    98 inline void CSmsStatusReport::SetParameterIndicatorPresent(TBool aPresent)
       
    99 	{
       
   100 	iParameterIndicatorPresent=(TUint8) aPresent;
       
   101 	}