1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3  * This file is part of the LibreOffice project.
4  *
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/.
8  *
9  * This file incorporates work covered by the following license notice:
10  *
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 .
18  */
19 
20 // stdafx1.h : include file for standard system include files,
21 //      or project specific include files that are used frequently,
22 //      but are changed infrequently
23 
24 #ifndef INCLUDED_EXTENSIONS_SOURCE_ACTIVEX_STDAFX2_H
25 #define INCLUDED_EXTENSIONS_SOURCE_ACTIVEX_STDAFX2_H
26 
27 #define STRICT
28 #define _ATL_APARTMENT_THREADED
29 #define _ATL_STATIC_REGISTRY
30 
31 #pragma warning (push)
32 #pragma warning (disable:4189)
33     //  local variable is initialized but not referenced - in atlctl.h
34 #if defined __clang__
35 #pragma clang diagnostic push
36 #pragma clang diagnostic ignored "-Wall"
37 #pragma clang diagnostic ignored "-Wattributes"
38 #pragma clang diagnostic ignored "-Wdelete-incomplete"
39 #pragma clang diagnostic ignored "-Wdynamic-class-memaccess"
40 #pragma clang diagnostic ignored "-Wint-to-pointer-cast"
41 #pragma clang diagnostic ignored "-Winvalid-noreturn"
42 #pragma clang diagnostic ignored "-Wmicrosoft"
43 #pragma clang diagnostic ignored "-Wmissing-field-initializers"
44 #pragma clang diagnostic ignored "-Wnon-pod-varargs"
45 #pragma clang diagnostic ignored "-Wnon-virtual-dtor"
46 #pragma clang diagnostic ignored "-Wnonportable-include-path"
47 #pragma clang diagnostic ignored "-Wsequence-point"
48 #pragma clang diagnostic ignored "-Wsign-compare"
49 #pragma clang diagnostic ignored "-Wtypename-missing"
50 #endif
51 
52 #define min(a, b)  (((a) < (b)) ? (a) : (b))
53 #include <atlbase.h>
54 
55 //You may derive a class from CComModule and use it if you want to override
56 //something, but do not change the name of _Module
57 extern CComModule _Module;
58 #include <atlcom.h>
59 #include <atlctl.h>
60 
61 #if defined __clang__
62 #pragma clang diagnostic pop
63 #endif
64 #pragma warning (pop)
65 
66 //{{AFX_INSERT_LOCATION}}
67 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
68 
69 #endif // !defined(INCLUDED_EXTENSIONS_SOURCE_ACTIVEX_STDAFX2_H)
70 
71 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
72