cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 1 | /* |
| 2 | Copyright 1999-2009 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) |
| 22 | extern "C" { |
| 23 | #endif |
| 24 | |
| 25 | /* |
| 26 | Define declarations. |
| 27 | */ |
| 28 | #define MagickPackageName "@PACKAGE_NAME@" |
| 29 | #define MagickCopyright "Copyright (C) 1999-2009 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 MagickLibSubversion "@PACKAGE_LIB_SUBVERSION@" |
| 34 | #define MagickReleaseDate "@PACKAGE_RELEASE_DATE@" |
| 35 | #define MagickChangeDate "@PACKAGE_CHANGE_DATE@" |
| 36 | #define MagickAuthoritativeURL "http://www.imagemagick.org" |
| 37 | #define MagickHomeURL "file://@DOCUMENTATION_PATH@/index.html" |
| 38 | #if (MAGICKCORE_QUANTUM_DEPTH == 8) |
| 39 | #define MagickQuantumDepth "Q8" |
| 40 | #define MagickQuantumRange "255" |
| 41 | #elif (MAGICKCORE_QUANTUM_DEPTH == 16) |
| 42 | #define MagickQuantumDepth "Q16" |
| 43 | #define MagickQuantumRange "65535" |
| 44 | #elif (MAGICKCORE_QUANTUM_DEPTH == 32) |
| 45 | #define MagickQuantumDepth "Q32" |
| 46 | #define MagickQuantumRange "4294967295" |
| 47 | #elif (MAGICKCORE_QUANTUM_DEPTH == 64) |
| 48 | #define MagickQuantumDepth "Q64" |
| 49 | #define MagickQuantumRange "18446744073709551615" |
| 50 | #else |
| 51 | #define MagickQuantumDepth "Q?" |
| 52 | #define MagickQuantumRange "?" |
| 53 | #endif |
| 54 | #if !defined(MAGICKCORE_HDRI_SUPPORT) |
cristy | b28d647 | 2009-10-17 20:13:35 +0000 | [diff] [blame] | 55 | #define MagickHDRIFeature "" |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 56 | #else |
cristy | b28d647 | 2009-10-17 20:13:35 +0000 | [diff] [blame] | 57 | #define MagickHDRIFeature "HDRI " |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 58 | #endif |
cristy | b28d647 | 2009-10-17 20:13:35 +0000 | [diff] [blame] | 59 | #if !defined(MAGICKCORE_OPENMP_SUPPORT) |
| 60 | #define MagickOPENMPFeature "" |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 61 | #else |
cristy | b28d647 | 2009-10-17 20:13:35 +0000 | [diff] [blame] | 62 | #define MagickOPENMPFeature "OpenMP " |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 63 | #endif |
cristy | b28d647 | 2009-10-17 20:13:35 +0000 | [diff] [blame] | 64 | #if !defined(MAGICKCORE_OPENCL_SUPPORT) |
| 65 | #define MagickOPENCLFeature "" |
| 66 | #else |
| 67 | #define MagickOPENCLFeature "OpenCL " |
| 68 | #endif |
| 69 | #define MagickFeatures \ |
| 70 | MagickHDRIFeature MagickOPENMPFeature MagickOPENCLFeature |
| 71 | #define MagickVersion \ |
| 72 | MagickPackageName " " MagickLibVersionText MagickLibSubversion " " \ |
| 73 | MagickReleaseDate " " MagickQuantumDepth " " MagickAuthoritativeURL |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 74 | |
| 75 | extern MagickExport char |
| 76 | *GetMagickHomeURL(void); |
| 77 | |
| 78 | extern MagickExport const char |
| 79 | *GetMagickCopyright(void), |
cristy | 45e4eaa | 2009-10-20 00:47:58 +0000 | [diff] [blame^] | 80 | *GetMagickFeatures(void), |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 81 | *GetMagickPackageName(void), |
| 82 | *GetMagickQuantumDepth(unsigned long *), |
| 83 | *GetMagickQuantumRange(unsigned long *), |
| 84 | *GetMagickReleaseDate(void), |
| 85 | *GetMagickVersion(unsigned long *); |
| 86 | |
| 87 | #if defined(__cplusplus) || defined(c_plusplus) |
| 88 | } |
| 89 | #endif |
| 90 | |
| 91 | #endif |