equal
deleted
inserted
replaced
|
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 __CIMAPUNSUBSCRIBE_H__ |
|
17 #define __CIMAPUNSUBSCRIBE_H__ |
|
18 |
|
19 #include <e32std.h> |
|
20 #include "cimapcommand.h" |
|
21 |
|
22 /** |
|
23 The CImapUnsubscribe class encapsulates the sending of the IMAP UNSUBSCRIBE |
|
24 command to the remote server. The class will parse the response data from the remote server. |
|
25 @internalTechnology |
|
26 @prototype |
|
27 */ |
|
28 class CImapUnsubscribe : public CImapCommandEx |
|
29 { |
|
30 public: |
|
31 // Construction and Destruction |
|
32 static CImapUnsubscribe* NewL(CImapFolderInfo* aSelectedFolderData, TInt aLogId, const TDesC& aMailboxName); |
|
33 ~CImapUnsubscribe(); |
|
34 |
|
35 private: |
|
36 CImapUnsubscribe(CImapFolderInfo* aSelectedFolderData, TInt aLogId); |
|
37 void ConstructL(const TDesC& aMailboxName); |
|
38 |
|
39 // Implements CImapCommand |
|
40 void SendMessageL(TInt aTagId, MOutputStream& aStream); |
|
41 |
|
42 private: |
|
43 HBufC8* iMailboxName; |
|
44 }; |
|
45 |
|
46 #endif // __CIMAPUNSUBSCRIBE_H__ |