mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-02 22:02:24 +00:00
f1c24d1009
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4417 a592a061-630c-0410-9148-cb99ea01b6c8
42 lines
728 B
C
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();
|
|
}
|