|
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 "Eclipse Public License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.eclipse.org/legal/epl-v10.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 @file |
|
20 |
|
21 Gets the PDU type. |
|
22 |
|
23 Once a PDU has been constructed it cannot change its type as the SMS |
|
24 elements present differ. Hence there is no function to set the type. |
|
25 |
|
26 @return PDU type |
|
27 |
|
28 */ |
|
29 inline CSmsPDU::TSmsPDUType CSmsPDU::Type() const |
|
30 { |
|
31 return iSmsPDUType; |
|
32 } |
|
33 |
|
34 |
|
35 /** |
|
36 * Gets the Reply Path Error flag. |
|
37 * |
|
38 * @return True for Reply Path Error |
|
39 */ |
|
40 inline TBool CSmsDeliverReport::IsRPError() const |
|
41 { |
|
42 return iIsRPError; |
|
43 } |
|
44 |
|
45 |
|
46 /** |
|
47 * Sets the Reply Path Error flag. |
|
48 * |
|
49 * @param aIsRPError Set to True for Reply Path Error |
|
50 */ |
|
51 inline void CSmsDeliverReport::SetIsRPError(TBool aIsRPError) |
|
52 { |
|
53 iIsRPError=(TUint8) aIsRPError; |
|
54 } |
|
55 |
|
56 |
|
57 /** |
|
58 * Gets the Reply Path Error flag. |
|
59 * |
|
60 * @return True for Reply Path Error |
|
61 */ |
|
62 inline TBool CSmsSubmitReport::IsRPError() const |
|
63 { |
|
64 return iIsRPError; |
|
65 } |
|
66 |
|
67 |
|
68 /** |
|
69 * Sets the Reply Path Error flag. |
|
70 * |
|
71 * @param aIsRPError Set to True for Reply Path Error |
|
72 */ |
|
73 inline void CSmsSubmitReport::SetIsRPError(TBool aIsRPError) |
|
74 { |
|
75 iIsRPError=(TUint8) aIsRPError; |
|
76 } |
|
77 |
|
78 |
|
79 /** |
|
80 * Gets Paramater Indicator. |
|
81 * |
|
82 * @return True if Paramater Indicator is present |
|
83 */ |
|
84 inline TBool CSmsStatusReport::ParameterIndicatorPresent() const |
|
85 { |
|
86 return iParameterIndicatorPresent; |
|
87 } |
|
88 |
|
89 |
|
90 /** |
|
91 * Sets Paramater Indicator. |
|
92 * |
|
93 * @param aPresent Set to True to set Parameter Indicator Present |
|
94 */ |
|
95 inline void CSmsStatusReport::SetParameterIndicatorPresent(TBool aPresent) |
|
96 { |
|
97 iParameterIndicatorPresent=(TUint8) aPresent; |
|
98 } |