Debian Codegraph @

src/af/xap/xp/xap_Dlg_About.h

raw
1 /* AbiSource Application Framework
2 * Copyright (C) 1998-2000 AbiSource, Inc.
3 *
4 * This program is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU General Public License
6 * as published by the Free Software Foundation; either version 2
7 * of the License, or (at your option) any later version.
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 *
14 * You should have received a copy of the GNU General Public License
15 * along with this program; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
17 * 02110-1301 USA.
18 */
19
20 #ifndef XAP_DIALOG_ABOUT_H
21 #define XAP_DIALOG_ABOUT_H
22
23 /* pre-emptive dismissal; ut_types.h is needed by just about everything,
24 * so even if it's commented out in-file that's still a lot of work for
25 * the preprocessor to do...
26 */
27 #ifndef UT_TYPES_H
28 #include "ut_types.h"
29 #endif
30
31 #include "xap_Dialog.h"
32 #include "xav_View.h"
33
34 // NOTE: don't localize these through the strings mechanism
35 // NOTE: we need to be sure that legal text is built into the app
36
37 #define XAP_ABOUT_TITLE "About %s"
38 #define XAP_ABOUT_DESCRIPTION "%s is an Open Source application licensed under the GNU GPL.\nYou are free to redistribute this application."
39 #define XAP_ABOUT_COPYRIGHT "Copyright (C) 1998-2011 Dom Lachowicz, and others"
40 #define XAP_ABOUT_GPL "%s is available for use under the the terms\nof the GNU General Public License"
41 #define XAP_ABOUT_VERSION "Version: %s"
42 #define XAP_ABOUT_BUILD "Build options: %s"
43 #define XAP_ABOUT_URL "For more information: http://www.abisource.com/"
44 #define XAP_ABOUT_GPL_LONG "AbiWord and AbiSource are trademarks of AbiSource, Inc.\r\n\r\n%s is free software; you can redistribute it and/or \
45 modify it under the terms of the GNU General Public License \
46 as published by the Free Software Foundation; either version 2 \
47 of the License, or (at your option) any later version.\r\n\r\n\
48 This program is distributed in the hope that it will be useful, \
49 but WITHOUT ANY WARRANTY; without even the implied warranty of \
50 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the \
51 GNU General Public License for more details."
52
53 #define XAP_ABOUT_GPL_LONG_LINE_BROKEN "AbiWord and AbiSource are trademarks of\nAbiSource, Inc.\n\n%s is free software; you can redistribute it\n \
54 and/or modify it under the terms of the GNU General\n \
55 Public License as published by the Free Software\n \
56 Foundation; either version 2 of the License, or (at your\n \
57 option) any later version.\r\n\r\n \
58 This program is distributed in the hope that it will be useful,\n \
59 but WITHOUT ANY WARRANTY; without even the\n \
60 implied warranty of MERCHANTABILITY or FITNESS\n \
61 FOR A PARTICULAR PURPOSE. See the GNU General\n \
62 Public License for more details."
63
64 #define XAP_ABOUT_GPL_LONG_LF "AbiWord and AbiSource are trademarks of AbiSource, Inc.\n\n%s is free software; you can redistribute it and/or \
65 modify it under the terms of the GNU General Public License \
66 as published by the Free Software Foundation; either version 2 \
67 of the License, or (at your option) any later version.\n\n\
68 This program is distributed in the hope that it will be useful, \
69 but WITHOUT ANY WARRANTY; without even the implied warranty of \
70 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the \
71 GNU General Public License for more details."
72
73 class ABI_EXPORT XAP_Dialog_About : public XAP_Dialog_NonPersistent
74 {
75 public:
76 XAP_Dialog_About(XAP_DialogFactory * pDlgFactory, XAP_Dialog_Id id);
77 virtual ~XAP_Dialog_About(void);
78
79 virtual void runModal(XAP_Frame * pFrame) = 0;
80
81 protected:
82
83 };
84
85 #endif // XAP_DIALOG_ABOUT_H