|
1 /* |
|
2 * Copyright (c) 2007-2008 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: New forward message creation operation |
|
15 * |
|
16 */ |
|
17 |
|
18 // <qmail> |
|
19 #ifndef IPSPLGCREATEFORWARDMESSAGEOPERATION_H |
|
20 #define IPSPLGCREATEFORWARDMESSAGEOPERATION_H |
|
21 |
|
22 #include "ipsplgcreatemessageoperation.h" |
|
23 |
|
24 /** |
|
25 * class |
|
26 * |
|
27 * Email operation to create a new forward message asynchronously. |
|
28 */ |
|
29 NONSHARABLE_CLASS ( CIpsPlgCreateForwardMessageOperation ) : public CIpsPlgCreateMessageOperation |
|
30 { |
|
31 public: |
|
32 |
|
33 /** |
|
34 * Constructor. |
|
35 */ |
|
36 static CIpsPlgCreateForwardMessageOperation* NewL( |
|
37 CIpsPlgSmtpService* aSmtpService, |
|
38 CMsvSession& aMsvSession, |
|
39 TRequestStatus& aObserverRequestStatus, |
|
40 TMsvPartList aPartList, |
|
41 TMsvId aMailBoxId, |
|
42 TMsvId aOriginalMessageId, |
|
43 MFSMailRequestObserver& aOperationObserver, |
|
44 const TInt aRequestId ); |
|
45 |
|
46 /** |
|
47 * Destructor. |
|
48 */ |
|
49 virtual ~CIpsPlgCreateForwardMessageOperation(); |
|
50 |
|
51 private: |
|
52 |
|
53 /** |
|
54 * Constructor. |
|
55 */ |
|
56 CIpsPlgCreateForwardMessageOperation( |
|
57 CIpsPlgSmtpService* aSmtpService, |
|
58 CMsvSession& aMsvSession, |
|
59 TRequestStatus& aObserverRequestStatus, |
|
60 TMsvPartList aPartList, |
|
61 TMsvId aMailBoxId, |
|
62 TMsvId aOriginalMessageId, |
|
63 MFSMailRequestObserver& aOperationObserver, |
|
64 const TInt aRequestId ); |
|
65 |
|
66 /** |
|
67 * From CActive |
|
68 */ |
|
69 void RunL(); |
|
70 |
|
71 void StartMessageCreationL(); |
|
72 |
|
73 private: |
|
74 TMsvId iOriginalMessageId; |
|
75 }; |
|
76 |
|
77 |
|
78 #endif//IPSPLGCREATEFORWARDMESSAGEOPERATION_H |
|
79 |
|
80 // </qmail> |