]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/xforms/FormVCLog.h
remove defaults stuff, let Qt handle no toolbar
[lyx.git] / src / frontends / xforms / FormVCLog.h
index 345c8569ecf77e9e61df7a990d08bd2abb433c4b..410fcb9e9696042b060e3e9034816e92e414080a 100644 (file)
@@ -1,36 +1,37 @@
 // -*- C++ -*-
-/*
- * FormVCLog.h
+/**
+ * \file FormVCLog.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 FORMVCLOG_H
 #define FORMVCLOG_H
 
-#include "FormBase.h"
-#include "FormBrowser.h"
 
-#ifdef __GNUG__
-#pragma interface
-#endif
+#include "FormBrowser.h"
 
-class LyXView;
-class Dialogs;
+class ControlVCLog;
 
 /**
  * This class provides an XForms implementation of the Version Control
  * log viewer
  */
-class FormVCLog : public FormBrowser {
+class FormVCLog : public FormController<ControlVCLog, FormBrowser> {
 public:
-       FormVCLog(LyXView *, Dialogs *);
-       ~FormVCLog();
+       ///
+       FormVCLog(Dialog &);
+
+       // 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 // FORMVCLOG_H