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