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 #pragma implementation
18 #include "ControlVCLog.h"
19 #include "ButtonControllerBase.h"
24 #include "support/lyxlib.h"
32 ControlVCLog::ControlVCLog(LyXView & lv, Dialogs & d)
33 : ControlDialogBD(lv, d)
37 string const ControlVCLog::getBufferFileName() const
39 return buffer()->fileName();
43 void ControlVCLog::getVCLogFile(ostream & ss) const
45 string const name = buffer()->lyxvc.getLogFile();
47 std::ifstream in(name.c_str());
57 ss << _("No version control log file found.") << endl;