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
|
|
|
|
* \author Angus Leeming <a.leeming@ic.ac.uk>
|
|
|
|
*/
|
|
|
|
|
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"
|
2001-06-25 00:06:33 +00:00
|
|
|
#include "BufferView.h"
|
2001-03-20 10:14:03 +00:00
|
|
|
|
2002-05-29 16:21:03 +00:00
|
|
|
#include "frontends/LyXView.h"
|
|
|
|
|
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
|
|
|
{
|
|
|
|
logfile_ = lv_.view()->buffer()->getLogName();
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2001-03-22 11:24:36 +00:00
|
|
|
void ControlLog::clearParams()
|
2001-03-20 10:14:03 +00:00
|
|
|
{
|
|
|
|
logfile_.second.erase();
|
|
|
|
}
|