LibreOffice Module vcl (master)  1
vclpluginapi.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 #ifndef INCLUDED_VCL_INC_VCLPLUGINAPI_H
21 #define INCLUDED_VCL_INC_VCLPLUGINAPI_H
22 
23 #include <sal/config.h>
24 #include <sal/types.h>
25 
26 #if defined VCLPLUG_GEN_IMPLEMENTATION
27 #define VCLPLUG_GEN_PUBLIC SAL_DLLPUBLIC_EXPORT
28 #else
29 #define VCLPLUG_GEN_PUBLIC SAL_DLLPUBLIC_IMPORT
30 #endif
31 
32 #if defined VCLPLUG_GTK_IMPLEMENTATION
33 #define VCLPLUG_GTK_PUBLIC SAL_DLLPUBLIC_EXPORT
34 #else
35 #define VCLPLUG_GTK_PUBLIC SAL_DLLPUBLIC_IMPORT
36 #endif
37 
38 #if defined VCLPLUG_KF5_IMPLEMENTATION
39 #define VCLPLUG_KF5_PUBLIC SAL_DLLPUBLIC_EXPORT
40 #else
41 #define VCLPLUG_KF5_PUBLIC SAL_DLLPUBLIC_IMPORT
42 #endif
43 
44 #if defined VCLPLUG_OSX_IMPLEMENTATION
45 #define VCLPLUG_OSX_PUBLIC SAL_DLLPUBLIC_EXPORT
46 #else
47 #define VCLPLUG_OSX_PUBLIC SAL_DLLPUBLIC_IMPORT
48 #endif
49 
50 #if defined VCLPLUG_QT5_IMPLEMENTATION
51 #define VCLPLUG_QT5_PUBLIC SAL_DLLPUBLIC_EXPORT
52 #else
53 #define VCLPLUG_QT5_PUBLIC SAL_DLLPUBLIC_IMPORT
54 #endif
55 
56 #if defined VCLPLUG_SVP_IMPLEMENTATION
57 #define VCLPLUG_SVP_PUBLIC SAL_DLLPUBLIC_EXPORT
58 #else
59 #define VCLPLUG_SVP_PUBLIC SAL_DLLPUBLIC_IMPORT
60 #endif
61 
62 #if defined VCLPLUG_WIN_IMPLEMENTATION
63 #define VCLPLUG_WIN_PUBLIC SAL_DLLPUBLIC_EXPORT
64 #else
65 #define VCLPLUG_WIN_PUBLIC SAL_DLLPUBLIC_IMPORT
66 #endif
67 
68 #if defined DESKTOP_DETECTOR_IMPLEMENTATION
69 #define DESKTOP_DETECTOR_PUBLIC SAL_DLLPUBLIC_EXPORT
70 #else
71 #define DESKTOP_DETECTOR_PUBLIC SAL_DLLPUBLIC_IMPORT
72 #endif
73 
74 #endif
75 
76 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */