namespace support { class FileName; }
+class BufferParams;
class LyXErr;
LyXErr & operator<<(LyXErr &, QString const &);
QString const qt_(std::string const & str);
///
-struct LanguagePair { QString first; QString second; };
-
-/** If the caller is the character dialog, add "No change" and "Reset"
-* to the vector.
-*/
-QList<LanguagePair> languageData(bool character_dlg);
-
support::FileName libFileSearch(QString const & dir, QString const & name,
QString const & ext = QString());
/// Return the extension of the file (not including the .)
QString getExtension(QString const & name);
QString makeAbsPath(QString const & relpath, QString const & base);
+QString changeExtension(QString const & oldname, QString const & ext);
+
+/// \return the display string associated with given type and buffer
+/// parameter.
+QString guiName(std::string const & type, BufferParams const & bp);
} // namespace lyx