File indexing completed on 2024-11-24 04:44:17

0001 /*
0002  *  This file is part of libkolab.
0003  *  SPDX-FileCopyrightText: 2012 Christian Mollekopf <mollekopf@kolabsys.com>
0004  *
0005  *  SPDX-License-Identifier: LGPL-2.0-or-later
0006  */
0007 
0008 #pragma once
0009 
0010 // #include <kdemacros.h>
0011 
0012 #ifndef KOLAB_EXPORT
0013 #if defined(KOLAB_STATIC_LIBS)
0014 /* No export/import for static libraries */
0015 #define KOLAB_EXPORT
0016 #elif defined(MAKE_KOLAB_LIB)
0017 /* We are building this library */
0018 #define KOLAB_EXPORT __attribute__((visibility("default")))
0019 #else
0020 /* We are using this library */
0021 #define KOLAB_EXPORT __attribute__((visibility("default")))
0022 #endif
0023 #endif
0024 
0025 #ifndef KOLAB_EXPORT_DEPRECATED
0026 #define KOLAB_EXPORT_DEPRECATED KDE_DEPRECATED __attribute__((visibility("default")))
0027 #endif
0028 
0029 /**
0030  *  @namespace Kolab
0031  *
0032  *  @brief
0033  *  Contains all the KOLAB library global classes, objects, and functions.
0034  */