]> git.lyx.org Git - lyx.git/blob - src/frontends/controllers/ControlLog.h
Really dull and boring header shit
[lyx.git] / src / frontends / controllers / ControlLog.h
1 // -*- C++ -*-
2 /**
3  * \file ControlLog.h
4  * Read the file COPYING
5  *
6  * \author John Levon
7  * \author Angus Leeming
8  *
9  * Full author contact details are available in file CREDITS
10  */
11
12 #ifndef CONTROLLOG_H
13 #define CONTROLLOG_H
14
15 #include <utility>
16
17 #ifdef __GNUG__
18 #pragma interface
19 #endif
20
21 #include "ControlDialog_impl.h"
22 #include "buffer.h" // Buffer::LogType
23
24 /**
25  * A controller for a read-only text browser.
26  */
27 class ControlLog : public ControlDialogBD {
28 public:
29         ///
30         ControlLog(LyXView &, Dialogs &);
31         ///
32         std::pair<Buffer::LogType, string> const & logfile()
33                 { return logfile_; }
34
35 private:
36         ///
37         virtual void apply() {}
38         /// set the params before show or update
39         virtual void setParams();
40         /// clean-up on hide.
41         virtual void clearParams();
42
43         std::pair<Buffer::LogType, string> logfile_;
44 };
45
46 #endif // CONTROLLOG_H