]> git.lyx.org Git - lyx.git/blob - src/frontends/controllers/ControlLog.C
*duck*
[lyx.git] / src / frontends / controllers / ControlLog.C
1 /* This file is part of
2  * ======================================================
3  *
4  *           LyX, The Document Processor
5  *
6  *           Copyright 2001 The LyX Team.
7  *
8  * ======================================================
9  *
10  * \file ControlLog.h
11  * \author John Levon, moz@compsoc.man.ac.uk
12  * \author Angus Leeming <a.leeming@ic.ac.uk>
13  */
14
15 #include <config.h>
16
17 #ifdef __GNUG__
18 #pragma implementation
19 #endif
20
21 #include "ControlLog.h"
22 #include "BufferView.h"
23
24 #include "frontends/LyXView.h"
25
26
27 ControlLog::ControlLog(LyXView & lv, Dialogs & d)
28         : ControlDialogBD(lv, d)
29 {}
30
31
32 void ControlLog::setParams()
33 {
34         logfile_ = lv_.view()->buffer()->getLogName();
35 }
36
37
38 void ControlLog::clearParams()
39 {
40         logfile_.second.erase();
41 }