LibreOffice Module winaccessibility (master) 1
stdafx.h
Go to the documentation of this file.
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// stdafx.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#pragma once
25
26#pragma once
27
28// this turns off ATL's locking in the COM component implementations
29// (we don't need it since we use SolarMutex instead)
30#define _ATL_APARTMENT_THREADED
31
32#include <prewin.h>
33#if !defined WIN32_LEAN_AND_MEAN
34# define WIN32_LEAN_AND_MEAN
35#endif
36#include <windows.h>
37
38#if defined __clang__
39#pragma clang diagnostic push
40#pragma clang diagnostic ignored "-Wall"
41#pragma clang diagnostic ignored "-Wattributes"
42#pragma clang diagnostic ignored "-Wdelete-incomplete"
43#pragma clang diagnostic ignored "-Wextra"
44#pragma clang diagnostic ignored "-Wint-to-pointer-cast"
45#pragma clang diagnostic ignored "-Winvalid-noreturn"
46#pragma clang diagnostic ignored "-Wmicrosoft"
47#pragma clang diagnostic ignored "-Wnon-pod-varargs"
48#endif
49#include <atlbase.h>
50// You may derive a class from CComModule and use it if you want to override
51// something, but do not change the name of _Module
52extern CComModule _Module;
53#include <atlcom.h>
54#if defined __clang__
55#pragma clang diagnostic pop
56#endif
57#include <postwin.h>
58#undef OPAQUE
59
60
61//{{AFX_INSERT_LOCATION}}
62// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
63
64/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
CComModule _Module
Definition: UAccCOM.cxx:52