]> 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 428cd8fd2db10010e110f603db6481d52999bdbb..708df3bfc0d9236c6d1cbca014636fcf297e935b 100644 (file)
 #ifndef CONTROLABOUTLYX_H
 #define CONTROLABOUTLYX_H
 
-
-#include "ControlDialog_impl.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 &);
-
-       ///
+       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