]> git.lyx.org Git - lyx.git/blob - src/frontends/controllers/ControlCopyright.C
John's TabularCreate patch. I think I'm now up to date. Have a great Easter!
[lyx.git] / src / frontends / controllers / ControlCopyright.C
1 /*
2  * \file ControlCopyright.C
3  * Copyright 2000-2001 The LyX Team.
4  * See the file COPYING.
5  *
6  * \author Allan Rae
7  * \author Angus Leeming, a.leeming@.ac.uk
8  */
9
10 #ifdef __GNUG__
11 #pragma implementation
12 #endif
13
14 #include <config.h>
15
16 #include "ControlCopyright.h"
17 #include "Dialogs.h"
18 #include "LyXView.h"
19 #include "BufferView.h"
20 #include "gettext.h"
21
22 using SigC::slot;
23
24 ControlCopyright::ControlCopyright(LyXView & lv, Dialogs & d)
25         : ControlDialog<ControlConnectBI>(lv, d)
26 {
27         d_.showCopyright.connect(slot(this, &ControlCopyright::show));
28 }
29
30
31 string const ControlCopyright::getCopyright() const
32 {
33         return _("LyX is Copyright (C) 1995 by Matthias Ettrich,\n1995-2001 LyX Team");
34 }
35
36 string const ControlCopyright::getLicence() const
37 {
38         return _("This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.");
39 }
40
41 string const ControlCopyright::getDisclaimer() const
42 {
43         return _("LyX is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\nSee the GNU General Public License for more details.\nYou should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.");
44 }