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();
36 // copy log to clipboard
37 void on_copyPB_clicked();
43 /// log syntax highlighter
44 LogHighlighter * highlighter;
46 /** \param data should contain "<logtype> <logfile>"
47 * where <logtype> is one of "latex", "literate", "lyx2lyx", "vc".
49 bool initialiseParams(std::string const & data);
53 void dispatchParams() {}
55 bool isBufferDependent() const { return true; }
57 /// The title displayed by the dialog reflects the \c LogType
58 docstring title() const;
59 /// put the log file into the ostream
60 void getContents(std::ostream & ss) const;
63 /// Recognized log file-types
72 support::FileName logfile_;
76 } // namespace frontend