#include "funcrequest.h"
#include "lyx_cb.h"
-#include "bufferlist.h"
#include "support/filetools.h"
+
#include "frontends/Alert.h"
+
#include "gettext.h"
#include "BufferView.h"
#include "buffer_funcs.h"
using std::vector;
-extern BufferList bufferlist;
-
-
bool Importer::Import(LyXView * lv, string const & filename,
string const & format, ErrorList & errorList)
{
}
}
if (loader_format.empty()) {
- Alert::error(_("Couldn't import file"),
+ lyx::frontend::Alert::error(_("Couldn't import file"),
bformat(_("No information for importing the format %1$s."),
formats.prettyName(format)));
return false;