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 // popservermtm module header |
|
15 // @internalComponent |
|
16 // @released |
|
17 // |
|
18 // |
|
19 |
|
20 #if !defined(_POPSTRAN_H__) |
|
21 #define _POPSTRAN_H__ |
|
22 |
|
23 #include <e32std.h> |
|
24 #include <e32base.h> |
|
25 #include <msvstd.h> |
|
26 |
|
27 class CMsvServerEntry; |
|
28 |
|
29 // |
|
30 // CImPop3TransferMessage |
|
31 // |
|
32 class CImPop3TransferMessage : public CActive |
|
33 { |
|
34 public: |
|
35 enum TImPop3TransferMethod |
|
36 { |
|
37 EImPop3CopyTransfer, |
|
38 EImPop3MoveTransfer |
|
39 }; |
|
40 |
|
41 static CImPop3TransferMessage* NewL(CMsvServerEntry& aEntry); |
|
42 void StartL(TMsvId aSourceMessage, TMsvId aDestFolder, TImPop3TransferMethod aTransferMethod, TRequestStatus& aStatus); |
|
43 |
|
44 void DoCancel(); |
|
45 void RunL(); |
|
46 |
|
47 ~CImPop3TransferMessage(); |
|
48 |
|
49 private: |
|
50 CImPop3TransferMessage(CMsvServerEntry& aEntry); |
|
51 |
|
52 TImPop3TransferMethod iTransferMethod; |
|
53 TRequestStatus* iReportStatus; |
|
54 CMsvServerEntry& iEntry; |
|
55 TMsvId iSourceMessage; |
|
56 TMsvId iDestFolder; |
|
57 TMsvId iCopiedMessageId; |
|
58 }; |
|
59 |
|
60 #endif |