2 Copyright 1999-2014 ImageMagick Studio LLC, a non-profit organization
3 dedicated to making software imaging solutions freely available.
5 You may not use this file except in compliance with the License.
6 obtain a copy of the License at
8 http://www.imagemagick.org/script/license.php
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.
16 MagickCore utility methods.
18 #ifndef _MAGICKCORE_MAC_H
19 #define _MAGICKCORE_MAC_H
26 #if defined(__cplusplus) || defined(c_plusplus)
30 #if defined(_MAGICKCORE_POSIX_SUPPORT_VERSION)
32 # if !defined(DISABLE_SIOUX)
39 #define S_IWRITE 00200
64 *ReadPICTImage(const ImageInfo *,ExceptionInfo *);
66 extern MagickExport int
68 MACSystemCommand(const char *);
70 extern MagickExport MagickBooleanType
71 MACIsMagickConflict(const char *);
73 extern MagickExport void
74 MACErrorHandler(const ExceptionType,const char *,const char *),
75 MACWarningHandler(const ExceptionType,const char *,const char *),
76 ProcessPendingEvents(const char *),
77 SetApplicationType(const char *,const char *,OSType);
79 #if defined(DISABLE_SIOUX)
81 (*MACEventHookPtr)(const char *);
84 (*MACErrorHookPtr)(const short,const char *text);
86 extern MagickExport void
87 MACSetErrorHook(MACErrorHookPtr),
88 MACSetEventHook(MACEventHookPtr),
89 MACFatalErrorHandler(const ExceptionType,const char *,const char *);
92 #if !defined(_MAGICKCORE_POSIX_SUPPORT_VERSION)
93 extern MagickExport DIR
94 *opendir(const char *);
96 extern MagickExport long
99 extern MagickExport struct dirent
102 extern MagickExport void
107 #if defined(__cplusplus) || defined(c_plusplus)