Removed redundant LANGUAGE statements.
[wine] / programs / winecfg / properties.h
1 /*
2  * WineCfg configuration properties
3  *
4  * Copyright 2002 Jaco Greeff
5  * Copyright 2003 Dimitrie O. Paun
6  *
7  * This library is free software; you can redistribute it and/or
8  * modify it under the terms of the GNU Lesser General Public
9  * License as published by the Free Software Foundation; either
10  * version 2.1 of the License, or (at your option) any later version.
11  *
12  * This library 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 GNU
15  * Lesser General Public License for more details.
16  *
17  * You should have received a copy of the GNU Lesser General Public
18  * License along with this library; if not, write to the Free Software
19  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
20  *
21  */
22
23 #ifndef WINE_CFG_PROPERTIES_H
24 #define WINE_CFG_PROPERTIES_H
25
26 #include "commctrl.h"
27
28 #define MAX_NAME_LENGTH         64
29 #define MAX_VERSION_LENGTH      48
30 #define MAX_DESCRIPTION_LENGTH 128
31
32 typedef struct
33 {
34     char  szVersion[MAX_VERSION_LENGTH];
35     char  szDescription[MAX_DESCRIPTION_LENGTH];
36 } VERSION_DESC;
37
38 #define DLL_NATIVE  0x0000
39 #define DLL_BUILTIN 0x0001
40
41 typedef struct
42 {
43     char  szName[MAX_NAME_LENGTH];
44     int   nType;
45 } DLL_DESC;
46
47 typedef struct
48 {
49     char  szName[MAX_NAME_LENGTH];
50     char  szWinVer[MAX_VERSION_LENGTH];
51     char  szDOSVer[MAX_VERSION_LENGTH];
52     HDPA  DLLs;
53 } APP_DESC;
54
55 typedef struct
56 {
57     char   szX11Display[MAX_NAME_LENGTH];
58     int    nSysColors;
59     int    nPrivateMap;
60     int    nPerfect;
61     int    nDepth;
62     int    nManaged;
63     int    nDesktopSizeX;
64     int    nDesktopSizeY;
65     int    nDGA;
66     int    nXShm;
67     int    nXVidMode;
68     int    nTakeFocus;
69     int    nDXGrab;
70     int    nDoubleBuffered;
71     int    nTextCP;
72     int    nXVideoPort;
73     int    nSynchronous;
74 } X11DRV_DESC;
75
76 const VERSION_DESC *getWinVersions(void);
77 const VERSION_DESC *getDOSVersions(void);
78 const VERSION_DESC *getWinelook(void);
79 const DLL_DESC *getDLLDefaults(void);
80
81 #endif