]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/xforms/xforms_helpers.h
Applied John's FileDialog patch.
[lyx.git] / src / frontends / xforms / xforms_helpers.h
index 531b26a724cd0dda3c688ac1db41c388e28e654b..0781cd1c9ef4f37519e82a7a3d66a70d32ce02bd 100644 (file)
@@ -16,13 +16,15 @@ void setEnabled(FL_OBJECT *, bool enable);
 // Take a string and add breaks so that it fits into a desired label width, w
 string formatted(string const &label, int w, int size, int style);
 
+class LyXView;
 /** Launch a file dialog and return the chosen file.
     filename: a suggested filename.
     title: the title of the dialog.
     pattern: *.ps etc.
     dir1 = (name, dir), dir2 = (name, dir): extra buttons on the dialog.
 */
-string const browseFile(string const & filename,
+string const browseFile(LyXView *lv, string const & filename,
                        string const & title,
                        string const & pattern, 
                        std::pair<string,string> const & dir1,