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 |
// This file contains the header file of the etel functions that have to be adapted later
|
|
15 |
//
|
|
16 |
//
|
|
17 |
|
|
18 |
/**
|
|
19 |
@file
|
|
20 |
* @publishedAll
|
|
21 |
*/
|
|
22 |
|
|
23 |
#ifndef __GSMUETEL_H__
|
|
24 |
#define __GSMUETEL_H__
|
|
25 |
|
|
26 |
#include <e32base.h>
|
|
27 |
#include <gsmunmspacemobmsg.h>
|
|
28 |
#include <gsmuelem.h>
|
|
29 |
|
|
30 |
|
|
31 |
/**
|
|
32 |
* Basic SMS class that contains some of the Etel mulit-mode SMS types.
|
|
33 |
* @publishedAll
|
|
34 |
* @released
|
|
35 |
*/
|
|
36 |
class TGsmSms
|
|
37 |
{
|
|
38 |
public:
|
|
39 |
inline TGsmSms();
|
|
40 |
inline const TDesC8& Pdu() const;
|
|
41 |
inline void SetPdu(const TDesC8& aPdu);
|
|
42 |
inline const TGsmSmsTelNumber& Sca() const;
|
|
43 |
inline void SetSca(const TGsmSmsTelNumber& aSca);
|
|
44 |
|
|
45 |
private:
|
|
46 |
NMobileSmsMessaging::TMobileSmsGsmTpdu iPdu; //< Storage for the PDU
|
|
47 |
TGsmSmsTelNumber iSca; //< Storage for the SCA
|
|
48 |
};
|
|
49 |
|
|
50 |
/** Responsibility for submit/delivery reports. */
|
|
51 |
enum TSmsReportResponsibility
|
|
52 |
{
|
|
53 |
/** ME has report resposibility. */
|
|
54 |
ESmsReportME,
|
|
55 |
/** Client has report resposibility. */
|
|
56 |
ESmsReportClient
|
|
57 |
};
|
|
58 |
struct TSmsReportSetting
|
|
59 |
/**
|
|
60 |
* Flags for report responsibility.
|
|
61 |
* @publishedAll
|
|
62 |
*/
|
|
63 |
{
|
|
64 |
/** Responsibility for delivery reports. */
|
|
65 |
TSmsReportResponsibility iDeliverReports;
|
|
66 |
/** Responsibility for submit reports. */
|
|
67 |
TSmsReportResponsibility iSubmitReports;
|
|
68 |
};
|
|
69 |
|
|
70 |
#include <gsmuetel.inl>
|
|
71 |
|
|
72 |
#endif // !defined __GSMUETEL_H__
|