winex11: Make sure that all glX functions are called under the X11 lock.
[wine] / dlls / localui / localui.h
1 /*
2  * internal include file of the Local Printmonitor User Interface
3  *
4  * Copyright 2007 Detlef Riekenberg
5  *
6  * This library is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU Lesser General Public
8  * License as published by the Free Software Foundation; either
9  * version 2.1 of the License, or (at your option) any later version.
10  *
11  * This library 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 GNU
14  * Lesser General Public License for more details.
15  *
16  * You should have received a copy of the GNU Lesser General Public
17  * License along with this library; if not, write to the Free Software
18  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19  */
20
21 #ifndef __WINE_LOCALUI__
22 #define __WINE_LOCALUI__
23
24
25 /* ## Resource-ID ## */
26 #define ADDPORT_DIALOG  100
27 #define ADDPORT_EDIT    101
28
29 #define LPTCONFIG_DIALOG 200
30 #define LPTCONFIG_GROUP  201
31 #define LPTCONFIG_EDIT   202
32
33 #define IDS_LOCALPORT       300
34 #define IDS_INVALIDNAME     301
35 #define IDS_PORTEXISTS      302
36 #define IDS_NOTHINGTOCONFIG 303
37
38 /* ## Reserved memorysize for the strings (in WCHAR) ## */
39 #define IDS_LOCALPORT_MAXLEN 32
40 #define IDS_INVALIDNAME_MAXLEN 48
41 #define IDS_PORTEXISTS_MAXLEN  48
42 #define IDS_NOTHINGTOCONFIG_MAXLEN 80
43
44 /* ## Type of Ports ## */
45 /* windows types */
46 #define PORT_IS_UNKNOWN  0
47 #define PORT_IS_LPT      1
48 #define PORT_IS_COM      2
49 #define PORT_IS_FILE     3
50 #define PORT_IS_FILENAME 4
51
52 /* wine extensions */
53 #define PORT_IS_WINE     5
54 #define PORT_IS_UNIXNAME 5
55 #define PORT_IS_PIPE     6
56 #define PORT_IS_CUPS     7
57 #define PORT_IS_LPR      8
58
59
60 #endif /* __WINE_LOCALUI__ */