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
22 #include "ButtonControllerBase.h"
23 #include "ControlLog.h"
30 ControlLog::ControlLog(LyXView & lv, Dialogs & d)
31 : ControlDialog<ControlConnectBD>(lv, d)
33 d_.showLogFile.connect(slot(this, &ControlLog::show));
37 void ControlLog::setParams()
39 logfile_ = lv_.view()->buffer()->getLogName();
43 void ControlLog::clearParams()
45 logfile_.second.erase();