update for HEAD-2003091401
[reactos.git] / subsys / system / explorer / 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 "windows.h"
20
21 static const CHAR LicenseCaption[] = "LICENSE";
22 static const CHAR License[] =
23 "This library is free software; you can redistribute it and/or "
24 "modify it under the terms of the GNU Lesser General Public "
25 "License as published by the Free Software Foundation; either "
26 "version 2.1 of the License, or (at your option) any later version.\n"
27
28 "This library is distributed in the hope that it will be useful, "
29 "but WITHOUT ANY WARRANTY; without even the implied warranty of "
30 "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU "
31 "Lesser General Public License for more details.\n"
32
33 "You should have received a copy of the GNU Lesser General Public "
34 "License along with this library; if not, write to the Free Software "
35 "Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA";
36
37 static const CHAR NoWarrantyCaption[] = "NO WARRANTY";
38 static const CHAR NoWarranty[] =
39 "This library is distributed in the hope that it will be useful, "
40 "but WITHOUT ANY WARRANTY; without even the implied warranty of "
41 "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU "
42 "Lesser General Public License for more details.";
43
44 VOID WineLicense(HWND hwnd)
45 {
46   MessageBoxA(hwnd, License, LicenseCaption, MB_ICONINFORMATION|MB_OK);
47 }
48
49 VOID WineWarranty(HWND hwnd)
50 {
51   MessageBoxA(hwnd, NoWarranty, NoWarrantyCaption, MB_ICONEXCLAMATION|MB_OK);
52 }