epoc32/include/gsmuetel.h
author William Roberts <williamr@symbian.org>
Tue, 16 Mar 2010 16:12:26 +0000
branchSymbian2
changeset 2 2fe1408b6811
parent 0 061f57f2323e
child 4 837f303aceeb
permissions -rw-r--r--
Final list of Symbian^2 public API header files
     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 the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
     5 // which accompanies this distribution, and is available
     6 // at the URL "http://www.symbianfoundation.org/legal/licencesv10.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 
    20 /**
    21  @file
    22 */
    23 
    24 #ifndef __GSMUETEL_H__
    25 #define __GSMUETEL_H__
    26 
    27 #include <e32base.h>
    28 #include <gsmunmspacemobmsg.h>
    29 #include <gsmuelem.h>
    30 
    31 
    32 /**
    33  *  Basic SMS class that contains some of the Etel mulit-mode SMS types.
    34  *  @publishedAll
    35  *  @released 
    36  */
    37 class TGsmSms
    38 	{
    39 public:
    40 	inline TGsmSms();
    41 	inline const TDesC8& Pdu() const;
    42 	inline void SetPdu(const TDesC8& aPdu);
    43 	inline const TGsmSmsTelNumber& Sca() const;
    44 	inline void SetSca(const TGsmSmsTelNumber& aSca);
    45 
    46 private:
    47 	NMobileSmsMessaging::TMobileSmsGsmTpdu iPdu;	///< Storage for the PDU
    48 	TGsmSmsTelNumber iSca;							///< Storage for the SCA
    49 	};
    50 
    51 /** Responsibility for submit/delivery reports. */
    52 	enum TSmsReportResponsibility
    53 		{
    54 	/** ME has report resposibility. */
    55 		ESmsReportME,
    56 	/** Client has report resposibility. */
    57 		ESmsReportClient
    58 		};
    59 	struct TSmsReportSetting
    60 /**
    61  *  Flags for report responsibility.
    62  *  @internalComponent
    63  */
    64 		{
    65 	/** Responsibility for delivery reports. */
    66 		TSmsReportResponsibility iDeliverReports;
    67 	/** Responsibility for submit reports. */
    68 		TSmsReportResponsibility iSubmitReports;
    69 		};
    70 
    71 #include <gsmuetel.inl>
    72 
    73 #endif // !defined __GSMUETEL_H__