lyx_mirror/src/frontends/controllers/ControlLog.C

35 lines
533 B
C++
Raw Normal View History

/**
* \file ControlLog.C
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
* \author John Levon
* \author Angus Leeming
*
* Full author contact details are available in file CREDITS
*/
#include <config.h>
#include "ControlLog.h"
#include "buffer.h"
ControlLog::ControlLog(LyXView & lv, Dialogs & d)
: ControlDialogBD(lv, d)
{}
void ControlLog::setParams()
{
logfile_ = buffer()->getLogName();
}
void ControlLog::clearParams()
{
logfile_.second.erase();
}