filebrowser/engine/engine.h
changeset 28 4cc0d1a608c1
parent 27 271e901a9423
child 29 1c71b77fbc93
equal deleted inserted replaced
27:271e901a9423 28:4cc0d1a608c1
    76 // INFERFACE FOR COMMUNICATION WITH UI
    76 // INFERFACE FOR COMMUNICATION WITH UI
    77 
    77 
    78 class MFileBrowserUI
    78 class MFileBrowserUI
    79 {
    79 {
    80 public:
    80 public:
    81     /**
    81 //    /**
    82       * Method from getting current index
    82 //      * Method from getting current index
    83       * @return current index.
    83 //      * @return current index.
    84       */
    84 //      */
    85 //    virtual TInt QueryCurrentItemIndex() = 0;
    85 //    virtual TInt QueryCurrentItemIndex() = 0;
    86 
    86 
    87     /**
    87     /**
    88      * Shows info message with text
    88      * Shows info message with text
    89      * @param A aText text to be shown in message body.
    89      * @param A aText text to be shown in message body.
   104      * @param aText An text to be shown in message.
   104      * @param aText An text to be shown in message.
   105      * @return None.
   105      * @return None.
   106      */
   106      */
   107     virtual void ShowConfirmationNote(const TDesC& aText, TBool aNoTimeout = EFalse) = 0;
   107     virtual void ShowConfirmationNote(const TDesC& aText, TBool aNoTimeout = EFalse) = 0;
   108 
   108 
   109 //    /**
   109     /**
   110 //     * Shows progress bar with text
   110      * Shows progress bar with text
   111 //     * @param aText A text to be shown at top of the progress bar.
   111      * @param aText A text to be shown at top of the progress bar.
   112 //     * @param aMinimum A minimum progress bar value.
   112      * @param aMinimum A minimum progress bar value.
   113 //     * @param aMaximum A maximum progress bar value.
   113      * @param aMaximum A maximum progress bar value.
   114 //     * @return None.
   114      * @return None.
   115 //     */
   115      */
   116 //    virtual void ShowProgressBar(const TDesC& aText, TInt aMinimum, TInt aMaximum ) = 0;
   116     virtual void ShowProgressDialog(const TDesC& aDescText, TInt aMinimum, TInt aMaximum ) = 0;
       
   117 
       
   118     /**
       
   119      * Cancel progress dialog
       
   120      * @return None.
       
   121      */
       
   122     virtual void CancelProgressDialog() = 0;
       
   123 
       
   124     /**
       
   125       * Set progress dialog value
       
   126       * @param aValue A vaule to be shown at top of the progress dialog.
       
   127       */
       
   128     virtual void SetProgressValue(TInt aValue) = 0;
   117 //
   129 //
   118 //    /**
   130 //    /**
   119 //     * Sets progress bar value
   131 //     * Sets progress bar value
   120 //     * @param aValue A value between min and max value of the progress bar range
   132 //     * @param aValue A value between min and max value of the progress bar range
   121 //     * @return None.
   133 //     * @return None.