00001 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: t; c-basic-offset: 4 -*- */ 00002 /* libodfgen 00003 * Version: MPL 2.0 / LGPLv2.1+ 00004 * 00005 * This Source Code Form is subject to the terms of the Mozilla Public 00006 * License, v. 2.0. If a copy of the MPL was not distributed with this 00007 * file, You can obtain one at http://mozilla.org/MPL/2.0/. 00008 * 00009 * Major Contributor(s): 00010 * Copyright (C) 2013 Fridrich Strba <fridrich.strba@bluewin.ch> 00011 * Copyright (C) 2011 Eilidh McAdam <tibbylickle@gmail.com> 00012 * 00013 * For minor contributions see the git repository. 00014 * 00015 * Alternatively, the contents of this file may be used under the terms 00016 * of the GNU Lesser General Public License Version 2.1 or later 00017 * (LGPLv2.1+), in which case the provisions of the LGPLv2.1+ are 00018 * applicable instead of those above. 00019 * 00020 * For further information visit http://libwpd.sourceforge.net 00021 */ 00022 00023 #ifndef INCLUDED_LIBODFGEN_LIBODFGEN_API_HXX 00024 #define INCLUDED_LIBODFGEN_LIBODFGEN_API_HXX 00025 00026 #ifdef DLL_EXPORT 00027 #ifdef LIBODFGEN_BUILD 00028 #define ODFGENAPI __declspec(dllexport) 00029 #else 00030 #define ODFGENAPI __declspec(dllimport) 00031 #endif 00032 #else // !DLL_EXPORT 00033 #ifdef LIBODFGEN_VISIBILITY 00034 #define ODFGENAPI __attribute__((visibility("default"))) 00035 #else 00036 #define ODFGENAPI 00037 #endif 00038 #endif 00039 00040 #endif // INCLUDED_LIBODFGEN_LIBODFGEN_API_HXX 00041 00042 /* vim:set shiftwidth=4 softtabstop=4 noexpandtab: */