2002-09-05 14:10:50 +00:00
|
|
|
/**
|
|
|
|
* \file ControlLog.C
|
2002-09-05 15:14:23 +00:00
|
|
|
* This file is part of LyX, the document processor.
|
|
|
|
* Licence details can be found in the file COPYING.
|
2001-03-20 10:14:03 +00:00
|
|
|
*
|
2002-09-05 14:10:50 +00:00
|
|
|
* \author John Levon
|
|
|
|
* \author Angus Leeming
|
2001-03-20 10:14:03 +00:00
|
|
|
*
|
2002-09-05 14:10:50 +00:00
|
|
|
* Full author contact details are available in file CREDITS
|
2001-03-20 10:14:03 +00:00
|
|
|
*/
|
|
|
|
|
2001-04-26 18:40:38 +00:00
|
|
|
#include <config.h>
|
|
|
|
|
2002-05-29 16:21:03 +00:00
|
|
|
#include "ControlLog.h"
|
|
|
|
|
2001-03-20 10:14:03 +00:00
|
|
|
|
2003-03-25 18:13:46 +00:00
|
|
|
ControlLog::ControlLog(Dialog & parent)
|
|
|
|
: Dialog::Controller(parent)
|
2002-06-18 15:44:30 +00:00
|
|
|
{}
|
2001-03-20 10:14:03 +00:00
|
|
|
|
|
|
|
|
2003-03-25 18:13:46 +00:00
|
|
|
bool ControlLog::initialiseParams(string const &)
|
2001-03-20 10:14:03 +00:00
|
|
|
{
|
2003-03-25 18:13:46 +00:00
|
|
|
logfile_ = kernel().buffer()->getLogName();
|
|
|
|
return true;
|
2001-03-20 10:14:03 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
2001-03-22 11:24:36 +00:00
|
|
|
void ControlLog::clearParams()
|
2001-03-20 10:14:03 +00:00
|
|
|
{
|
|
|
|
logfile_.second.erase();
|
|
|
|
}
|