1.1 --- a/epoc32/include/gsmupdu.inl Tue Nov 24 13:55:44 2009 +0000
1.2 +++ b/epoc32/include/gsmupdu.inl Tue Mar 16 16:12:26 2010 +0000
1.3 @@ -1,1 +1,101 @@
1.4 -gsmupdu.inl
1.5 +// Copyright (c) 1999-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 +// Contains inline method implementations from classes defined in gsmupdu.h
1.19 +//
1.20 +//
1.21 +
1.22 +
1.23 +
1.24 +
1.25 +/**
1.26 + @file
1.27 +
1.28 + Gets the PDU type.
1.29 +
1.30 + Once a PDU has been constructed it cannot change its type as the SMS
1.31 + elements present differ. Hence there is no function to set the type.
1.32 +
1.33 + @return PDU type
1.34 +
1.35 +*/
1.36 +inline CSmsPDU::TSmsPDUType CSmsPDU::Type() const
1.37 + {
1.38 + return iSmsPDUType;
1.39 + }
1.40 +
1.41 +
1.42 +/**
1.43 + * Gets the Reply Path Error flag.
1.44 + *
1.45 + * @return True for Reply Path Error
1.46 + */
1.47 +inline TBool CSmsDeliverReport::IsRPError() const
1.48 + {
1.49 + return iIsRPError;
1.50 + }
1.51 +
1.52 +
1.53 +/**
1.54 + * Sets the Reply Path Error flag.
1.55 + *
1.56 + * @param aIsRPError Set to True for Reply Path Error
1.57 + */
1.58 +inline void CSmsDeliverReport::SetIsRPError(TBool aIsRPError)
1.59 + {
1.60 + iIsRPError=(TUint8) aIsRPError;
1.61 + }
1.62 +
1.63 +
1.64 +/**
1.65 + * Gets the Reply Path Error flag.
1.66 + *
1.67 + * @return True for Reply Path Error
1.68 + */
1.69 +inline TBool CSmsSubmitReport::IsRPError() const
1.70 + {
1.71 + return iIsRPError;
1.72 + }
1.73 +
1.74 +
1.75 +/**
1.76 + * Sets the Reply Path Error flag.
1.77 + *
1.78 + * @param aIsRPError Set to True for Reply Path Error
1.79 + */
1.80 +inline void CSmsSubmitReport::SetIsRPError(TBool aIsRPError)
1.81 + {
1.82 + iIsRPError=(TUint8) aIsRPError;
1.83 + }
1.84 +
1.85 +
1.86 +/**
1.87 + * Gets Paramater Indicator.
1.88 + *
1.89 + * @return True if Paramater Indicator is present
1.90 + */
1.91 +inline TBool CSmsStatusReport::ParameterIndicatorPresent() const
1.92 + {
1.93 + return iParameterIndicatorPresent;
1.94 + }
1.95 +
1.96 +
1.97 +/**
1.98 + * Sets Paramater Indicator.
1.99 + *
1.100 + * @param aPresent Set to True to set Parameter Indicator Present
1.101 + */
1.102 +inline void CSmsStatusReport::SetParameterIndicatorPresent(TBool aPresent)
1.103 + {
1.104 + iParameterIndicatorPresent=(TUint8) aPresent;
1.105 + }