Improve font support in Notepad.
[wine] / programs / winefile / license.c
1 /*
2  * Copyright 2000 Martin Fuchs
3  *
4  * This library is free software; you can redistribute it and/or
5  * modify it under the terms of the GNU Lesser General Public
6  * License as published by the Free Software Foundation; either
7  * version 2.1 of the License, or (at your option) any later version.
8  *
9  * This library 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 GNU
12  * Lesser General Public License for more details.
13  *
14  * You should have received a copy of the GNU Lesser General Public
15  * License along with this library; if not, write to the Free Software
16  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
17 */
18
19 #include "winefile.h"
20
21 #ifdef __WINE__
22
23 static const CHAR LicenseCaption[] = "LICENSE";
24 static const CHAR License[] =
25 "This library is free software; you can redistribute it and/or "
26 "modify it under the terms of the GNU Lesser General Public "
27 "License as published by the Free Software Foundation; either "
28 "version 2.1 of the License, or (at your option) any later version.\n"
29
30 "This library is distributed in the hope that it will be useful, "
31 "but WITHOUT ANY WARRANTY; without even the implied warranty of "
32 "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU "
33 "Lesser General Public License for more details.\n"
34
35 "You should have received a copy of the GNU Lesser General Public "
36 "License along with this library; if not, write to the Free Software "
37 "Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA";
38
39 static const CHAR NoWarrantyCaption[] = "NO WARRANTY";
40 static const CHAR NoWarranty[] =
41 "This library is distributed in the hope that it will be useful, "
42 "but WITHOUT ANY WARRANTY; without even the implied warranty of "
43 "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU "
44 "Lesser General Public License for more details.";
45
46 VOID WineLicense(HWND hwnd)
47 {
48   MessageBoxA(hwnd, License, LicenseCaption, MB_ICONINFORMATION|MB_OK);
49 }
50
51 VOID WineWarranty(HWND hwnd)
52 {
53   MessageBoxA(hwnd, NoWarranty, NoWarrantyCaption, MB_ICONEXCLAMATION|MB_OK);
54 }
55
56 #endif