
#ifndef AKONADI_EXPORT_H
#define AKONADI_EXPORT_H

#ifdef AKONADI_STATIC_DEFINE
#  define AKONADI_EXPORT
#  define AKONADI_NO_EXPORT
#else
#  ifndef AKONADI_EXPORT
#    ifdef akonadi_kde
        /* We are building this library */
#      define AKONADI_EXPORT __attribute__((visibility("default")))
#    else
        /* We are using this library */
#      define AKONADI_EXPORT __attribute__((visibility("default")))
#    endif
#  endif

#  ifndef AKONADI_NO_EXPORT
#    define AKONADI_NO_EXPORT __attribute__((visibility("hidden")))
#  endif
#endif

#ifndef AKONADI_DEPRECATED
#  define AKONADI_DEPRECATED __attribute__ ((__deprecated__))
#  define AKONADI_DEPRECATED_EXPORT AKONADI_EXPORT __attribute__ ((__deprecated__))
#  define AKONADI_DEPRECATED_NO_EXPORT AKONADI_NO_EXPORT __attribute__ ((__deprecated__))
#endif

#define DEFINE_NO_DEPRECATED 0
#if DEFINE_NO_DEPRECATED
# define AKONADI_NO_DEPRECATED
#endif

#endif
