equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2009 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 * |
|
16 */ |
|
17 |
|
18 #ifndef NMFWAREMOVEATTACHMENTOPERATION_H_ |
|
19 #define NMFWAREMOVEATTACHMENTOPERATION_H_ |
|
20 |
|
21 #include <QObject> |
|
22 #include <nmoperation.h> |
|
23 #include <nmcommon.h> |
|
24 |
|
25 class NmMessage; |
|
26 class CFSMailClient; |
|
27 |
|
28 class NmFwaRemoveAttachmentOperation : public NmOperation |
|
29 { |
|
30 Q_OBJECT |
|
31 public: |
|
32 NmFwaRemoveAttachmentOperation(const NmMessage &message, |
|
33 const NmId &attachmentPartId, |
|
34 CFSMailClient &mailClient); |
|
35 |
|
36 virtual ~NmFwaRemoveAttachmentOperation(); |
|
37 |
|
38 protected slots: |
|
39 virtual void runAsyncOperation(); |
|
40 |
|
41 private: |
|
42 const NmMessage &mMessage; |
|
43 NmId mAttachmentPartId; |
|
44 CFSMailClient &mMailClient; |
|
45 }; |
|
46 |
|
47 #endif /* NMFWAREMOVEATTACHMENTOPERATION_H_ */ |