]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/xforms/FormLog.h
fix crash with "save as"
[lyx.git] / src / frontends / xforms / FormLog.h
index ed82c8e06203a8728cc4e688ec1badef675538b4..41d22221a1c4f011d93c1bbbf9c5716a12da6730 100644 (file)
@@ -1,35 +1,40 @@
 // -*- C++ -*-
-/*
+/**
  * FormLog.h
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
+ *
+ * \author John Levon
  *
- * (C) 2001 LyX Team
- * John Levon, moz@compsoc.man.ac.uk
+ * Full author contact details are available in file CREDITS
  */
 
 #ifndef FORMLOG_H
 #define FORMLOG_H
 
-#include "FormBaseDeprecated.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 *);
-private:
-       /// Update the dialog.
+       FormLog();
+
+       // Functions accessible to the Controller.
+
+       /// Set the Params variable for the Controller.
+       virtual void apply() {}
+       /// Update dialog before/whilst showing it.
        virtual void update();
 };
 
-#endif
+#endif // FORMLOG_H