iaupdate/IAD/engine/controller/src/iaupdatenodeimpl.cpp
changeset 52 92f864ef0288
parent 33 8110bf1194d1
equal deleted inserted replaced
42:d17dc5398051 52:92f864ef0288
   363 TInt CIAUpdateNode::Depth() const
   363 TInt CIAUpdateNode::Depth() const
   364     {
   364     {
   365     return iDepth;
   365     return iDepth;
   366     }
   366     }
   367 
   367 
   368 // ---------------------------------------------------------------------------
   368 
   369 // CIAUpdateNode::Downloading()
   369 // ---------------------------------------------------------------------------
   370 // 
   370 // CIAUpdateNode::SetUiState()
   371 // ---------------------------------------------------------------------------
   371 // 
   372 //
   372 // ---------------------------------------------------------------------------
   373 TBool CIAUpdateNode::Downloading() const
   373 //
   374     {
   374 void CIAUpdateNode::SetUiState( MIAUpdateNode::TUIUpdateState aState )
   375     return iDownloading;
   375     {
   376     }
   376     iUiUpdateState = aState;
   377 
   377     }
   378 // ---------------------------------------------------------------------------
   378 
   379 // CIAUpdateNode::Installing()
   379 // ---------------------------------------------------------------------------
   380 // 
   380 // CIAUpdateNode::UiState()
   381 // ---------------------------------------------------------------------------
   381 // 
   382 //
   382 // ---------------------------------------------------------------------------
   383 TBool CIAUpdateNode::Installing() const
   383 //
   384     {
   384 MIAUpdateNode::TUIUpdateState CIAUpdateNode::UiState() const
   385     return iInstalling;
   385     {
   386     }
   386     return iUiUpdateState;
   387  
   387     }
   388 // ---------------------------------------------------------------------------
   388 
   389 // CIAUpdateNode::SetDownloading()
   389 // ---------------------------------------------------------------------------
   390 // 
   390 // CIAUpdateNode::SetProgress
   391 // ---------------------------------------------------------------------------
   391 // 
   392 //
   392 // ---------------------------------------------------------------------------
   393 void CIAUpdateNode::SetDownloading( TBool aDownloading )
   393 //
   394     {
   394 void CIAUpdateNode::SetProgress( TInt aProgress )
   395     iDownloading = aDownloading;
   395     {
   396     }
   396     iProgress = aProgress; 
   397 
   397     }
   398 // ---------------------------------------------------------------------------
   398 
   399 // CIAUpdateNode::SetInstalling()
   399 // ---------------------------------------------------------------------------
   400 // 
   400 // CIAUpdateNode::Progress
   401 // ---------------------------------------------------------------------------
   401 // 
   402 //
   402 // ---------------------------------------------------------------------------
   403 void CIAUpdateNode::SetInstalling( TBool aInstalling )
   403 //
   404     {
   404 TInt CIAUpdateNode::Progress() const
   405     iInstalling = aInstalling;
   405     {
   406     }
   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     
   407 
   429 
   408 // ---------------------------------------------------------------------------
   430 // ---------------------------------------------------------------------------
   409 // CIAUpdateNode::NodeType
   431 // CIAUpdateNode::NodeType
   410 // 
   432 // 
   411 // ---------------------------------------------------------------------------
   433 // ---------------------------------------------------------------------------