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.
18 #include "support/FileName.h"
24 * A controller for a read-only text browser.
26 class ControlLog : public Dialog::Controller {
30 /** \param data should contain "<logtype> <logfile>"
31 * where <logtype> is one of "latex", "literate", "lyx2lyx", "vc".
33 virtual bool initialiseParams(std::string const & data);
35 virtual void clearParams();
37 virtual void dispatchParams() {}
39 virtual bool isBufferDependent() const { return true; }
41 /// The title displayed by the dialog reflects the \c LOGTYPE
42 docstring const title() const;
43 /// put the log file into the ostream
44 void getContents(std::ostream & ss) const;
47 /// Recognized log file-types
56 support::FileName logfile_;
59 } // namespace frontend
62 #endif // CONTROLLOG_H