- ControlLog(LyXView &, Dialogs &);
- ///
- std::pair<Buffer::LogType, string> const & logfile()
- { return logfile_; }
-
-protected:
- ///
- virtual void apply() {}
- /// Show the dialog.
- virtual void show();
- /// Update the dialog.
- virtual void update();
- /// Hide the dialog.
- virtual void hide();
-
-private:
- std::pair<Buffer::LogType, string> logfile_;
-};
-
-
-/** A class to instantiate and make available the GUI-specific
- ButtonController and View.
- */
-template <class GUIview, class GUIbc>
-class GUILog : public ControlLog {
-public:
+ ControlLog(Dialog &);
+ /** \param data should contain "<logtype> <logfile>"
+ * where <logtype> is one of "latex", "literate", "lyx2lyx", "vc".
+ */
+ virtual bool initialiseParams(std::string const & data);