]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/controllers/ControlAboutlyx.h
Add a buffer_path arg to InsetGraphicsMailer's params2string, string2params.
[lyx.git] / src / frontends / controllers / ControlAboutlyx.h
index 83b1d6ecd5b0bafba93cc3f29e39e10f05117a4c..708df3bfc0d9236c6d1cbca014636fcf297e935b 100644 (file)
@@ -1,50 +1,43 @@
 // -*- C++ -*-
 /**
  * \file ControlAboutlyx.h
- * Copyright 2001 The LyX Team.
- * See the file COPYING.
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
  *
- * \author Edwin Leuven, leuven@fee.uva.nl
- * \author Angus Leeming <a.leeming@ic.ac.uk>
+ * \author Edwin Leuven
+ * \author Angus Leeming
+ *
+ * Full author contact details are available in file CREDITS
  */
 
 #ifndef CONTROLABOUTLYX_H
 #define CONTROLABOUTLYX_H
 
-#ifdef __GNUG__
-#pragma interface
-#endif
-
-#include "ControlDialog_impl.h"
-#include "Lsstream.h"
-#include "LString.h"
+#include "Dialog.h"
+#include <iosfwd>
 
-/** A controller for the About LyX dialogs.
+/** \c ControlAboutlyx is a controller for the "About LyX" dialogs.
  */
-class ControlAboutlyx : public ControlDialogBI {
+class ControlAboutlyx : public Dialog::Controller {
 public:
-       ///
-       ControlAboutlyx(LyXView &, Dialogs &);
-
-       ///
-       stringstream & getCredits(stringstream &) const;
-
-       ///
+       ControlAboutlyx(Dialog & parent);
+
+       //@{
+       /// Instantiate Dialog::Controller methods.
+       virtual bool initialiseParams(string const &) { return true; }
+       virtual void clearParams() {}
+       virtual void dispatchParams() {}
+       virtual bool isBufferDependent() const { return false; }
+       //@}
+
+       //@{
+       /// Provide the View with specific pieces of information.
+       void getCredits(std::ostream &) const;
        string const getCopyright() const;
-
-       ///
        string const getLicense() const;
-
-       ///
        string const getDisclaimer() const;
-
-       ///
        string const getVersion() const;
-
-
-private:
-       /// not needed.
-       virtual void apply() {}
+       //@}
 };
 
 #endif // CONTROLABOUTLYX_H