]> git.lyx.org Git - lyx.git/blob - src/frontends/controllers/ControlCopyright.C
Added // -*- C++ -*- to the top of all files in controllers/ and xforms/
[lyx.git] / src / frontends / controllers / ControlCopyright.C
1 // -*- C++ -*-
2 /*
3  * \file ControlCopyright.C
4  * Copyright 2000-2001 The LyX Team.
5  * See the file COPYING.
6  *
7  * \author Allan Rae
8  * \author Angus Leeming, a.leeming@.ac.uk
9  */
10
11 #ifdef __GNUG__
12 #pragma implementation
13 #endif
14
15 #include <config.h>
16
17 #include "ViewBase.h"
18 #include "ButtonControllerBase.h"
19 #include "ControlCopyright.h"
20 #include "Dialogs.h"
21 #include "LyXView.h"
22 #include "BufferView.h"
23 #include "gettext.h"
24
25 using SigC::slot;
26
27 ControlCopyright::ControlCopyright(LyXView & lv, Dialogs & d)
28         : ControlDialog<ControlConnectBI>(lv, d)
29 {
30         d_.showCopyright.connect(slot(this, &ControlCopyright::show));
31 }
32
33
34 string const ControlCopyright::getCopyright() const
35 {
36         return _("LyX is Copyright (C) 1995 by Matthias Ettrich,\n1995-2001 LyX Team");
37 }
38
39 string const ControlCopyright::getLicence() const
40 {
41         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.");
42 }
43
44 string const ControlCopyright::getDisclaimer() const
45 {
46         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.");
47 }