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.
14 #include "ControlVCLog.h"
18 #include "support/lyxlib.h"
21 using lyx::support::unlink;
28 ControlVCLog::ControlVCLog(Dialog & parent)
29 : Dialog::Controller(parent)
33 string const ControlVCLog::getBufferFileName() const
35 return kernel().buffer().fileName();
39 void ControlVCLog::getVCLogFile(ostream & ss) const
41 string const name = kernel().buffer().lyxvc().getLogFile();
43 std::ifstream in(name.c_str());
53 ss << _("No version control log file found.") << endl;