#include <sstream>
-using lyx::support::i18nLibFileSearch;
+
+namespace lyx {
+
+using support::FileName;
+using support::i18nLibFileSearch;
using std::endl;
using std::string;
if (lyxerr.debugging(Debug::PARSER))
lexrc.printTable(lyxerr);
- string const tmp = i18nLibFileSearch("bind", bind_file, "bind");
+ FileName const tmp(i18nLibFileSearch("bind", bind_file, "bind"));
lexrc.setFile(tmp);
if (!lexrc.isOK()) {
lyxerr << "kb_keymap::read: cannot open bind file:"
if (cit->table.get()) {
// this is a prefix key - set new map
seq->curmap = cit->table.get();
- static FuncRequest prefix(LFUN_PREFIX);
+ static FuncRequest prefix(LFUN_COMMAND_PREFIX);
return prefix;
} else {
// final key - reset map
return std::make_pair<LyXKeySym const *, key_modifier::state>(0, key_modifier::none);
}
+
+
+} // namespace lyx