|
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 __CIMAPLOGOUT_H__ |
|
17 #define __CIMAPLOGOUT_H__ |
|
18 |
|
19 #include <e32std.h> |
|
20 |
|
21 #include "cimapcommand.h" |
|
22 |
|
23 |
|
24 /** |
|
25 The CImapLogin class encapsulates the sending of the IMAP LOGOUT |
|
26 command to the remote server. |
|
27 The class will parse the response data from the remote server. |
|
28 All untagged responses are handled by the base class. |
|
29 In particular, the untagged "BYE" response is handled by the base class, |
|
30 as the untagged "BYE" response can be received at any time, not just during LOGOUT. |
|
31 @internalTechnology |
|
32 @prototype |
|
33 */ |
|
34 class CImapLogout : public CImapCommandEx |
|
35 { |
|
36 public: |
|
37 // Construction and Destruction |
|
38 static CImapLogout* NewL(CImapFolderInfo* aSelectedFolderData, TInt aLogId); |
|
39 ~CImapLogout(); |
|
40 |
|
41 private: |
|
42 CImapLogout(CImapFolderInfo* aSelectedFolderData, TInt aLogId); |
|
43 void ConstructL(); |
|
44 |
|
45 // Implements CImapCommand |
|
46 void SendMessageL(TInt aTagId, MOutputStream& aStream); |
|
47 }; |
|
48 |
|
49 #endif // __CIMAPLOGOUT_H__ |