Version 6.4.0.0.beta1, tag libreoffice-6.4.0.0.beta1
[LibreOffice.git] / extensions / source / ole / wincrap.hxx
blob7bef1b12b7dd2dd3796ac7f427cc4998a6d2b4c3
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
20 #ifndef INCLUDED_EXTENSIONS_SOURCE_OLE_WINCRAP_HXX
21 #define INCLUDED_EXTENSIONS_SOURCE_OLE_WINCRAP_HXX
23 /* wrap all includes that need to be wrapped by prewin.h/postwin.h here */
25 #define STRICT
27 #define _WIN32_DCOM
28 #if OSL_DEBUG_LEVEL > 0
29 //#define _ATL_DEBUG_INTERFACES
30 #endif
32 #include <dispex.h>
34 #include <prewin.h>
35 #include <list>
37 #if defined __clang__
38 #pragma clang diagnostic push
39 #pragma clang diagnostic ignored "-Wall"
40 #pragma clang diagnostic ignored "-Wattributes"
41 #pragma clang diagnostic ignored "-Wdelete-incomplete"
42 #pragma clang diagnostic ignored "-Wextra"
43 #pragma clang diagnostic ignored "-Wint-to-pointer-cast"
44 #pragma clang diagnostic ignored "-Winvalid-noreturn"
45 #pragma clang diagnostic ignored "-Wmicrosoft"
46 #pragma clang diagnostic ignored "-Wnon-pod-varargs"
47 #pragma clang diagnostic ignored "-Wnon-virtual-dtor"
48 #endif
50 // from oleobjw.hxx
51 #include <atlbase.h>
52 // from jscriptclasses.hxx
53 extern CComModule _Module;
54 #include <atlcom.h>
56 #if defined __clang__
57 #pragma clang diagnostic pop
58 #endif
60 // from unoobjw.cxx
61 #include <olectl.h>
63 #include <postwin.h>
65 #endif // INCLUDED_EXTENSIONS_SOURCE_OLE_WINCRAP_HXX
67 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */