+
+ /** \param data should contain "<logtype> <logfile>"
+ * where <logtype> is one of "latex", "literate", "lyx2lyx", "vc".
+ */
+ bool initialiseParams(std::string const & data);
+ ///
+ void clearParams();
+ ///
+ void dispatchParams() {}
+ ///
+ bool isBufferDependent() const { return true; }
+
+ /// The title displayed by the dialog reflects the \c LogType
+ docstring title() const;
+ /// put the log file into the ostream
+ void getContents(std::ostream & ss) const;
+ /// go to the next occurence of the RegExp
+ void goTo(QRegExp const & exp) const;
+ /// does the document after cursor position contain the RegExp?
+ bool contains(QRegExp const & exp) const;
+
+private:
+ /// Recognized log file-types
+ enum LogType {
+ LatexLog,
+ LiterateLog,
+ Lyx2lyxLog,
+ VCLog
+ };
+
+ LogType type_;
+ support::FileName logfile_;