]>
Commit | Line | Data |
---|---|---|
21006e63 CW |
1 | /* |
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 | * | |
7 | * This program is free software; you can redistribute it and/or modify | |
8 | * it under the terms of the GNU General Public License as published by | |
9 | * the Free Software Foundation in version 2 of the License. | |
10 | * | |
11 | * This program is distributed in the hope that it will be useful, | |
12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
14 | * GNU General Public License for more details. | |
15 | * | |
16 | * You should have received a copy of the GNU General Public License | |
17 | * along with this program; if not, write to the Free Software | |
18 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
19 | */ | |
20 | ||
21 | #if !defined(Win32Utils_hh) | |
22 | #define Win32Utils_hh | |
23 | ||
24 | #if HAVE_CONFIG_H | |
25 | # include "config.h" | |
26 | #endif | |
27 | #include "common.h" | |
28 | ||
29 | #include <string> | |
30 | ||
31 | using namespace std; | |
32 | ||
33 | class Win32Utils | |
34 | { | |
35 | public: | |
36 | static string getErrorMessage(); | |
37 | static string getErrorMessage(DWORD code); | |
38 | }; | |
39 | ||
40 | #endif |