epoc32/include/msvrcpt.h
branchSymbian2
changeset 3 e1b950c65cb4
parent 2 2fe1408b6811
child 4 837f303aceeb
     1.1 --- a/epoc32/include/msvrcpt.h	Tue Mar 16 16:12:26 2010 +0000
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,69 +0,0 @@
     1.4 -// Copyright (c) 1998-2009 Nokia Corporation and/or its subsidiary(-ies).
     1.5 -// All rights reserved.
     1.6 -// This component and the accompanying materials are made available
     1.7 -// 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.8 -// which accompanies this distribution, and is available
     1.9 -// at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
    1.10 -//
    1.11 -// Initial Contributors:
    1.12 -// Nokia Corporation - initial contribution.
    1.13 -//
    1.14 -// Contributors:
    1.15 -//
    1.16 -// Description:
    1.17 -//
    1.18 -
    1.19 -#if !defined(__MSVRCPT_H__)
    1.20 -#define __MSVRCPT_H__
    1.21 -
    1.22 -class RWriteStream;
    1.23 -
    1.24 -//**********************************
    1.25 -// CMsvRecipient
    1.26 -//**********************************
    1.27 -//
    1.28 -// Base class for  multiple recipients
    1.29 -//
    1.30 -
    1.31 -class CMsvRecipient : public CBase
    1.32 -/** Base class for information relating to a message recipient. 
    1.33 -@publishedAll
    1.34 -@released
    1.35 -*/
    1.36 -	{
    1.37 -public:
    1.38 -	/** Message sending status for a recipient. 
    1.39 -@publishedAll
    1.40 -@released
    1.41 -*/
    1.42 -	enum TRecipientStatus 
    1.43 -							{	
    1.44 -	/** Message is not sent. */
    1.45 -							ENotYetSent=0,
    1.46 -	/** Message has been sent. */
    1.47 -							ESentSuccessfully=1,
    1.48 -	/** Message sending failed. */
    1.49 -				 			EFailedToSend=2};
    1.50 -	IMPORT_C virtual void InternalizeL(RReadStream& aStream);
    1.51 -	IMPORT_C virtual void ExternalizeL(RWriteStream& aStream) const;
    1.52 -	inline TRecipientStatus Status() const;
    1.53 -	inline void SetStatus(TRecipientStatus aStatus);
    1.54 -	inline TInt Error() const;
    1.55 -	inline void SetError(TInt aError);
    1.56 -	inline const TTime& Time() const;
    1.57 -	inline TTime& Time();
    1.58 -	inline TInt Retries() const;
    1.59 -	inline void IncreaseRetries();
    1.60 -	inline void ResetRetries();
    1.61 -protected:
    1.62 -	IMPORT_C CMsvRecipient();
    1.63 -private:
    1.64 -	TRecipientStatus iStatus;
    1.65 -	TInt   iError;
    1.66 -	TInt   iRetries;
    1.67 -	TTime	 iTime;
    1.68 -	};
    1.69 -
    1.70 -#include <msvrcpt.inl>
    1.71 -
    1.72 -#endif