#include "exporter.h"
#include "buffer.h"
#include "buffer_funcs.h"
-#include "lyx_cb.h" //ShowMessage()
#include "support/filetools.h"
#include "lyxrc.h"
#include "converter.h"
#include "format.h"
#include "frontends/Alert.h"
#include "gettext.h"
-#include "BufferView.h"
#include <algorithm>
+using namespace lyx::support;
+
using std::vector;
using std::find;
return false;
if (!put_in_tempdir)
- ShowMessage(buffer,
- _("Document exported as ")
- + formats.prettyName(format)
- + _(" to file `")
- + MakeDisplayPath(result_file) +'\'');
+ buffer->message(_("Document exported as ")
+ + formats.prettyName(format)
+ + _(" to file `")
+ + MakeDisplayPath(result_file) +'\'');
return true;
}
}
return result;
}
-