mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-11 21:49:51 +00:00
f239801ae3
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7686 a592a061-630c-0410-9148-cb99ea01b6c8
38 lines
715 B
C
38 lines
715 B
C
/**
|
|
* \file FormVCLog.C
|
|
* This file is part of LyX, the document processor.
|
|
* Licence details can be found in the file COPYING.
|
|
*
|
|
* \author John Levon
|
|
*
|
|
* Full author contact details are available in file CREDITS.
|
|
*/
|
|
|
|
#include <config.h>
|
|
|
|
#include "FormVCLog.h"
|
|
#include "ControlVCLog.h"
|
|
#include "forms/form_browser.h"
|
|
|
|
#include "xformsBC.h"
|
|
|
|
#include "lyx_forms.h"
|
|
|
|
#include "support/std_sstream.h"
|
|
|
|
|
|
FormVCLog::FormVCLog(Dialog & parent)
|
|
: FormController<ControlVCLog, FormBrowser>(parent, _("Version Control Log"))
|
|
{}
|
|
|
|
|
|
void FormVCLog::update()
|
|
{
|
|
fl_clear_browser(dialog_->browser);
|
|
|
|
std::ostringstream ss;
|
|
controller().getVCLogFile(ss);
|
|
|
|
fl_add_browser_line(dialog_->browser, ss.str().c_str());
|
|
}
|