]> git.lyx.org Git - lyx.git/blob - src/frontends/controllers/ControlAboutlyx.h
fix crash due to invalidated iterator
[lyx.git] / src / frontends / controllers / ControlAboutlyx.h
1 // -*- C++ -*-
2 /**
3  * \file ControlAboutlyx.h
4  * This file is part of LyX, the document processor.
5  * Licence details can be found in the file COPYING.
6  *
7  * \author Edwin Leuven
8  * \author Angus Leeming
9  *
10  * Full author contact details are available in file CREDITS.
11  */
12
13 #ifndef CONTROLABOUTLYX_H
14 #define CONTROLABOUTLYX_H
15
16 #include "Dialog.h"
17 #include <iosfwd>
18
19 namespace lyx {
20 namespace frontend {
21
22 /** \c ControlAboutlyx is a controller for the "About LyX" dialogs.
23  */
24 class ControlAboutlyx : public Dialog::Controller {
25 public:
26         ControlAboutlyx(Dialog & parent);
27
28         //@{
29         /// Instantiate Dialog::Controller methods.
30         virtual bool initialiseParams(std::string const &) { return true; }
31         virtual void clearParams() {}
32         virtual void dispatchParams() {}
33         virtual bool isBufferDependent() const { return false; }
34         //@}
35
36         //@{
37         /// Provide the View with specific pieces of information.
38         void getCredits(std::ostream &) const;
39         std::string const getCopyright() const;
40         std::string const getLicense() const;
41         std::string const getDisclaimer() const;
42         std::string const getVersion() const;
43         //@}
44 };
45
46 } // namespace frontend
47 } // namespace lyx
48
49 #endif // CONTROLABOUTLYX_H