lyx_mirror/src/frontends/controllers/ControlLog.C
Lars Gullik Bjønnes f1c24d1009 *duck*
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4417 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-18 15:44:30 +00:00

42 lines
728 B
C

/* This file is part of
* ======================================================
*
* 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>
*/
#include <config.h>
#ifdef __GNUG__
#pragma implementation
#endif
#include "ControlLog.h"
#include "BufferView.h"
#include "frontends/LyXView.h"
ControlLog::ControlLog(LyXView & lv, Dialogs & d)
: ControlDialogBD(lv, d)
{}
void ControlLog::setParams()
{
logfile_ = lv_.view()->buffer()->getLogName();
}
void ControlLog::clearParams()
{
logfile_.second.erase();
}