equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies). |
2 * Copyright (c) 2004-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 the License "Eclipse Public License v1.0" |
5 * under the terms of the License "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". |
833 |
833 |
834 /** Sets the final value of the installation progress bar. */ |
834 /** Sets the final value of the installation progress bar. */ |
835 IMPORT_C void SetFinalProgressBarValue(TInt aValue); |
835 IMPORT_C void SetFinalProgressBarValue(TInt aValue); |
836 |
836 |
837 /** Updates the value of the progress bar value property by adding the given value to the current value. */ |
837 /** Updates the value of the progress bar value property by adding the given value to the current value. */ |
838 IMPORT_C void UpdateProgressBarValueL(TInt aValue); |
838 IMPORT_C TInt UpdateProgressBarValueL(TInt aValue); |
839 |
839 |
840 private: |
840 private: |
841 CProgressBarValuePublisher(); |
841 CProgressBarValuePublisher(); |
842 void ConstructL(); |
842 void ConstructL(); |
843 |
843 |
844 private: |
844 private: |
845 TInt iCurrentProgressValue; |
845 TInt iCurrentProgressValue; |
846 TInt iFinalProgressValue; |
846 TInt iFinalProgressValue; |
|
847 TInt iLastPercentCompletion; |
|
848 TInt iLastProgressValue; |
847 }; |
849 }; |
848 #endif |
850 #endif |
849 |
851 |
850 } // namespace Swi |
852 } // namespace Swi |
851 |
853 |