*
* LyX, The Document Processor
* Copyright 1995 Matthias Ettrich
- * Copyright 1995-1999 The LyX Team.
+ * Copyright 1995-2000 The LyX Team.
*
* This file is Copyright 1999
* Kayvan A. Sylvan
#endif
#include <fstream>
-using std::ifstream;
+#include <cstdlib>
#include "ImportNoweb.h"
#include "lyxrc.h"
#include "support/syscall.h"
#include "bufferlist.h"
-extern LyXRC * lyxrc;
+using std::ifstream;
+using std::getline;
+
extern BufferList bufferlist;
/*
Buffer * ImportNoweb::run()
{
// run reLyX -n
- string tmp = lyxrc->relyx_command + " -n -c " +
+ string tmp = lyxrc.relyx_command + " -n -c " +
documentclass() + " -f " + file;
Systemcalls one;
Buffer * buf = 0;