summaryrefslogtreecommitdiff
path: root/tools/inc/tools/prewin.h
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2007-04-11 19:15:14 +0000
committerVladimir Glazounov <vg@openoffice.org>2007-04-11 19:15:14 +0000
commitb6aef7861cb6416a9a4de6bee77e9ceb1701027a (patch)
tree10e28323a0e515ba0b96e0ae83ef62de64445059 /tools/inc/tools/prewin.h
parenta71ea56ee32b9e8c6e16ea40ccad1d05d25eff10 (diff)
INTEGRATION: CWS hedaburemove01 (1.1.2); FILE ADDED
2006/12/12 16:24:50 vg 1.1.2.1: #i72503# gathered global includes in one place
Diffstat (limited to 'tools/inc/tools/prewin.h')
-rw-r--r--tools/inc/tools/prewin.h80
1 files changed, 80 insertions, 0 deletions
diff --git a/tools/inc/tools/prewin.h b/tools/inc/tools/prewin.h
new file mode 100644
index 000000000000..d22d15a54986
--- /dev/null
+++ b/tools/inc/tools/prewin.h
@@ -0,0 +1,80 @@
+/*************************************************************************
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * $RCSfile: prewin.h,v $
+ *
+ * $Revision: 1.2 $
+ *
+ * last change: $Author: vg $ $Date: 2007-04-11 20:15:14 $
+ *
+ * The Contents of this file are made available subject to
+ * the terms of GNU Lesser General Public License Version 2.1.
+ *
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2005 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ ************************************************************************/
+
+/* nicht geschuetzt, darf nur einmal includet werden */
+
+#if defined WNT
+
+#define BOOL WIN_BOOL
+#define BYTE WIN_BYTE
+#ifndef VCL_NEED_BASETSD
+#define INT64 WIN_INT64
+#define UINT64 WIN_UINT64
+#define INT32 WIN_INT32
+#define UINT32 WIN_UINT32
+#endif
+
+#define Rectangle BLA_Rectangle
+#define Polygon BLA_Polygon
+#define PolyPolygon BLA_PolyPolygon
+#define Region WIN_Region
+#define Folder WIN_Folder
+#define GradientStyle_RECT WIN_GradientStyle_RECT
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#define STRICT
+#pragma warning(push, 1)
+#include <windows.h>
+#pragma warning(pop)
+#include <shellapi.h>
+#include <commdlg.h>
+#include <dlgs.h>
+#ifdef USE_TOOLHELP
+#include <tlhelp32.h>
+#endif
+#ifdef USE_IMAGEHLP
+#include <imagehlp.h>
+#endif
+#ifdef INCLUDE_MMSYSTEM
+#include <mmsystem.h>
+#endif
+#pragma warning(push, 1)
+#include <commctrl.h>
+#pragma warning(pop)
+
+#endif