LibreOffice Module extensions (master) 1
StdAfx2.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// 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#pragma once
25
26#define STRICT
27#define _ATL_APARTMENT_THREADED
28#define _ATL_STATIC_REGISTRY
29
30#pragma warning(push)
31// local variable is initialized but not referenced - in atlctl.h
32#pragma warning(disable : 4189)
33#if defined __clang__
34#pragma clang diagnostic push
35#pragma clang diagnostic ignored "-Wall"
36#pragma clang diagnostic ignored "-Wattributes"
37#pragma clang diagnostic ignored "-Wdelete-incomplete"
38#pragma clang diagnostic ignored "-Wdynamic-class-memaccess"
39#pragma clang diagnostic ignored "-Wint-to-pointer-cast"
40#pragma clang diagnostic ignored "-Winvalid-noreturn"
41#pragma clang diagnostic ignored "-Wmicrosoft"
42#pragma clang diagnostic ignored "-Wmissing-field-initializers"
43#pragma clang diagnostic ignored "-Wnon-pod-varargs"
44#pragma clang diagnostic ignored "-Wnonportable-include-path"
45#pragma clang diagnostic ignored "-Wsequence-point"
46#pragma clang diagnostic ignored "-Wsign-compare"
47#pragma clang diagnostic ignored "-Wtypename-missing"
48#endif
49
50#define min(a, b) (((a) < (b)) ? (a) : (b))
51#include <atlbase.h>
52
53//You may derive a class from CComModule and use it if you want to override
54//something, but do not change the name of _Module
55extern CComModule _Module;
56#include <atlcom.h>
57#include <atlctl.h>
58#undef min
59
60#if defined __clang__
61#pragma clang diagnostic pop
62#endif
63#pragma warning(pop)
64
65//{{AFX_INSERT_LOCATION}}
66// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
67
68/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
CComModule _Module
Definition: so_activex.cxx:48