diff -r d17dc5398051 -r 92f864ef0288 iaupdate/IAD/engine/controller/src/iaupdatenodeimpl.cpp --- a/iaupdate/IAD/engine/controller/src/iaupdatenodeimpl.cpp Fri Jun 11 13:45:18 2010 +0300 +++ b/iaupdate/IAD/engine/controller/src/iaupdatenodeimpl.cpp Wed Jun 23 18:20:02 2010 +0300 @@ -365,47 +365,69 @@ return iDepth; } + // --------------------------------------------------------------------------- -// CIAUpdateNode::Downloading() +// CIAUpdateNode::SetUiState() // // --------------------------------------------------------------------------- // -TBool CIAUpdateNode::Downloading() const +void CIAUpdateNode::SetUiState( MIAUpdateNode::TUIUpdateState aState ) { - return iDownloading; + iUiUpdateState = aState; } // --------------------------------------------------------------------------- -// CIAUpdateNode::Installing() +// CIAUpdateNode::UiState() +// +// --------------------------------------------------------------------------- +// +MIAUpdateNode::TUIUpdateState CIAUpdateNode::UiState() const + { + return iUiUpdateState; + } + +// --------------------------------------------------------------------------- +// CIAUpdateNode::SetProgress // // --------------------------------------------------------------------------- // -TBool CIAUpdateNode::Installing() const +void CIAUpdateNode::SetProgress( TInt aProgress ) { - return iInstalling; + iProgress = aProgress; } - + // --------------------------------------------------------------------------- -// CIAUpdateNode::SetDownloading() +// CIAUpdateNode::Progress // // --------------------------------------------------------------------------- // -void CIAUpdateNode::SetDownloading( TBool aDownloading ) +TInt CIAUpdateNode::Progress() const { - iDownloading = aDownloading; + return iProgress; } // --------------------------------------------------------------------------- -// CIAUpdateNode::SetInstalling() +// CIAUpdateNode::SetTotal // // --------------------------------------------------------------------------- // -void CIAUpdateNode::SetInstalling( TBool aInstalling ) +void CIAUpdateNode::SetTotal( TInt aTotal ) { - iInstalling = aInstalling; + iTotal = aTotal; } // --------------------------------------------------------------------------- +// CIAUpdateNode::Total +// +// --------------------------------------------------------------------------- +// +TInt CIAUpdateNode::Total() const + { + return iTotal; + } + + +// --------------------------------------------------------------------------- // CIAUpdateNode::NodeType // // ---------------------------------------------------------------------------