email/imap4mtm/imapsession/inc/cimapstarttls.h
changeset 0 72b543305e3a
equal deleted inserted replaced
-1:000000000000 0:72b543305e3a
       
     1 // Copyright (c) 2006-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 //
       
    15 
       
    16 #ifndef __CIMAPSTARTTLS_H__
       
    17 #define __CIMAPSTARTTLS_H__
       
    18 
       
    19 #include <e32std.h>
       
    20 
       
    21 #include "cimapcommand.h"
       
    22 
       
    23 /**
       
    24 The CImapStartTls class encapsulates the sending of the IMAP STARTTLS
       
    25 command to the remote server.
       
    26 
       
    27 @internalTechnology
       
    28 @prototype
       
    29 */
       
    30 class CImapStartTls : public CImapCommandEx
       
    31 	{
       
    32 public:
       
    33 	// Construction and Destruction
       
    34 	static CImapStartTls* NewL(CImapFolderInfo* aSelectedFolderData, TInt aLogId);
       
    35 	~CImapStartTls();
       
    36 	
       
    37 private:
       
    38 	CImapStartTls(CImapFolderInfo* aSelectedFolderData, TInt aLogId);
       
    39 	void ConstructL();
       
    40 
       
    41 	// Implements CImapCommand
       
    42 	void SendMessageL(TInt aTagId, MOutputStream& aStream);
       
    43 	};
       
    44 			 
       
    45 #endif // __CIMAPSTARTTLS_H__