xref: /trunk/main/tools/inc/tools/prewin.h (revision 514f4c20)
1 /**************************************************************
2  *
3  * Licensed to the Apache Software Foundation (ASF) under one
4  * or more contributor license agreements.  See the NOTICE file
5  * distributed with this work for additional information
6  * regarding copyright ownership.  The ASF licenses this file
7  * to you under the Apache License, Version 2.0 (the
8  * "License"); you may not use this file except in compliance
9  * with the License.  You may obtain a copy of the License at
10  *
11  *   http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing,
14  * software distributed under the License is distributed on an
15  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16  * KIND, either express or implied.  See the License for the
17  * specific language governing permissions and limitations
18  * under the License.
19  *
20  *************************************************************/
21 
22 
23 
24 /* nicht geschuetzt, darf nur einmal includet werden */
25 
26 #if defined WNT
27 
28 #define Rectangle    BLA_Rectangle
29 #define Polygon      BLA_Polygon
30 #define PolyPolygon  BLA_PolyPolygon
31 #define Region       WIN_Region
32 #define Folder       WIN_Folder
33 #define GradientStyle_RECT	WIN_GradientStyle_RECT
34 
35 #ifdef __cplusplus
36 extern "C" {
37 #endif
38 
39 #define STRICT
40 #ifdef _MSC_VER
41 #pragma warning(push, 1)
42 #endif
43 #include <windows.h>
44 #ifdef _MSC_VER
45 #pragma warning(pop)
46 #endif
47 #include <shellapi.h>
48 #include <commdlg.h>
49 #include <dlgs.h>
50 #ifdef USE_TOOLHELP
51 #include <tlhelp32.h>
52 #endif
53 #ifdef USE_IMAGEHLP
54 #include <imagehlp.h>
55 #endif
56 #ifdef INCLUDE_MMSYSTEM
57 #include <mmsystem.h>
58 #endif
59 #ifdef _MSC_VER
60 #pragma warning(push, 1)
61 #endif
62 #include <commctrl.h>
63 #ifdef _MSC_VER
64 #pragma warning(pop)
65 #endif
66 
67 #endif
68