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.
19 * A controller for a read-only text browser.
21 class ControlLog : public Dialog::Controller {
25 /** \param data should contain "<logtype> <logfile>"
26 * where <logtype> is one of "latex", "literate", "lyx2lyx", "vc".
28 virtual bool initialiseParams(std::string const & data);
30 virtual void clearParams();
32 virtual void dispatchParams() {}
34 virtual bool isBufferDependent() const { return true; }
36 /// The title displayed by the dialog reflects the \c LOGTYPE
37 std::string const title() const;
38 /// put the log file into the ostream
39 void getContents(std::ostream & ss) const;
42 /// Recognized log file-types
54 #endif // CONTROLLOG_H