]> git.lyx.org Git - lyx.git/blob - src/frontends/controllers/ControlVCLog.h
This file is part of LyX, the document processor.
[lyx.git] / src / frontends / controllers / ControlVCLog.h
1 // -*- C++ -*-
2 /**
3  * \file ControlVCLog.h
4  * This file is part of LyX, the document processor.
5  * Licence details can be found in the file COPYING.
6  *
7  * \author John Levon
8  * \author Angus Leeming
9  *
10  * Full author contact details are available in file CREDITS
11  */
12
13 #ifndef CONTROLVCLOG_H
14 #define CONTROLVCLOG_H
15
16 #ifdef __GNUG__
17 #pragma interface
18 #endif
19
20 #include "ControlDialog_impl.h"
21 #include "Lsstream.h"
22
23 /**
24  * A controller for the Version Control log viewer.
25  */
26 class ControlVCLog : public ControlDialogBD {
27 public:
28         ///
29         ControlVCLog(LyXView &, Dialogs &);
30         /// get a stringstream containing the log file
31         stringstream & getVCLogFile(stringstream & ss) const;
32         /// get the filename of the buffer
33         string const getBufferFileName() const;
34
35 private:
36         ///
37         virtual void apply() {}
38 };
39
40 #endif // CONTROLVCLOG_H