# WizardsToolkit.h

Go to the documentation of this file.

    00001 /*
    00002   Copyright 1999-2008 ImageMagick Studio LLC, a non-profit organization
    00003   dedicated to making software imaging solutions freely available.
    00004
    00005   You may not use this file except in compliance with the License.
    00006   obtain a copy of the License at
    00007
    00008     http://www.wizards-toolkit.org/WizardsToolkit/script/license.php
    00009
    00010   Unless required by applicable law or agreed to in writing, software
    00011   distributed under the License is distributed on an "AS IS" BASIS,
    00012   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    00013   See the License for the specific language governing permissions and
    00014   limitations under the License.
    00015
    00016   Wizard's Toolkit Interface declarations.
    00017 */
    00018
    00019 #ifndef _WIZARDS_TOOLKIT_API_H
    00020 #define _WIZARDS_TOOLKIT_API_H
    00021
    00022 #if defined(__cplusplus) || defined(c_plusplus)
    00023 extern "C" {
    00024 #endif
    00025
    00026 #if !defined(_WIZARDS_TOOLKIT_CONFIG_H)
    00027 # define _WIZARDS_TOOLKIT_CONFIG_H
    00028 # if !defined(vms) && !defined(macintosh)
    00029 #  include "wizard/wizard-config.h"
    00030 # else
    00031 #  include "wizard-config.h"
    00032 # endif
    00033 # if defined(__cplusplus) || defined(c_plusplus)
    00034 #  undef inline
    00035 # endif
    00036 #endif
    00037
    00038 #include <stdio.h>
    00039 #include <sys/types.h>
    00040
    00041 #if defined(__CYGWIN32__)
    00042 #  if !defined(__CYGWIN__)
    00043 #    define __CYGWIN__ __CYGWIN32__
    00044 #  endif
    00045 #endif
    00046 #if defined(_WIN32) || defined(WIN32)
    00047 #  if !defined(__WINDOWS__)
    00048 #    if !defined(_WIN32)
    00049 #      define __WINDOWS__ _WIN32
    00050 #    else
    00051 #      if defined(WIN32)
    00052 #        define __WINDOWS__ WIN32
    00053 #      endif
    00054 #    endif
    00055 #  endif
    00056 #endif
    00057
    00058 #if defined(_WIN64) || defined(WIN64)
    00059 #  if !defined(__WINDOWS__)
    00060 #    if defined(_WIN64)
    00061 #      define __WINDOWS__ _WIN64
    00062 #    else
    00063 #      if defined(WIN64)
    00064 #        define __WINDOWS__ WIN64
    00065 #      endif
    00066 #    endif
    00067 #  endif
    00068 #endif
    00069
    00070 #if defined(__WINDOWS__)
    00071 # if defined(_MT) && defined(_DLL) && !defined(_WIZARDDLL_) && !defined(_LIB)
    00072 #  define _WIZARDDLL_
    00073 # endif
    00074 # if defined(_WIZARDDLL_)
    00075 #  if defined(_VISUALC_)
    00076 #   pragma warning( disable: 4273 )  /* Disable the dll linkage warnings */
    00077 #  endif
    00078 #  if !defined(_WIZARDLIB_)
    00079 #   define WizardExport  __declspec(dllimport)
    00080 #   if defined(_VISUALC_)
    00081 #    pragma message( "Wizard lib DLL import interface" )
    00082 #   endif
    00083 #  else
    00084 #   define WizardExport  __declspec(dllexport)
    00085 #   if defined(_VISUALC_)
    00086 #    pragma message( "Wizard lib DLL export interface" )
    00087 #   endif
    00088 #  endif
    00089 # else
    00090 #  define WizardExport
    00091 #  if defined(_VISUALC_)
    00092 #   pragma message( "Wizard lib static interface" )
    00093 #  endif
    00094 # endif
    00095
    00096 # if defined(_DLL) && !defined(_LIB)
    00097 #  define ModuleExport  __declspec(dllexport)
    00098 #  if defined(_VISUALC_)
    00099 #   pragma message( "Wizard module DLL export interface" )
    00100 #  endif
    00101 # else
    00102 #  define ModuleExport
    00103 #  if defined(_VISUALC_)
    00104 #   pragma message( "Wizard module static interface" )
    00105 #  endif
    00106
    00107 # endif
    00108 # define WizardGlobal __declspec(thread)
    00109 # if defined(_VISUALC_)
    00110 #  pragma warning(disable : 4018)
    00111 #  pragma warning(disable : 4244)
    00112 #  pragma warning(disable : 4142)
    00113 #  pragma warning(disable : 4800)
    00114 #  pragma warning(disable : 4786)
    00115 # endif
    00116 #else
    00117 # define WizardExport
    00118 # define ModuleExport
    00119 # define WizardGlobal
    00120 #endif
    00121
    00122 #if !defined(MaxTextExtent)
    00123 # define MaxTextExtent  4096
    00124 #endif
    00125 #define WizardSignature  0xabacadabUL
    00126
    00127 #if !defined(wizard_attribute)
    00128 #  if !defined(__GNUC__)
    00129 #    define wizard_attribute(x)  /* nothing */
    00130 #  else
    00131 #    define wizard_attribute  __attribute__
    00132 #  endif
    00133 #endif
    00134
    00135 #if defined(WizardMethodPrefix)
    00136 # include "wizard/methods.h"
    00137 #endif
    00138 #include "wizard/wizard-type.h"
    00139 #include "wizard/string_.h"
    00140 #include "wizard/authenticate.h"
    00141 #include "wizard/blob.h"
    00142 #include "wizard/bzip.h"
    00143 #include "wizard/cipher.h"
    00144 #include "wizard/client.h"
    00145 #include "wizard/configure.h"
    00146 #include "wizard/entropy.h"
    00147 #include "wizard/exception.h"
    00148 #include "wizard/file.h"
    00149 #include "wizard/hash.h"
    00150 #include "wizard/hashmap.h"
    00151 #include "wizard/key.h"
    00152 #include "wizard/keyring.h"
    00153 #include "wizard/log.h"
    00154 #include "wizard/magick.h"
    00155 #include "wizard/memory_.h"
    00156 #include "wizard/mime.h"
    00157 #include "wizard/option.h"
    00158 #include "wizard/passphrase.h"
    00159 #include "wizard/resource_.h"
    00160 #include "wizard/semaphore.h"
    00161 #include "wizard/secret.h"
    00162 #include "wizard/splay-tree.h"
    00163 #include "wizard/timer.h"
    00164 #include "wizard/token.h"
    00165 #include "wizard/utility.h"
    00166 #include "wizard/version.h"
    00167 #include "wizard/wizard.h"
    00168 #include "wizard/xml-tree.h"
    00169 #include "wizard/zip.h"
    00170
    00171 #if defined(__cplusplus) || defined(c_plusplus)
    00172 }
    00173 #endif
    00174
    00175 #endif