// -*- C++ -*-
/**
- * \file ControlAboutLyX.h
- * Copyright 2001 The LyX Team.
- * See the file COPYING.
+ * \file ControlAboutlyx.h
+ * 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
-