lyx_mirror/src/frontends/xforms/FormVCLog.C
Angus Leeming cec0dd19d0 Edwin's "about" patch + consistent use of Lsstream.h
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2239 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-13 14:03:48 +00:00

33 lines
576 B
C

/* FormVCLog.C
* (C) 2001 LyX Team
* John Levon, moz@compsoc.man.ac.uk
*/
#include <config.h>
#include "Lsstream.h"
#ifdef __GNUG__
#pragma implementation
#endif
#include "xformsBC.h"
#include "ControlVCLog.h"
#include "FormVCLog.h"
#include "form_browser.h"
#include "gettext.h"
FormVCLog::FormVCLog(ControlVCLog & c)
: FormCB<ControlVCLog, FormBrowser>(c, _("Version Control Log"))
{}
void FormVCLog::update()
{
fl_clear_browser(dialog_->browser);
stringstream ss;
fl_add_browser_line(dialog_->browser,
controller().getVCLogFile(ss).str().c_str());
}