27 * Email operation to create a new forward message asynchronously. |
27 * Email operation to create a new forward message asynchronously. |
28 */ |
28 */ |
29 NONSHARABLE_CLASS ( CIpsPlgCreateForwardMessageOperation ) : public CIpsPlgCreateMessageOperation |
29 NONSHARABLE_CLASS ( CIpsPlgCreateForwardMessageOperation ) : public CIpsPlgCreateMessageOperation |
30 { |
30 { |
31 public: |
31 public: |
32 |
32 //<qmail> comments added |
|
33 //<qmail> para to refe |
33 /** |
34 /** |
34 * Constructor. |
35 * Two-phased constructor |
|
36 * |
|
37 * @param aSmtpService contains SMTP message services |
|
38 * @param aMsvSession client/server session to MsvServer |
|
39 * @param aObserverRequestStatus operations observer status |
|
40 * @param aPartList specifies one or more parts of a message |
|
41 * @param aMailBoxId id's for mailbox and plugin |
|
42 * @param aOriginalMessageId id of message to be forward |
|
43 * @param aOperationObserver observes the progress of this operation |
|
44 * @param aRequestId identifier for this instance of operation, |
|
45 * assigned by the client |
|
46 * @return CIpsPlgCreateForwardMessageOperation* self pointer |
35 */ |
47 */ |
36 static CIpsPlgCreateForwardMessageOperation* NewL( |
48 static CIpsPlgCreateForwardMessageOperation* NewL( |
37 CIpsPlgSmtpService* aSmtpService, |
49 CIpsPlgSmtpService& aSmtpService, |
38 CMsvSession& aMsvSession, |
50 CMsvSession& aMsvSession, |
39 TRequestStatus& aObserverRequestStatus, |
51 TRequestStatus& aObserverRequestStatus, |
40 TMsvPartList aPartList, |
52 TMsvPartList aPartList, |
41 TFSMailMsgId aMailBoxId, |
53 TFSMailMsgId aMailBoxId, |
42 TMsvId aOriginalMessageId, |
54 TMsvId aOriginalMessageId, |
43 MFSMailRequestObserver& aOperationObserver, |
55 MFSMailRequestObserver& aOperationObserver, |
44 TInt aRequestId ); |
56 TInt aRequestId ); |
45 |
57 //</qmail> |
46 /** |
58 /** |
47 * Destructor. |
59 * Destructor. |
48 */ |
60 */ |
49 virtual ~CIpsPlgCreateForwardMessageOperation(); |
61 virtual ~CIpsPlgCreateForwardMessageOperation(); |
50 |
62 |
51 private: |
63 private: |
52 |
64 |
53 /** |
65 /** |
54 * Constructor. |
66 * Constructor. |
55 */ |
67 */ |
|
68 //<qmail> para to refe |
56 CIpsPlgCreateForwardMessageOperation( |
69 CIpsPlgCreateForwardMessageOperation( |
57 CIpsPlgSmtpService* aSmtpService, |
70 CIpsPlgSmtpService& aSmtpService, |
58 CMsvSession& aMsvSession, |
71 CMsvSession& aMsvSession, |
59 TRequestStatus& aObserverRequestStatus, |
72 TRequestStatus& aObserverRequestStatus, |
60 TMsvPartList aPartList, |
73 TMsvPartList aPartList, |
61 TFSMailMsgId aMailBoxId, |
74 TFSMailMsgId aMailBoxId, |
62 TMsvId aOriginalMessageId, |
75 TMsvId aOriginalMessageId, |
63 MFSMailRequestObserver& aOperationObserver, |
76 MFSMailRequestObserver& aOperationObserver, |
64 TInt aRequestId ); |
77 TInt aRequestId ); |
65 |
78 //</qmail> |
66 /** |
79 /** |
67 * From CActive |
80 * From CActive |
68 */ |
81 */ |
69 void RunL(); |
82 void RunL(); |
70 |
83 |