4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
8 * \author Angus Leeming
10 * Full author contact details are available in file CREDITS.
16 #include "GuiDialog.h"
19 #include "support/FileName.h"
27 class GuiLog : public GuiDialog, public Ui::LogUi, public Controller
35 void updateContents();
38 void closeEvent(QCloseEvent * e);
40 Controller & controller() { return *this; }
44 /// log syntax highlighter
45 LogHighlighter * highlighter;
47 /** \param data should contain "<logtype> <logfile>"
48 * where <logtype> is one of "latex", "literate", "lyx2lyx", "vc".
50 bool initialiseParams(std::string const & data);
54 void dispatchParams() {}
56 bool isBufferDependent() const { return true; }
58 /// The title displayed by the dialog reflects the \c LogType
59 docstring title() const;
60 /// put the log file into the ostream
61 void getContents(std::ostream & ss) const;
64 /// Recognized log file-types
73 support::FileName logfile_;
77 } // namespace frontend