]> git.lyx.org Git - lyx.git/blob - src/frontends/controllers/ControlLog.C
Add a buffer_path arg to InsetGraphicsMailer's params2string, string2params.
[lyx.git] / src / frontends / controllers / ControlLog.C
1 /**
2  * \file ControlLog.C
3  * This file is part of LyX, the document processor.
4  * Licence details can be found in the file COPYING.
5  *
6  * \author John Levon
7  * \author Angus Leeming
8  *
9  * Full author contact details are available in file CREDITS
10  */
11
12 #include <config.h>
13
14 #include "ControlLog.h"
15
16
17 ControlLog::ControlLog(Dialog & parent)
18         : Dialog::Controller(parent)
19 {}
20
21
22 bool ControlLog::initialiseParams(string const &)
23 {
24         logfile_ = kernel().buffer()->getLogName();
25         return true;
26 }
27
28
29 void ControlLog::clearParams()
30 {
31         logfile_.second.erase();
32 }