iaupdate/IAD/engine/controller/src/iaupdatenodeimpl.cpp
branchRCL_3
changeset 26 8b7f4e561641
parent 25 7333d7932ef7
equal deleted inserted replaced
25:7333d7932ef7 26:8b7f4e561641
     1 /*
     1 /*
     2 * Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies).
     2 * Copyright (c) 2007-2009 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     
       
   429 
   368 
   430 // ---------------------------------------------------------------------------
   369 // ---------------------------------------------------------------------------
   431 // CIAUpdateNode::NodeType
   370 // CIAUpdateNode::NodeType
   432 // 
   371 // 
   433 // ---------------------------------------------------------------------------
   372 // ---------------------------------------------------------------------------