]> git.lyx.org Git - lyx.git/blob - src/frontends/controllers/ControlCopyright.C
Removed // -*- C++ -*- from all .C files!
[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 "ViewBase.h"
17 #include "ButtonControllerBase.h"
18 #include "ControlCopyright.h"
19 #include "Dialogs.h"
20 #include "LyXView.h"
21 #include "BufferView.h"
22 #include "gettext.h"
23
24 using SigC::slot;
25
26 ControlCopyright::ControlCopyright(LyXView & lv, Dialogs & d)
27         : ControlDialog<ControlConnectBI>(lv, d)
28 {
29         d_.showCopyright.connect(slot(this, &ControlCopyright::show));
30 }
31
32
33 string const ControlCopyright::getCopyright() const
34 {
35         return _("LyX is Copyright (C) 1995 by Matthias Ettrich,\n1995-2001 LyX Team");
36 }
37
38 string const ControlCopyright::getLicence() const
39 {
40         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.");
41 }
42
43 string const ControlCopyright::getDisclaimer() const
44 {
45         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.");
46 }