diff -r bcb43dc84c44 -r 2dac0fdba72b photosgallery/viewframework/uiutilities/inc/glxprogressindicator.h --- a/photosgallery/viewframework/uiutilities/inc/glxprogressindicator.h Wed Mar 31 21:31:03 2010 +0300 +++ b/photosgallery/viewframework/uiutilities/inc/glxprogressindicator.h Wed Apr 14 15:57:24 2010 +0300 @@ -19,10 +19,11 @@ #define GLXPROGRESSINDICATOR_H_ #include -#include +#include class CAknProgressDialog; class CEikProgressInfo; +class CGlxUiUtility; class MDialogDismisedObserver { @@ -57,13 +58,17 @@ * calculates how much increment to be done in progress bar * @return increment value */ - TInt CalculateDisplayBarIncrementL(); + TInt CalculateDisplayBarIncrement(); public: // Callback for periodic timer, static, static TInt PeriodicCallbackL( TAny* aPtr ); //nonstatic func called from periodic timer void DisplayProgressBarL(); + + //show progress bar + IMPORT_C void ShowProgressbarL(); + protected://MProgressDialogCallback void DialogDismissedL (TInt aButtonId); @@ -80,6 +85,7 @@ //final count to set in progress bar TInt iFinalCount; MDialogDismisedObserver& iGlxGridViewNotifyObserver; + CGlxUiUtility* iUiUtility; }; #endif /* GLXPROGRESSINDICATOR_H_ */