using std::istream_iterator;
using boost::shared_ptr;
-
+namespace fs = boost::filesystem;
namespace lyx {
using support::Systemcall;
using support::tempName;
using support::unlink;
+using frontend::LyXView;
namespace Alert = frontend::Alert;
-namespace fs = boost::filesystem;
// this should be static, but I need it in Buffer.cpp
bool quitting; // flag, that we are quitting the program
// create new file with template
// SERVERCMD !
//
-void newFile(BufferView * bv, string const & filename)
+void newFile(LyXView & lv, string const & filename)
{
// Split argument by :
string name;
Buffer * const b = newFile(name, tmpname);
if (b)
- bv->setBuffer(b);
+ lv.setBuffer(b);
}