]> git.lyx.org Git - lyx.git/blob - src/frontends/controllers/ControlVCLog.h
Implemented controller-view split for FormError and FormInclude.
[lyx.git] / src / frontends / controllers / ControlVCLog.h
1 // -*- C++ -*-
2 /* This file is part of
3  * ====================================================== 
4  *
5  *           LyX, The Document Processor
6  *
7  *           Copyright 2001 The LyX Team.
8  *
9  * ======================================================
10  *
11  * \file ControlVCLog.h
12  * \author John Levon, moz@compsoc.man.ac.uk
13  * \author Angus Leeming <a.leeming@ic.ac.uk>
14  */
15
16 #ifndef CONTROLVCLOG_H
17 #define CONTROLVCLOG_H
18
19 #include <utility>
20
21 #ifdef __GNUG__
22 #pragma interface
23 #endif
24
25 #include "ControlDialogs.h"
26
27 /**
28  * A controller for the Version Control log viewer.
29  */
30 class ControlVCLog : public ControlDialog<ControlConnectBD> {
31 public:
32         ///
33         ControlVCLog(LyXView &, Dialogs &);
34         ///
35         string const & logfile() { return logfile_; }
36
37 private:
38         ///
39         virtual void apply() {}
40         /// set the params before show or update
41         virtual void setParams();
42         /// clean-up on hide.
43         virtual void clearParams();
44
45         string logfile_;
46 };
47
48 #endif // CONTROLVCLOG_H