24
|
1 |
// Copyright (c) 1997-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 |
// Inline functions for CSmsPDUProcessor.
|
|
15 |
//
|
|
16 |
//
|
|
17 |
|
|
18 |
/**
|
|
19 |
@file
|
|
20 |
@internalAll
|
|
21 |
*/
|
|
22 |
|
|
23 |
inline TBool CSmsPDUProcessor::IsClass0Message() const
|
|
24 |
{
|
|
25 |
return iIsClass0Message;
|
|
26 |
}
|
|
27 |
|
|
28 |
inline TBool CSmsPDUProcessor::IsClass2Message() const
|
|
29 |
{
|
|
30 |
return iIsClass2Message;
|
|
31 |
}
|
|
32 |
|
|
33 |
inline TBool CSmsPDUProcessor::IsPIDType0() const
|
|
34 |
{
|
|
35 |
return iIsPIDType0;
|
|
36 |
}
|
|
37 |
|
|
38 |
inline TBool CSmsPDUProcessor::IsForwardMessageToClient() const
|
|
39 |
{
|
|
40 |
return iIsForwardMessageToClient;
|
|
41 |
}
|
|
42 |
|
|
43 |
inline void CSmsPDUProcessor::SetApplyAutoDeletionToClass2(TBool aSetting)
|
|
44 |
{
|
|
45 |
iOptionApplyAutoDeletionToClass2 = aSetting;
|
|
46 |
}
|
|
47 |
|
|
48 |
inline void CSmsPDUProcessor::SetDiscardType0Class0(TBool aSetting)
|
|
49 |
{
|
|
50 |
iOptionDiscardType0Class0 = aSetting;
|
|
51 |
}
|
|
52 |
|
|
53 |
inline TBool CSmsPDUProcessor::IsDiscardType0Class0() const
|
|
54 |
{
|
|
55 |
return iOptionDiscardType0Class0;
|
|
56 |
}
|
|
57 |
|
|
58 |
inline void CSmsPDUProcessor::SetDiscardType0Class2(TBool aSetting)
|
|
59 |
{
|
|
60 |
iOptionDiscardType0Class2 = aSetting;
|
|
61 |
}
|
|
62 |
|
|
63 |
inline TBool CSmsPDUProcessor::IsDiscardType0Class2() const
|
|
64 |
{
|
|
65 |
return iOptionDiscardType0Class2;
|
|
66 |
}
|
|
67 |
|
|
68 |
inline TPtrC CSmsPDUProcessor::DeliverReportBuffer() const
|
|
69 |
{
|
|
70 |
return iDeliverReportBuffer;
|
|
71 |
}
|
|
72 |
|
|
73 |
inline CSmsMessage* CSmsPDUProcessor::SmsMessage() const
|
|
74 |
{
|
|
75 |
return iSmsMessage;
|
|
76 |
}
|
|
77 |
|
|
78 |
inline CSmsMessage* CSmsPDUProcessor::OriginalSmsMessage() const
|
|
79 |
{
|
|
80 |
return iOriginalSmsMessage;
|
|
81 |
}
|
|
82 |
|
|
83 |
inline const TLogSmsPduData* CSmsPDUProcessor::SmsPDUData() const
|
|
84 |
{
|
|
85 |
return &iSmsPDUData;
|
|
86 |
}
|