]> git.lyx.org Git - lyx.git/blob - src/frontends/controllers/ControlVCLog.h
Edwin's "about" patch + consistent use of Lsstream.h
[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 ControlVCLog : public ControlDialog<ControlConnectBD> {
29 public:
30         ///
31         ControlVCLog(LyXView &, Dialogs &);
32         /// get a stringstream containing the log file
33         stringstream & getVCLogFile(stringstream & ss) const;
34         /// get the filename of the buffer
35         string const getBufferFileName() const;
36
37 private:
38         ///
39         virtual void apply() {}
40 };
41
42 #endif // CONTROLVCLOG_H