1 /* |
1 /* |
2 * Copyright (c) 2007-2009 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". |
363 TInt CIAUpdateNode::Depth() const |
363 TInt CIAUpdateNode::Depth() const |
364 { |
364 { |
365 return iDepth; |
365 return iDepth; |
366 } |
366 } |
367 |
367 |
|
368 |
|
369 // --------------------------------------------------------------------------- |
|
370 // CIAUpdateNode::SetUiState() |
|
371 // |
|
372 // --------------------------------------------------------------------------- |
|
373 // |
|
374 void CIAUpdateNode::SetUiState( MIAUpdateNode::TUIUpdateState aState ) |
|
375 { |
|
376 iUiUpdateState = aState; |
|
377 } |
|
378 |
|
379 // --------------------------------------------------------------------------- |
|
380 // CIAUpdateNode::UiState() |
|
381 // |
|
382 // --------------------------------------------------------------------------- |
|
383 // |
|
384 MIAUpdateNode::TUIUpdateState CIAUpdateNode::UiState() const |
|
385 { |
|
386 return iUiUpdateState; |
|
387 } |
|
388 |
|
389 // --------------------------------------------------------------------------- |
|
390 // CIAUpdateNode::SetProgress |
|
391 // |
|
392 // --------------------------------------------------------------------------- |
|
393 // |
|
394 void CIAUpdateNode::SetProgress( TInt aProgress ) |
|
395 { |
|
396 iProgress = aProgress; |
|
397 } |
|
398 |
|
399 // --------------------------------------------------------------------------- |
|
400 // CIAUpdateNode::Progress |
|
401 // |
|
402 // --------------------------------------------------------------------------- |
|
403 // |
|
404 TInt CIAUpdateNode::Progress() const |
|
405 { |
|
406 return iProgress; |
|
407 } |
|
408 |
|
409 // --------------------------------------------------------------------------- |
|
410 // CIAUpdateNode::SetTotal |
|
411 // |
|
412 // --------------------------------------------------------------------------- |
|
413 // |
|
414 void CIAUpdateNode::SetTotal( TInt aTotal ) |
|
415 { |
|
416 iTotal = aTotal; |
|
417 } |
|
418 |
|
419 // --------------------------------------------------------------------------- |
|
420 // CIAUpdateNode::Total |
|
421 // |
|
422 // --------------------------------------------------------------------------- |
|
423 // |
|
424 TInt CIAUpdateNode::Total() const |
|
425 { |
|
426 return iTotal; |
|
427 } |
|
428 |
368 |
429 |
369 // --------------------------------------------------------------------------- |
430 // --------------------------------------------------------------------------- |
370 // CIAUpdateNode::NodeType |
431 // CIAUpdateNode::NodeType |
371 // |
432 // |
372 // --------------------------------------------------------------------------- |
433 // --------------------------------------------------------------------------- |