From aa100206ac6d064a5a8c445e4e282e1d363fc21e Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Tue, 8 Feb 2011 12:28:56 +0200 Subject: Move prewin.h and postwin.h from tools to solenv All #include directives that include tools/prewin.h and tools/postwin.h need to have the "tools/" part dropped. Will do that, too. For earlier git log of these two files, see the libs-gui repository. --- solenv/inc/prewin.h | 84 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 84 insertions(+) create mode 100644 solenv/inc/prewin.h (limited to 'solenv/inc/prewin.h') diff --git a/solenv/inc/prewin.h b/solenv/inc/prewin.h new file mode 100644 index 000000000000..90a19d32d992 --- /dev/null +++ b/solenv/inc/prewin.h @@ -0,0 +1,84 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org 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 version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * + * for a copy of the LGPLv3 License. + * + ************************************************************************/ + +/* 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 +#define ULONG WIN_ULONG +#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 +#ifdef _MSC_VER +#pragma warning(push, 1) +#endif +#include +#ifdef _MSC_VER +#pragma warning(pop) +#endif +#include +#include +#include +#ifdef USE_TOOLHELP +#include +#endif +#ifdef USE_IMAGEHLP +#include +#endif +#ifdef INCLUDE_MMSYSTEM +#include +#endif +#ifdef _MSC_VER +#pragma warning(push, 1) +#endif +#include +#ifdef _MSC_VER +#pragma warning(pop) +#endif + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ -- cgit