epoc32/include/gsmuetel.h
branchSymbian2
changeset 2 2fe1408b6811
parent 0 061f57f2323e
child 4 837f303aceeb
     1.1 --- a/epoc32/include/gsmuetel.h	Tue Nov 24 13:55:44 2009 +0000
     1.2 +++ b/epoc32/include/gsmuetel.h	Tue Mar 16 16:12:26 2010 +0000
     1.3 @@ -1,1 +1,73 @@
     1.4 -gsmuetel.h
     1.5 +// Copyright (c) 2001-2009 Nokia Corporation and/or its subsidiary(-ies).
     1.6 +// All rights reserved.
     1.7 +// This component and the accompanying materials are made available
     1.8 +// 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
     1.9 +// which accompanies this distribution, and is available
    1.10 +// at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
    1.11 +//
    1.12 +// Initial Contributors:
    1.13 +// Nokia Corporation - initial contribution.
    1.14 +//
    1.15 +// Contributors:
    1.16 +//
    1.17 +// Description:
    1.18 +// This file contains the header file of the etel functions that have to be adapted later
    1.19 +// 
    1.20 +//
    1.21 +
    1.22 +
    1.23 +
    1.24 +/**
    1.25 + @file
    1.26 +*/
    1.27 +
    1.28 +#ifndef __GSMUETEL_H__
    1.29 +#define __GSMUETEL_H__
    1.30 +
    1.31 +#include <e32base.h>
    1.32 +#include <gsmunmspacemobmsg.h>
    1.33 +#include <gsmuelem.h>
    1.34 +
    1.35 +
    1.36 +/**
    1.37 + *  Basic SMS class that contains some of the Etel mulit-mode SMS types.
    1.38 + *  @publishedAll
    1.39 + *  @released 
    1.40 + */
    1.41 +class TGsmSms
    1.42 +	{
    1.43 +public:
    1.44 +	inline TGsmSms();
    1.45 +	inline const TDesC8& Pdu() const;
    1.46 +	inline void SetPdu(const TDesC8& aPdu);
    1.47 +	inline const TGsmSmsTelNumber& Sca() const;
    1.48 +	inline void SetSca(const TGsmSmsTelNumber& aSca);
    1.49 +
    1.50 +private:
    1.51 +	NMobileSmsMessaging::TMobileSmsGsmTpdu iPdu;	///< Storage for the PDU
    1.52 +	TGsmSmsTelNumber iSca;							///< Storage for the SCA
    1.53 +	};
    1.54 +
    1.55 +/** Responsibility for submit/delivery reports. */
    1.56 +	enum TSmsReportResponsibility
    1.57 +		{
    1.58 +	/** ME has report resposibility. */
    1.59 +		ESmsReportME,
    1.60 +	/** Client has report resposibility. */
    1.61 +		ESmsReportClient
    1.62 +		};
    1.63 +	struct TSmsReportSetting
    1.64 +/**
    1.65 + *  Flags for report responsibility.
    1.66 + *  @internalComponent
    1.67 + */
    1.68 +		{
    1.69 +	/** Responsibility for delivery reports. */
    1.70 +		TSmsReportResponsibility iDeliverReports;
    1.71 +	/** Responsibility for submit reports. */
    1.72 +		TSmsReportResponsibility iSubmitReports;
    1.73 +		};
    1.74 +
    1.75 +#include <gsmuetel.inl>
    1.76 +
    1.77 +#endif // !defined __GSMUETEL_H__