|
1 /* |
|
2 * Copyright (c) 2002 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 the License "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: Declaration of class TPushMtmProgress. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 #ifndef PUSHMTMPROGRESS_H |
|
21 #define PUSHMTMPROGRESS_H |
|
22 |
|
23 // INCLUDE FILES |
|
24 |
|
25 #include <e32std.h> |
|
26 |
|
27 // CLASS DECLARATION |
|
28 |
|
29 /** |
|
30 * This class provides progress information for the client side Push MTM |
|
31 * operations. This class is packaged into an 8 bit descriptor. |
|
32 * This information packaged is returned by CMsvOperation::ProgressL(), for |
|
33 * example. |
|
34 */ |
|
35 class TPushMtmProgress |
|
36 { |
|
37 public: // Constructors |
|
38 |
|
39 inline TPushMtmProgress(); |
|
40 |
|
41 public: // New functions |
|
42 |
|
43 inline void Reset(); |
|
44 |
|
45 public: // Data |
|
46 |
|
47 TInt iTotalValue; ///< Final progress value. |
|
48 TInt iCurrentValue; ///< Current progress value. |
|
49 TInt iErrorCode1; ///< Error code. |
|
50 TInt iErrorCode2; ///< Error code. |
|
51 TInt iErrorCode3; ///< Error code. |
|
52 }; |
|
53 |
|
54 |
|
55 /// TPushMtmProgress packaged into a package buffer. |
|
56 typedef TPckgBuf<TPushMtmProgress> TPushMtmProgressBuf; |
|
57 |
|
58 /// TPushMtmProgress packaged into a pointer. |
|
59 typedef TPckgC<TPushMtmProgress> TPushMtmProgressPckg; |
|
60 |
|
61 |
|
62 #include "PushMtmProgress.inl" |
|
63 |
|
64 #endif // PUSHMTMPROGRESS_H |
|
65 |
|
66 // End of File |