Changeset 97 for trunk/src/IMainView.h

Show
Ignore:
Timestamp:
04/20/06 10:08:49 (3 years ago)
Author:
jordi
Message:

The Main presenter now pass the last folder used to open a file to the view, so it can change the shown folder on the open dialog. Also, the main presenter saves the last folder to the configuration class.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/IMainView.h

    r67 r97  
    4949            /// the toolkit's specific open dialog. 
    5050            /// 
     51            /// @param folder The last folder used to open a file. This is 
     52            ///               used to show this folder when the open dialog 
     53            ///               appears. 
     54            /// 
    5155            /// @return A copy of the file name that the user will try to open 
    5256            ///         or NULL if the user cancelled the operation. 
    5357            ///         This string will be freed by the presenter. 
    5458            /// 
    55             virtual gchar *openFileDialog (void) = 0; 
     59            virtual gchar *openFileDialog (const gchar *lastFolder) = 0; 
    5660 
    5761            ///