
#ifndef OKULAR_EXPORT_H
#define OKULAR_EXPORT_H

#ifdef OKULAR_STATIC_DEFINE
#  define OKULAR_EXPORT
#  define OKULAR_NO_EXPORT
#else
#  ifndef OKULAR_EXPORT
#    ifdef okularcore_EXPORTS
        /* We are building this library */
#      define OKULAR_EXPORT __attribute__((visibility("default")))
#    else
        /* We are using this library */
#      define OKULAR_EXPORT __attribute__((visibility("default")))
#    endif
#  endif

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

#ifndef OKULAR_DEPRECATED
#  define OKULAR_DEPRECATED __attribute__ ((__deprecated__))
#endif

#ifndef OKULAR_DEPRECATED_EXPORT
#  define OKULAR_DEPRECATED_EXPORT OKULAR_EXPORT OKULAR_DEPRECATED
#endif

#ifndef OKULAR_DEPRECATED_NO_EXPORT
#  define OKULAR_DEPRECATED_NO_EXPORT OKULAR_NO_EXPORT OKULAR_DEPRECATED
#endif

/* NOLINTNEXTLINE(readability-avoid-unconditional-preprocessor-if) */
#if 0 /* DEFINE_NO_DEPRECATED */
#  ifndef OKULAR_NO_DEPRECATED
#    define OKULAR_NO_DEPRECATED
#  endif
#endif

#endif /* OKULAR_EXPORT_H */
