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
35 void updateContents();
38 void closeEvent(QCloseEvent * e);
42 /// log syntax highlighter
43 LogHighlighter * highlighter;
45 /** \param data should contain "<logtype> <logfile>"
46 * where <logtype> is one of "latex", "literate", "lyx2lyx", "vc".
48 bool initialiseParams(std::string const & data);
52 void dispatchParams() {}
54 bool isBufferDependent() const { return true; }
56 /// The title displayed by the dialog reflects the \c LogType
57 docstring title() const;
58 /// put the log file into the ostream
59 void getContents(std::ostream & ss) const;
62 /// Recognized log file-types
71 support::FileName logfile_;
75 } // namespace frontend