2001-03-20 10:14:03 +00:00
|
|
|
/* This file is part of
|
2002-03-21 21:21:28 +00:00
|
|
|
* ======================================================
|
2001-03-20 10:14:03 +00:00
|
|
|
*
|
|
|
|
* LyX, The Document Processor
|
|
|
|
*
|
|
|
|
* Copyright 2001 The LyX Team.
|
|
|
|
*
|
|
|
|
* ======================================================
|
|
|
|
*
|
|
|
|
* \file ControlLog.h
|
|
|
|
* \author John Levon, moz@compsoc.man.ac.uk
|
2002-08-15 16:02:22 +00:00
|
|
|
* \author Angus Leeming <leeming@lyx.org>
|
2001-03-20 10:14:03 +00:00
|
|
|
*/
|
|
|
|
|
2001-04-26 18:40:38 +00:00
|
|
|
#include <config.h>
|
|
|
|
|
2001-03-20 10:14:03 +00:00
|
|
|
#ifdef __GNUG__
|
|
|
|
#pragma implementation
|
|
|
|
#endif
|
|
|
|
|
2002-05-29 16:21:03 +00:00
|
|
|
#include "ControlLog.h"
|
2002-08-12 20:17:41 +00:00
|
|
|
#include "buffer.h"
|
2001-03-20 10:14:03 +00:00
|
|
|
|
2002-05-29 16:21:03 +00:00
|
|
|
|
2001-03-20 10:14:03 +00:00
|
|
|
|
|
|
|
ControlLog::ControlLog(LyXView & lv, Dialogs & d)
|
2002-01-16 14:47:58 +00:00
|
|
|
: ControlDialogBD(lv, d)
|
2002-06-18 15:44:30 +00:00
|
|
|
{}
|
2001-03-20 10:14:03 +00:00
|
|
|
|
|
|
|
|
2001-03-22 11:24:36 +00:00
|
|
|
void ControlLog::setParams()
|
2001-03-20 10:14:03 +00:00
|
|
|
{
|
2002-08-12 20:17:41 +00:00
|
|
|
logfile_ = buffer()->getLogName();
|
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();
|
|
|
|
}
|