]> git.lyx.org Git - lyx.git/blob - src/frontends/controllers/ControlAboutlyx.h
Overhaul the branches code.
[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 /** \c ControlAboutlyx is a controller for the "About LyX" dialogs.
20  */
21 class ControlAboutlyx : public Dialog::Controller {
22 public:
23         ControlAboutlyx(Dialog & parent);
24
25         //@{
26         /// Instantiate Dialog::Controller methods.
27         virtual bool initialiseParams(std::string const &) { return true; }
28         virtual void clearParams() {}
29         virtual void dispatchParams() {}
30         virtual bool isBufferDependent() const { return false; }
31         //@}
32
33         //@{
34         /// Provide the View with specific pieces of information.
35         void getCredits(std::ostream &) const;
36         std::string const getCopyright() const;
37         std::string const getLicense() const;
38         std::string const getDisclaimer() const;
39         std::string const getVersion() const;
40         //@}
41 };
42
43 #endif // CONTROLABOUTLYX_H