|
1 /* |
|
2 * Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: |
|
15 * Folder delete |
|
16 * |
|
17 */ |
|
18 |
|
19 #ifndef __IMAP4CONNECTEDDELETEOP_H__ |
|
20 #define __IMAP4CONNECTEDDELETEOP_H__ |
|
21 |
|
22 #include <imapset.h> |
|
23 #include <imapcmds.h> |
|
24 #include "Imap4ConnectedOp.h" |
|
25 #include "IMAPPRGR.H" |
|
26 #include "ImumOnlineOperation.h" |
|
27 #include "Imap4MtmUi.hrh" // KImpuIMAPFolderNameLength |
|
28 |
|
29 |
|
30 /** |
|
31 * Folder delete |
|
32 */ |
|
33 class CImap4ConnectedDeleteOp : public CImap4ConnectedOp |
|
34 { |
|
35 public: |
|
36 /** |
|
37 * |
|
38 */ |
|
39 static CImap4ConnectedDeleteOp* NewL( |
|
40 CImumInternalApi& aMailboxApi, |
|
41 TRequestStatus& aStatus, |
|
42 MMsvProgressReporter& aReporter, |
|
43 TMsvId aServiceId, |
|
44 const CMsvEntrySelection& aSel); |
|
45 |
|
46 /** |
|
47 * |
|
48 */ |
|
49 virtual ~CImap4ConnectedDeleteOp(); |
|
50 |
|
51 protected: |
|
52 /** |
|
53 * From CImap4ConnectedOp |
|
54 */ |
|
55 virtual void DoConnectedOpL(); |
|
56 |
|
57 /** |
|
58 * From CImap4ConnectedOp |
|
59 */ |
|
60 virtual const TDesC8& ConnectedOpErrorProgressL(TInt aError); |
|
61 |
|
62 private: |
|
63 /** |
|
64 * |
|
65 */ |
|
66 CImap4ConnectedDeleteOp( |
|
67 CImumInternalApi& aMailboxApi, |
|
68 TRequestStatus& aStatus, |
|
69 MMsvProgressReporter& aReporter, |
|
70 TMsvId aServiceId); |
|
71 |
|
72 private: |
|
73 TImap4UiProgressBuf iUiProgressBuf; |
|
74 CMsvEntrySelection* iSelection; |
|
75 }; |
|
76 |
|
77 |
|
78 #endif |