Warning: That file was not part of the compilation database. It may have many parsing errors.

1/****************************************************************************
2**
3** Copyright (C) 2016 The Qt Company Ltd.
4** Contact: https://www.qt.io/licensing/
5**
6** This file is part of the QtCore module of the Qt Toolkit.
7**
8** $QT_BEGIN_LICENSE:LGPL$
9** Commercial License Usage
10** Licensees holding valid commercial Qt licenses may use this file in
11** accordance with the commercial license agreement provided with the
12** Software or, alternatively, in accordance with the terms contained in
13** a written agreement between you and The Qt Company. For licensing terms
14** and conditions see https://www.qt.io/terms-conditions. For further
15** information use the contact form at https://www.qt.io/contact-us.
16**
17** GNU Lesser General Public License Usage
18** Alternatively, this file may be used under the terms of the GNU Lesser
19** General Public License version 3 as published by the Free Software
20** Foundation and appearing in the file LICENSE.LGPL3 included in the
21** packaging of this file. Please review the following information to
22** ensure the GNU Lesser General Public License version 3 requirements
23** will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
24**
25** GNU General Public License Usage
26** Alternatively, this file may be used under the terms of the GNU
27** General Public License version 2.0 or (at your option) the GNU General
28** Public license version 3 or any later version approved by the KDE Free
29** Qt Foundation. The licenses are as published by the Free Software
30** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
31** included in the packaging of this file. Please review the following
32** information to ensure the GNU General Public License requirements will
33** be met: https://www.gnu.org/licenses/gpl-2.0.html and
34** https://www.gnu.org/licenses/gpl-3.0.html.
35**
36** $QT_END_LICENSE$
37**
38****************************************************************************/
39
40#ifndef QT_WINDOWS_H
41#define QT_WINDOWS_H
42
43#if 0
44#pragma qt_sync_skip_header_check
45#pragma qt_sync_stop_processing
46#endif
47
48#if defined(Q_CC_MINGW)
49// mingw's windows.h does not set _WIN32_WINNT, resulting breaking compilation
50# ifndef WINVER
51# define WINVER 0x601
52# endif
53# ifndef _WIN32_WINNT
54# define _WIN32_WINNT 0x601
55# endif
56# ifndef NTDDI_VERSION
57# define NTDDI_VERSION 0x06000000
58# endif
59#endif
60
61#ifndef NOMINMAX
62# define NOMINMAX
63#endif
64#include <windows.h>
65
66#if defined(_WIN32_IE) && _WIN32_IE < 0x0501
67# undef _WIN32_IE
68#endif
69#if !defined(_WIN32_IE)
70# define _WIN32_IE 0x0501
71#endif
72
73// already defined when compiled with WINVER >= 0x0500
74#ifndef SPI_SETMENUANIMATION
75#define SPI_SETMENUANIMATION 0x1003
76#endif
77#ifndef SPI_SETMENUFADE
78#define SPI_SETMENUFADE 0x1013
79#endif
80#ifndef SPI_SETCOMBOBOXANIMATION
81#define SPI_SETCOMBOBOXANIMATION 0x1005
82#endif
83#ifndef SPI_SETTOOLTIPANIMATION
84#define SPI_SETTOOLTIPANIMATION 0x1017
85#endif
86#ifndef SPI_SETTOOLTIPFADE
87#define SPI_SETTOOLTIPFADE 0x1019
88#endif
89#ifndef SPI_SETUIEFFECTS
90#define SPI_SETUIEFFECTS 0x103F
91#endif
92#ifndef SPI_GETMENUANIMATION
93#define SPI_GETMENUANIMATION 0x1002
94#endif
95#ifndef SPI_GETMENUFADE
96#define SPI_GETMENUFADE 0x1012
97#endif
98#ifndef SPI_GETCOMBOBOXANIMATION
99#define SPI_GETCOMBOBOXANIMATION 0x1004
100#endif
101#ifndef SPI_GETTOOLTIPANIMATION
102#define SPI_GETTOOLTIPANIMATION 0x1016
103#endif
104#ifndef SPI_GETTOOLTIPFADE
105#define SPI_GETTOOLTIPFADE 0x1018
106#endif
107#ifndef SPI_GETUIEFFECTS
108#define SPI_GETUIEFFECTS 0x103E
109#endif
110#ifndef SPI_GETKEYBOARDCUES
111#define SPI_GETKEYBOARDCUES 0x100A
112#endif
113#ifndef SPI_GETGRADIENTCAPTIONS
114#define SPI_GETGRADIENTCAPTIONS 0x1008
115#endif
116#ifndef IDC_HAND
117#define IDC_HAND MAKEINTRESOURCE(32649)
118#endif
119#ifndef WM_MOUSEWHEEL
120#define WM_MOUSEWHEEL 0x020A
121#endif
122#ifndef WM_MOUSEHWHEEL
123#define WM_MOUSEHWHEEL 0x020E
124#endif
125#ifndef ETO_PDY
126#define ETO_PDY 0x2000
127#endif
128#ifndef COLOR_GRADIENTACTIVECAPTION
129#define COLOR_GRADIENTACTIVECAPTION 27
130#endif
131#ifndef COLOR_GRADIENTINACTIVECAPTION
132#define COLOR_GRADIENTINACTIVECAPTION 28
133#endif
134
135// already defined when compiled with WINVER >= 0x0600
136#ifndef SPI_GETFLATMENU
137#define SPI_GETFLATMENU 0x1022
138#endif
139#ifndef CS_DROPSHADOW
140#define CS_DROPSHADOW 0x00020000
141#endif
142#ifndef CLEARTYPE_QUALITY
143#define CLEARTYPE_QUALITY 5
144#endif
145
146#endif // QT_WINDOWS_H
147

Warning: That file was not part of the compilation database. It may have many parsing errors.