]> git.lyx.org Git - lyx.git/blob - src/frontends/xforms/FormVCLog.C
Really dull and boring header shit
[lyx.git] / src / frontends / xforms / FormVCLog.C
1 /**
2  * \file FormVCLog.C
3  * See the file COPYING.
4  *
5  * \author John Levon
6  *
7  * Full author contact details are available in file CREDITS
8  */
9
10 #include <config.h>
11 #include "Lsstream.h"
12
13 #ifdef __GNUG__
14 #pragma implementation
15 #endif
16
17 #include "xformsBC.h"
18 #include "ControlVCLog.h"
19 #include "FormVCLog.h"
20 #include "forms/form_browser.h"
21 #include "gettext.h"
22 #include FORMS_H_LOCATION
23
24 FormVCLog::FormVCLog()
25         : FormCB<ControlVCLog, FormBrowser>(_("Version Control Log"))
26 {}
27
28
29 void FormVCLog::update()
30 {
31         fl_clear_browser(dialog_->browser);
32
33         stringstream ss;
34
35         fl_add_browser_line(dialog_->browser,
36                             controller().getVCLogFile(ss).str().c_str());
37 }