equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2007-2008 Nokia Corporation and/or its subsidiary(-ies). |
2 * Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies). |
3 * All rights reserved. |
3 * All rights reserved. |
4 * This component and the accompanying materials are made available |
4 * This component and the accompanying materials are made available |
5 * under the terms of "Eclipse Public License v1.0" |
5 * under the terms of "Eclipse Public License v1.0" |
6 * which accompanies this distribution, and is available |
6 * which accompanies this distribution, and is available |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
135 * If it is not set, it returns zero. |
135 * If it is not set, it returns zero. |
136 * |
136 * |
137 * @see MIAUpdateNode::Depth |
137 * @see MIAUpdateNode::Depth |
138 */ |
138 */ |
139 virtual TInt Depth() const; |
139 virtual TInt Depth() const; |
140 |
140 |
|
141 virtual void SetUiState( TUIUpdateState aState ); |
|
142 |
|
143 virtual TUIUpdateState UiState() const; |
|
144 |
|
145 // for progress bar in UI |
|
146 virtual void SetProgress( TInt aProgress ); |
|
147 |
|
148 virtual TInt Progress() const; |
|
149 |
|
150 virtual void SetTotal( TInt aTotal ); |
|
151 |
|
152 virtual TInt Total() const; |
|
153 |
141 /** |
154 /** |
142 * @see MIAUpdateNode:::NodeType |
155 * @see MIAUpdateNode:::NodeType |
143 */ |
156 */ |
144 virtual TNodeType NodeType() const; |
157 virtual TNodeType NodeType() const; |
145 |
158 |
321 private: // data |
334 private: // data |
322 |
335 |
323 TDependencyCheckStatus iDependencyCheckStatus; |
336 TDependencyCheckStatus iDependencyCheckStatus; |
324 TInt iLeafDistance; |
337 TInt iLeafDistance; |
325 TInt iDepth; |
338 TInt iDepth; |
326 |
339 TUIUpdateState iUiUpdateState; |
|
340 TInt iProgress; |
|
341 TInt iTotal; |
|
342 |
327 // These arrays do not own the nodes. |
343 // These arrays do not own the nodes. |
328 RPointerArray< CIAUpdateNode > iDependants; |
344 RPointerArray< CIAUpdateNode > iDependants; |
329 RPointerArray< CIAUpdateNode > iExcessDependencyNodes; |
345 RPointerArray< CIAUpdateNode > iExcessDependencyNodes; |
330 |
346 |
331 // Not owned. |
347 // Not owned. |