1 /************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance 9 * with the License. You may obtain a copy of the License at 10 * 11 * http://www.apache.org/licenses/LICENSE-2.0 12 * 13 * Unless required by applicable law or agreed to in writing, 14 * software distributed under the License is distributed on an 15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16 * KIND, either express or implied. See the License for the 17 * specific language governing permissions and limitations 18 * under the License. 19 * 20 *************************************************************/ 21 22 23 24 #ifndef _VCLPLUGINAPI_H 25 #define _VCLPLUGINAPI_H 26 27 #include "sal/config.h" 28 #include "sal/types.h" 29 30 #if defined VCLPLUG_GEN_IMPLEMENTATION 31 #define VCLPLUG_GEN_PUBLIC SAL_DLLPUBLIC_EXPORT 32 #else 33 #define VCLPLUG_GEN_PUBLIC SAL_DLLPUBLIC_IMPORT 34 #endif 35 36 #if defined VCLPLUG_GTK_IMPLEMENTATION 37 #define VCLPLUG_GTK_PUBLIC SAL_DLLPUBLIC_EXPORT 38 #else 39 #define VCLPLUG_GTK_PUBLIC SAL_DLLPUBLIC_IMPORT 40 #endif 41 42 #if defined VCLPLUG_KDE_IMPLEMENTATION 43 #define VCLPLUG_KDE_PUBLIC SAL_DLLPUBLIC_EXPORT 44 #else 45 #define VCLPLUG_KDE_PUBLIC SAL_DLLPUBLIC_IMPORT 46 #endif 47 48 #if defined VCLPLUG_KDE4_IMPLEMENTATION 49 #define VCLPLUG_KDE4_PUBLIC SAL_DLLPUBLIC_EXPORT 50 #else 51 #define VCLPLUG_KDE4_PUBLIC SAL_DLLPUBLIC_IMPORT 52 #endif 53 54 #if defined VCLPLUG_SVP_IMPLEMENTATION 55 #define VCLPLUG_SVP_PUBLIC SAL_DLLPUBLIC_EXPORT 56 #else 57 #define VCLPLUG_SVP_PUBLIC SAL_DLLPUBLIC_IMPORT 58 #endif 59 60 #if defined DESKTOP_DETECTOR_IMPLEMENTATION 61 #define DESKTOP_DETECTOR_PUBLIC SAL_DLLPUBLIC_EXPORT 62 #else 63 #define DESKTOP_DETECTOR_PUBLIC SAL_DLLPUBLIC_IMPORT 64 #endif 65 66 #endif 67