]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/xforms/FormLog.h
Bugfixes: checkboxes to radiobuttons (from J�rgen S) and remove a little
[lyx.git] / src / frontends / xforms / FormLog.h
index 9cb9ded05d464b9399b7339e8395d34b965fdf40..220dd3d03ac9a1015cf6934e7d20ce350fdab660 100644 (file)
@@ -9,28 +9,29 @@
 #ifndef FORMLOG_H
 #define FORMLOG_H
 
-#include "FormBase.h"
-#include "FormBrowser.h"
-
 #ifdef __GNUG__
 #pragma interface
 #endif
 
-class LyXView;
-class Dialogs;
+#include "FormBrowser.h"
+
+class ControlLog;
 
 /**
  * This class provides an XForms implementation of the LaTeX log dialog
  * for viewing the last LaTeX log file.
  */
-class FormLog : public FormBrowser {
+class FormLog : public FormCB<ControlLog, FormBrowser> {
 public:
-       FormLog(LyXView *, Dialogs *);
-       ~FormLog();
+       ///
+       FormLog(ControlLog &);
+
+       // Functions accessible to the Controller.
 
-private:
-       /// Update the dialog.
+       /// Set the Params variable for the Controller.
+       virtual void apply() {}
+       /// Update dialog before/whilst showing it.
        virtual void update();
 };
 
-#endif
+#endif // FORMLOG_H