equal
deleted
inserted
replaced
|
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: This file contains the header file of CIAUpdateOperationInfo class |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 #ifndef IA_UPDATE_OPERATION_INFO_H |
|
21 #define IA_UPDATE_OPERATION_INFO_H |
|
22 |
|
23 |
|
24 #include <e32def.h> |
|
25 |
|
26 class MNcdOperation; |
|
27 |
|
28 |
|
29 /** |
|
30 * TIAUpdateOperationInfo |
|
31 * |
|
32 * Information container for elements in arrays describing on-going operations. |
|
33 */ |
|
34 class TIAUpdateOperationInfo |
|
35 { |
|
36 |
|
37 public: |
|
38 |
|
39 /** |
|
40 * Type of the on-going operation. |
|
41 */ |
|
42 enum TOperationType |
|
43 { |
|
44 EIdle, |
|
45 ELoadRoot, |
|
46 ELoadContainer, |
|
47 ELoadChildren, |
|
48 ELoadAllChildren |
|
49 }; |
|
50 |
|
51 |
|
52 /** |
|
53 * Default constructor |
|
54 */ |
|
55 TIAUpdateOperationInfo(): |
|
56 iOperationType( EIdle ), |
|
57 iOperation( NULL ) |
|
58 { |
|
59 } |
|
60 |
|
61 |
|
62 /** |
|
63 * Constructor |
|
64 */ |
|
65 TIAUpdateOperationInfo( TOperationType aOperationType, |
|
66 MNcdOperation* aOperation ): |
|
67 iOperationType( aOperationType ), |
|
68 iOperation( aOperation ) |
|
69 { |
|
70 } |
|
71 |
|
72 |
|
73 TOperationType iOperationType; |
|
74 MNcdOperation* iOperation; |
|
75 |
|
76 }; |
|
77 |
|
78 #endif // IA_UPDATE_LOAD_INFO_H |