]> git.lyx.org Git - features.git/blob - src/frontends/xforms/FormVCLog.C
Replace LString.h with support/std_string.h,
[features.git] / src / frontends / xforms / FormVCLog.C
1 /**
2  * \file FormVCLog.C
3  * This file is part of LyX, the document processor.
4  * Licence details can be found in the file COPYING.
5  *
6  * \author John Levon
7  *
8  * Full author contact details are available in file CREDITS.
9  */
10
11 #include <config.h>
12
13 #include "FormVCLog.h"
14 #include "ControlVCLog.h"
15 #include "forms/form_browser.h"
16
17 #include "xformsBC.h"
18
19 #include "lyx_forms.h"
20
21 #include "support/std_sstream.h"
22
23
24 FormVCLog::FormVCLog(Dialog & parent)
25         : FormController<ControlVCLog, FormBrowser>(parent, _("Version Control Log"))
26 {}
27
28
29 void FormVCLog::update()
30 {
31         fl_clear_browser(dialog_->browser);
32
33         ostringstream ss;
34         controller().getVCLogFile(ss);
35
36         fl_add_browser_line(dialog_->browser, ss.str().c_str());
37 }