24
|
1 |
// Copyright (c) 2001-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 |
// Constructor.
|
|
15 |
//
|
|
16 |
//
|
|
17 |
|
|
18 |
/**
|
|
19 |
@file
|
|
20 |
@publishedAll
|
|
21 |
@released
|
|
22 |
*/
|
|
23 |
inline TGsmSms::TGsmSms()
|
|
24 |
{
|
|
25 |
}
|
|
26 |
|
|
27 |
|
|
28 |
/**
|
|
29 |
* Gets a descriptor containing the PDU.
|
|
30 |
*
|
|
31 |
* @return Descriptor containing the PDU
|
|
32 |
*/
|
|
33 |
inline const TDesC8& TGsmSms::Pdu() const
|
|
34 |
{
|
|
35 |
return iPdu;
|
|
36 |
}
|
|
37 |
|
|
38 |
|
|
39 |
/**
|
|
40 |
* Sets the PDU.
|
|
41 |
*
|
|
42 |
* @param aPdu Descriptor containing the PDU
|
|
43 |
*/
|
|
44 |
inline void TGsmSms::SetPdu(const TDesC8& aPdu)
|
|
45 |
{
|
|
46 |
iPdu = aPdu;
|
|
47 |
}
|
|
48 |
|
|
49 |
|
|
50 |
/**
|
|
51 |
* Gets the Service Centre Address.
|
|
52 |
*
|
|
53 |
* @return Service Centre Address
|
|
54 |
*/
|
|
55 |
inline const TGsmSmsTelNumber& TGsmSms::Sca() const
|
|
56 |
{
|
|
57 |
return iSca;
|
|
58 |
}
|
|
59 |
|
|
60 |
|
|
61 |
/**
|
|
62 |
* Sets the Service Centre Address.
|
|
63 |
*
|
|
64 |
* @param aSca Service Centre Address
|
|
65 |
*/
|
|
66 |
inline void TGsmSms::SetSca(const TGsmSmsTelNumber& aSca)
|
|
67 |
{
|
|
68 |
iSca = aSca;
|
|
69 |
}
|