
#ifndef MODEMMANAGERQT_EXPORT_H
#define MODEMMANAGERQT_EXPORT_H

#ifdef MODEMMANAGERQT_STATIC_DEFINE
#  define MODEMMANAGERQT_EXPORT
#  define MODEMMANAGERQT_NO_EXPORT
#else
#  ifndef MODEMMANAGERQT_EXPORT
#    ifdef KF6ModemManagerQt_EXPORTS
        /* We are building this library */
#      define MODEMMANAGERQT_EXPORT __attribute__((visibility("default")))
#    else
        /* We are using this library */
#      define MODEMMANAGERQT_EXPORT __attribute__((visibility("default")))
#    endif
#  endif

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

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

#ifndef MODEMMANAGERQT_DECL_DEPRECATED_EXPORT
#  define MODEMMANAGERQT_DECL_DEPRECATED_EXPORT MODEMMANAGERQT_EXPORT MODEMMANAGERQT_DECL_DEPRECATED
#endif

#ifndef MODEMMANAGERQT_DECL_DEPRECATED_NO_EXPORT
#  define MODEMMANAGERQT_DECL_DEPRECATED_NO_EXPORT MODEMMANAGERQT_NO_EXPORT MODEMMANAGERQT_DECL_DEPRECATED
#endif

/* NOLINTNEXTLINE(readability-avoid-unconditional-preprocessor-if) */
#if 0 /* DEFINE_NO_DEPRECATED */
#  ifndef MODEMMANAGERQT_NO_DEPRECATED
#    define MODEMMANAGERQT_NO_DEPRECATED
#  endif
#endif
#include <modemmanagerqt_version.h>

#define MODEMMANAGERQT_DECL_DEPRECATED_TEXT(text) __attribute__ ((__deprecated__(text)))

/* Take any defaults from group settings */
#if !defined(MODEMMANAGERQT_NO_DEPRECATED) && !defined(MODEMMANAGERQT_DISABLE_DEPRECATED_BEFORE_AND_AT)
#  ifdef KF_NO_DEPRECATED
#    define MODEMMANAGERQT_NO_DEPRECATED
#  elif defined(KF_DISABLE_DEPRECATED_BEFORE_AND_AT)
#    define MODEMMANAGERQT_DISABLE_DEPRECATED_BEFORE_AND_AT KF_DISABLE_DEPRECATED_BEFORE_AND_AT
#  endif
#endif
#if !defined(MODEMMANAGERQT_DISABLE_DEPRECATED_BEFORE_AND_AT) && defined(KF_DISABLE_DEPRECATED_BEFORE_AND_AT)
#  define MODEMMANAGERQT_DISABLE_DEPRECATED_BEFORE_AND_AT KF_DISABLE_DEPRECATED_BEFORE_AND_AT
#endif

#if !defined(MODEMMANAGERQT_NO_DEPRECATED_WARNINGS) && !defined(MODEMMANAGERQT_DEPRECATED_WARNINGS_SINCE)
#  ifdef KF_NO_DEPRECATED_WARNINGS
#    define MODEMMANAGERQT_NO_DEPRECATED_WARNINGS
#  elif defined(KF_DEPRECATED_WARNINGS_SINCE)
#    define MODEMMANAGERQT_DEPRECATED_WARNINGS_SINCE KF_DEPRECATED_WARNINGS_SINCE
#  endif
#endif
#if !defined(MODEMMANAGERQT_DEPRECATED_WARNINGS_SINCE) && defined(KF_DEPRECATED_WARNINGS_SINCE)
#  define MODEMMANAGERQT_DEPRECATED_WARNINGS_SINCE KF_DEPRECATED_WARNINGS_SINCE
#endif

#if defined(MODEMMANAGERQT_NO_DEPRECATED)
#  undef MODEMMANAGERQT_DEPRECATED
#  define MODEMMANAGERQT_DEPRECATED_EXPORT MODEMMANAGERQT_EXPORT
#  define MODEMMANAGERQT_DEPRECATED_NO_EXPORT MODEMMANAGERQT_NO_EXPORT
#elif defined(MODEMMANAGERQT_NO_DEPRECATED_WARNINGS)
#  define MODEMMANAGERQT_DEPRECATED
#  define MODEMMANAGERQT_DEPRECATED_EXPORT MODEMMANAGERQT_EXPORT
#  define MODEMMANAGERQT_DEPRECATED_NO_EXPORT MODEMMANAGERQT_NO_EXPORT
#else
#  define MODEMMANAGERQT_DEPRECATED MODEMMANAGERQT_DECL_DEPRECATED
#  define MODEMMANAGERQT_DEPRECATED_EXPORT MODEMMANAGERQT_DECL_DEPRECATED_EXPORT
#  define MODEMMANAGERQT_DEPRECATED_NO_EXPORT MODEMMANAGERQT_DECL_DEPRECATED_NO_EXPORT
#endif

/* No deprecated API had been removed from build */
#define MODEMMANAGERQT_EXCLUDE_DEPRECATED_BEFORE_AND_AT 0

#define MODEMMANAGERQT_BUILD_DEPRECATED_SINCE(major, minor) 1

#ifdef MODEMMANAGERQT_NO_DEPRECATED
#  define MODEMMANAGERQT_DISABLE_DEPRECATED_BEFORE_AND_AT MODEMMANAGERQT_VERSION
#endif
#ifdef MODEMMANAGERQT_NO_DEPRECATED_WARNINGS
#  define MODEMMANAGERQT_DEPRECATED_WARNINGS_SINCE 0
#endif

#ifndef MODEMMANAGERQT_DEPRECATED_WARNINGS_SINCE
#  ifdef MODEMMANAGERQT_DISABLE_DEPRECATED_BEFORE_AND_AT
#    define MODEMMANAGERQT_DEPRECATED_WARNINGS_SINCE MODEMMANAGERQT_DISABLE_DEPRECATED_BEFORE_AND_AT
#  else
#    define MODEMMANAGERQT_DEPRECATED_WARNINGS_SINCE MODEMMANAGERQT_VERSION
#  endif
#endif

#ifndef MODEMMANAGERQT_DISABLE_DEPRECATED_BEFORE_AND_AT
#  define MODEMMANAGERQT_DISABLE_DEPRECATED_BEFORE_AND_AT 0
#endif

#ifdef MODEMMANAGERQT_DEPRECATED
#  define MODEMMANAGERQT_ENABLE_DEPRECATED_SINCE(major, minor) (((major<<16)|(minor<<8)) > MODEMMANAGERQT_DISABLE_DEPRECATED_BEFORE_AND_AT)
#else
#  define MODEMMANAGERQT_ENABLE_DEPRECATED_SINCE(major, minor) 0
#endif

#endif /* MODEMMANAGERQT_EXPORT_H */
