3 * This file is part of LyX, the document processor.
4 * Licence details can be found in the file COPYING.
8 * Full author contact details are available in file CREDITS.
13 #include "FormVCLog.h"
14 #include "ControlVCLog.h"
15 #include "forms/form_browser.h"
19 #include "lyx_forms.h"
21 #include "support/std_sstream.h"
24 FormVCLog::FormVCLog(Dialog & parent)
25 : FormController<ControlVCLog, FormBrowser>(parent, _("Version Control Log"))
29 void FormVCLog::update()
31 fl_clear_browser(dialog_->browser);
34 controller().getVCLogFile(ss);
36 fl_add_browser_line(dialog_->browser, ss.str().c_str());