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"
17 #include "support/lyxlib.h"
20 using namespace lyx::support;
26 ControlVCLog::ControlVCLog(Dialog & parent)
27 : Dialog::Controller(parent)
31 string const ControlVCLog::getBufferFileName() const
33 return kernel().buffer()->fileName();
37 void ControlVCLog::getVCLogFile(ostream & ss) const
39 string const name = kernel().buffer()->lyxvc.getLogFile();
41 std::ifstream in(name.c_str());
51 ss << _("No version control log file found.") << endl;