- /**
- * Choose a file for selection, starting in directory \param path, with the file
- * selection \param mask. The \param mask string is of the form :
- *
- * <regular expression to match> | <description>
- *
- * for example, "*.ps | PostScript files (*.ps)".
- *
- * FIXME: should support multiple lines of these for different file types.
- */
- Result const Select(string const & path = string(),
- string const & mask = string(),
- string const & suggested = string());
+ /// Choose a file for opening, starting in directory \c path.
+ Result const open(std::string const & path,
+ lyx::support::FileFilterList const & filters,
+ std::string const & suggested);