/****************************************************************************
 * This file is part of the project AqDiagram.
 * AqDiagram (c) by 2020 Martin Preuss, all rights reserved.
 *
 * The license for this file can be found in the file COPYING which you
 * should have received along with this file.
 ****************************************************************************/


#ifndef AQDG_API_H
#define AQDG_API_H



#ifdef BUILDING_AQDIAGRAM
# /* building AqGmControl */
# if AQDG_SYS_IS_WINDOWS
#   /* for windows */
#   ifdef __declspec
#     define AQDG_API __declspec (dllexport)
#   else /* if __declspec */
#     define AQDG_API
#   endif /* if NOT __declspec */
# else
#   /* for non-win32 */
#   ifdef GCC_WITH_VISIBILITY_ATTRIBUTE
#     define AQDG_API __attribute__((visibility("default")))
#   else
#     define AQDG_API
#   endif
# endif
#else
# /* not building AqFinance */
# if AQDG_SYS_IS_WINDOWS
#   /* for windows */
#   ifdef __declspec
#     define AQDG_API __declspec (dllimport)
#   else /* if __declspec */
#     define AQDG_API
#   endif /* if NOT __declspec */
# else
#   /* for non-win32 */
#   define AQDG_API
# endif
#endif

#ifdef GCC_WITH_VISIBILITY_ATTRIBUTE
# define AQDG_EXPORT __attribute__((visibility("default")))
# define AQDG_NOEXPORT __attribute__((visibility("hidden")))
#else
# define AQDG_EXPORT
# define AQDG_NOEXPORT
#endif


#define AQDG_LOGDOMAIN "aqdiagram"




#endif

