equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 1999 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: IMAPPRGR.H |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef __IMAPPRGR_H__ |
|
20 #define __IMAPPRGR_H__ |
|
21 |
|
22 // General includes |
|
23 #include <e32std.h> |
|
24 #include "PROGTYPE.H" |
|
25 |
|
26 const TInt KImap4UiProgressType = EUiProgTypeImap4Ui; // Use to identify this type of progress to MtmUi |
|
27 |
|
28 class TImap4UiProgress |
|
29 { |
|
30 public: |
|
31 inline TImap4UiProgress(); |
|
32 |
|
33 TInt iType; // Will always be KImap4UiProgressType |
|
34 |
|
35 enum |
|
36 { |
|
37 ECompleted, |
|
38 EUnsubscribing, |
|
39 ESubscribing, |
|
40 ESynchronising, |
|
41 ECreatingFolder, |
|
42 ERenamingFolder, |
|
43 EDeletingFolder, |
|
44 EPreConnecting, |
|
45 EPurgingAttachment, |
|
46 EFetchingAttachment, |
|
47 EDeletingMessages |
|
48 }; |
|
49 |
|
50 TInt iUiOperation; |
|
51 |
|
52 // As used during subscription/unsubscription |
|
53 // |
|
54 TInt iFoldersToDo; |
|
55 TInt iFoldersDone; |
|
56 |
|
57 TInt iFoldersFailed; |
|
58 |
|
59 // As used during attachment fetching |
|
60 // |
|
61 TInt iBytesToDo; |
|
62 TInt iBytesDone; |
|
63 |
|
64 TInt iReturnedMsvId; |
|
65 |
|
66 TInt iError; |
|
67 |
|
68 TChar iSeparatorChar; |
|
69 }; |
|
70 |
|
71 typedef TPckgBuf<TImap4UiProgress> TImap4UiProgressBuf; |
|
72 |
|
73 #include "IMAPPRGR.INL" |
|
74 |
|
75 #endif //__IMAPPRGR_H__ |