cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 1 | /* |
cristy | 45ef08f | 2012-12-07 13:13:34 +0000 | [diff] [blame] | 2 | Copyright 1999-2013 ImageMagick Studio LLC, a non-profit organization |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 3 | dedicated to making software imaging solutions freely available. |
cristy | 2c5fc27 | 2012-02-22 01:27:46 +0000 | [diff] [blame] | 4 | |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 5 | You may not use this file except in compliance with the License. |
| 6 | obtain a copy of the License at |
cristy | 2c5fc27 | 2012-02-22 01:27:46 +0000 | [diff] [blame] | 7 | |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 8 | http://www.imagemagick.org/script/license.php |
cristy | 2c5fc27 | 2012-02-22 01:27:46 +0000 | [diff] [blame] | 9 | |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 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 Windows NT utility methods. |
| 17 | */ |
| 18 | #ifndef _MAGICKCORE_NT_BASE_H |
| 19 | #define _MAGICKCORE_NT_BASE_H |
| 20 | |
| 21 | #if defined(__cplusplus) || defined(c_plusplus) |
| 22 | extern "C" { |
| 23 | #endif |
| 24 | |
cristy | 9da153b | 2012-09-29 13:18:58 +0000 | [diff] [blame] | 25 | #include "MagickCore/exception.h" |
cristy | 2c5fc27 | 2012-02-22 01:27:46 +0000 | [diff] [blame] | 26 | #include "MagickCore/geometry.h" |
| 27 | |
cristy | 30603ff | 2011-10-07 00:43:07 +0000 | [diff] [blame] | 28 | #if defined(MAGICKCORE_WINDOWS_SUPPORT) |
cristy | 2c5fc27 | 2012-02-22 01:27:46 +0000 | [diff] [blame] | 29 | typedef struct _GhostInfo |
| 30 | GhostInfo_; |
cristy | daeba5e | 2011-10-13 17:32:44 +0000 | [diff] [blame] | 31 | |
| 32 | extern MagickExport char |
| 33 | **NTArgvToUTF8(const int argc,wchar_t **); |
| 34 | |
cristy | 2c5fc27 | 2012-02-22 01:27:46 +0000 | [diff] [blame] | 35 | extern MagickExport const GhostInfo_ |
cristy | daeba5e | 2011-10-13 17:32:44 +0000 | [diff] [blame] | 36 | *NTGhostscriptDLLVectors(void); |
| 37 | |
| 38 | extern MagickExport int |
cristy | 2c5fc27 | 2012-02-22 01:27:46 +0000 | [diff] [blame] | 39 | NTGhostscriptUnLoadDLL(void); |
cristy | daeba5e | 2011-10-13 17:32:44 +0000 | [diff] [blame] | 40 | |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 41 | extern MagickExport void |
cristy | 417d845 | 2011-10-13 17:09:49 +0000 | [diff] [blame] | 42 | NTErrorHandler(const ExceptionType,const char *,const char *), |
| 43 | NTWarningHandler(const ExceptionType,const char *,const char *); |
cristy | 2c5fc27 | 2012-02-22 01:27:46 +0000 | [diff] [blame] | 44 | #endif |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 45 | |
| 46 | #if defined(__cplusplus) || defined(c_plusplus) |
| 47 | } |
cristy | 2c5fc27 | 2012-02-22 01:27:46 +0000 | [diff] [blame] | 48 | #endif |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 49 | |
cristy | 2c5fc27 | 2012-02-22 01:27:46 +0000 | [diff] [blame] | 50 | #endif |