1 /* This file is part of
2 * ======================================================
4 * LyX, The Document Processor
6 * Copyright 2001 The LyX Team.
8 * ======================================================
11 * \author John Levon, moz@compsoc.man.ac.uk
12 * \author Angus Leeming <a.leeming@ic.ac.uk>
18 #pragma implementation
21 #include "ControlLog.h"
23 #include "ButtonControllerBase.h"
26 #include "BufferView.h"
28 #include "frontends/LyXView.h"
30 #include <boost/bind.hpp>
32 ControlLog::ControlLog(LyXView & lv, Dialogs & d)
33 : ControlDialogBD(lv, d)
35 d_.showLogFile = boost::bind(&ControlLog::show, this);
39 void ControlLog::setParams()
41 logfile_ = lv_.view()->buffer()->getLogName();
45 void ControlLog::clearParams()
47 logfile_.second.erase();