]> git.lyx.org Git - lyx.git/blob - src/frontends/controllers/ControlVCLog.h
John's VCLog patch + a ChangeLog entry I missed last time
[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 #ifdef __GNUG__
20 #pragma interface
21 #endif
22
23 #include "ControlDialogs.h"
24
25 /**
26  * A controller for the Version Control log viewer.
27  */
28 class stringstream;
29
30 class ControlVCLog : public ControlDialog<ControlConnectBD> {
31 public:
32         ///
33         ControlVCLog(LyXView &, Dialogs &);
34         /// get a stringstream containing the log file
35         std::stringstream & getVCLogFile(std::stringstream & ss) const;
36         /// get the filename of the buffer
37         string const getBufferFileName() const;
38
39 private:
40         ///
41         virtual void apply() {}
42 };
43
44 #endif // CONTROLVCLOG_H