#include <csignal>
#include "LString.h"
+
+#include <boost/smart_ptr.hpp>
#include <boost/utility.hpp>
class LyXGUI;
///
extern string system_tempdir;
///
-extern LastFiles * lastfiles; /* we should hopefully be able to move this
- * inside the LyX class */
+extern boost::scoped_ptr<LastFiles> lastfiles;
+/* we should hopefully be able to move this
+ * inside the LyX class */
/**
private:
/// Should be a maximum of 1 LyXGUI.
- LyXGUI * lyxGUI;
+ boost::scoped_ptr<LyXGUI> lyxGUI;
/// does this user start lyx for the first time?
bool first_start;
///