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.
14 #include "ControlLog.h"
15 #include "forms/form_browser.h"
17 #include "lyx_forms.h"
24 FormLog::FormLog(Dialog & parent)
25 : FormController<ControlLog, FormBrowser>(parent, "")
29 void FormLog::update()
31 setTitle(controller().title());
33 std::ostringstream ss;
34 controller().getContents(ss);
36 fl_clear_browser(dialog_->browser);
37 fl_add_browser_line(dialog_->browser, ss.str().c_str());
40 } // namespace frontend