]>
Commit | Line | Data |
---|---|---|
fe3a7d70 | 1 | /* |
21006e63 CW |
2 | * lpr for cygwin/windows |
3 | * | |
4 | * Copyright (C) 2000-2003 Rick Rankin | |
5 | * http://www.cygwin.com/ml/cygwin/2000-07/msg00320.html | |
6 | * | |
d76073f1 | 7 | * This program is free software: you can redistribute it and/or modify |
21006e63 | 8 | * it under the terms of the GNU General Public License as published by |
d76073f1 CW |
9 | * the Free Software Foundation, either version 3 of the License, or |
10 | * (at your option) any later version. | |
21006e63 CW |
11 | * |
12 | * This program is distributed in the hope that it will be useful, | |
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
15 | * GNU General Public License for more details. | |
16 | * | |
17 | * You should have received a copy of the GNU General Public License | |
d76073f1 CW |
18 | * along with this program. If not, see <http://www.gnu.org/licenses/>. |
19 | * | |
20 | * See the COPYING file for full license information. | |
21006e63 CW |
21 | */ |
22 | ||
23 | #if !defined(Win32Utils_hh) | |
24 | #define Win32Utils_hh | |
25 | ||
26 | #if HAVE_CONFIG_H | |
27 | # include "config.h" | |
28 | #endif | |
29 | #include "common.h" | |
30 | ||
31 | #include <string> | |
32 | ||
21006e63 CW |
33 | class Win32Utils |
34 | { | |
35 | public: | |
fe3a7d70 CW |
36 | static std::string getErrorMessage(); |
37 | static std::string getErrorMessage(DWORD code); | |
21006e63 CW |
38 | }; |
39 | ||
40 | #endif |