1/* 2 Copyright 1999-2016 ImageMagick Studio LLC, a non-profit organization 3 dedicated to making software imaging solutions freely available. 4 5 You may not use this file except in compliance with the License. 6 obtain a copy of the License at 7 8 http://www.imagemagick.org/script/license.php 9 10 Unless required by applicable law or agreed to in writing, software 11 distributed under the License is distributed on an "AS IS" BASIS, 12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 See the License for the specific language governing permissions and 14 limitations under the License. 15 16 MagickCore version methods. 17*/ 18#ifndef _MAGICKCORE_VERSION_H 19#define _MAGICKCORE_VERSION_H 20 21#if defined(__cplusplus) || defined(c_plusplus) 22extern "C" { 23#endif 24 25/* 26 Define declarations. 27*/ 28#define MagickPackageName "@PACKAGE_NAME@" 29#define MagickCopyright "Copyright (C) 1999-2016 ImageMagick Studio LLC" 30#define MagickLibVersion @PACKAGE_LIB_VERSION@ 31#define MagickLibVersionText "@MAGICK_LIB_VERSION_TEXT@" 32#define MagickLibVersionNumber @MAGICK_LIB_VERSION_NUMBER@ 33#define MagickLibAddendum "@PACKAGE_VERSION_ADDENDUM@" 34#define MagickLibInterface @MAGICK_LIBRARY_CURRENT@ 35#define MagickLibMinInterface @MAGICK_LIBRARY_CURRENT_MIN@ 36#if defined(_WINDOWS) 37# if defined(_WIN64) 38# define MagickPlatform "x64" 39# else 40# define MagickPlatform "x86" 41# endif 42#else 43#define MagickPlatform "@MAGICK_TARGET_CPU@" 44#endif 45#define MagickppLibVersionText "@MAGICKPP_LIB_VERSION_TEXT@" 46#define MagickppLibVersionNumber @MAGICKPP_LIBRARY_VERSION_INFO@ 47#define MagickppLibAddendum "@PACKAGE_VERSION_ADDENDUM@" 48#define MagickppLibInterface @MAGICKPP_LIBRARY_CURRENT@ 49#define MagickppLibMinInterface @MAGICKPP_LIBRARY_CURRENT_MIN@ 50#define MagickReleaseDate "@PACKAGE_RELEASE_DATE@" 51#define MagickAuthoritativeLicense \ 52 "http://www.imagemagick.org/script/license.php" 53#define MagickAuthoritativeURL "http://www.imagemagick.org" 54#define MagickHomeURL "file://@DOCUMENTATION_PATH@/index.html" 55#if (MAGICKCORE_QUANTUM_DEPTH == 8) 56#define MagickQuantumDepth "Q8" 57#define MagickQuantumRange "255" 58#elif (MAGICKCORE_QUANTUM_DEPTH == 16) 59#define MagickQuantumDepth "Q16" 60#define MagickQuantumRange "65535" 61#elif (MAGICKCORE_QUANTUM_DEPTH == 32) 62#define MagickQuantumDepth "Q32" 63#define MagickQuantumRange "4294967295" 64#elif (MAGICKCORE_QUANTUM_DEPTH == 64) 65#define MagickQuantumDepth "Q64" 66#define MagickQuantumRange "65535" 67#else 68#define MagickQuantumDepth "Q?" 69#define MagickQuantumRange "?" 70#endif 71#define MagickVersion \ 72 MagickPackageName " " MagickLibVersionText MagickLibAddendum " " \ 73 MagickQuantumDepth " " MagickPlatform " " MagickReleaseDate " " \ 74 MagickAuthoritativeURL 75 76extern MagickExport char 77 *GetMagickHomeURL(void); 78 79extern MagickExport const char 80 *GetMagickCopyright(void), 81 *GetMagickDelegates(void), 82 *GetMagickFeatures(void), 83 *GetMagickLicense(void), 84 *GetMagickPackageName(void), 85 *GetMagickQuantumDepth(size_t *), 86 *GetMagickQuantumRange(size_t *), 87 *GetMagickReleaseDate(void), 88 *GetMagickVersion(size_t *); 89 90extern MagickExport void 91 ListMagickVersion(FILE *); 92 93#if defined(__cplusplus) || defined(c_plusplus) 94} 95#endif 96 97#endif 98