3 * This file is part of LyX, the document processor.
4 * Licence details can be found in the file COPYING.
7 * \author Angus Leeming
9 * Full author contact details are available in file CREDITS
15 #include "ControlVCLog.h"
16 #include "ButtonControllerBase.h"
21 #include "support/lyxlib.h"
29 ControlVCLog::ControlVCLog(LyXView & lv, Dialogs & d)
30 : ControlDialogBD(lv, d)
34 string const ControlVCLog::getBufferFileName() const
36 return buffer()->fileName();
40 void ControlVCLog::getVCLogFile(ostream & ss) const
42 string const name = buffer()->lyxvc.getLogFile();
44 std::ifstream in(name.c_str());
54 ss << _("No version control log file found.") << endl;