WizardsToolkit  1.0.7
version.c
Go to the documentation of this file.
00001 /*
00002 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
00003 %                                                                             %
00004 %                                                                             %
00005 %                                                                             %
00006 %               V   V  EEEEE  RRRR   SSSSS  IIIII   OOO   N   N               %
00007 %               V   V  E      R   R  SS       I    O   O  NN  N               %
00008 %               V   V  EEE    RRRR    SSS     I    O   O  N N N               %
00009 %                V V   E      R R       SS    I    O   O  N  NN               %
00010 %                 V    EEEEE  R  R   SSSSS  IIIII   OOO   N   N               %
00011 %                                                                             %
00012 %                                                                             %
00013 %                        Wizard's Toolkit Version Methods                     %
00014 %                                                                             %
00015 %                              Software Design                                %
00016 %                                John Cristy                                  %
00017 %                                March 2002                                   %
00018 %                                                                             %
00019 %                                                                             %
00020 %  Copyright 1999-2011 ImageMagick Studio LLC, a non-profit organization      %
00021 %  dedicated to making software imaging solutions freely available.           %
00022 %                                                                             %
00023 %  You may not use this file except in compliance with the License.  You may  %
00024 %  obtain a copy of the License at                                            %
00025 %                                                                             %
00026 %    http://www.wizards-toolkit.org/script/license.php                        %
00027 %                                                                             %
00028 %  Unless required by applicable law or agreed to in writing, software        %
00029 %  distributed under the License is distributed on an "AS IS" BASIS,          %
00030 %  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.   %
00031 %  See the License for the specific language governing permissions and        %
00032 %  limitations under the License.                                             %
00033 %                                                                             %
00034 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
00035 %
00036 %
00037 */
00038 
00039 /*
00040   Include declarations.
00041 */
00042 #include "wizard/studio.h"
00043 #include "wizard/version.h"
00044 
00045 /*
00046 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
00047 %                                                                             %
00048 %                                                                             %
00049 %                                                                             %
00050 %   G e t W i z a r d C o p y r i g h t                                       %
00051 %                                                                             %
00052 %                                                                             %
00053 %                                                                             %
00054 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
00055 %
00056 %  GetWizardCopyright() returns the Wizard API copyright as a string.
00057 %
00058 %  The format of the GetWizardCopyright method is:
00059 %
00060 %      const char *GetWizardCopyright(void)
00061 %
00062 */
00063 WizardExport const char *GetWizardCopyright(void)
00064 {
00065   return(WizardCopyright);
00066 }
00067 
00068 /*
00069 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
00070 %                                                                             %
00071 %                                                                             %
00072 %                                                                             %
00073 %   G e t W i z a r d V e r s i o n                                           %
00074 %                                                                             %
00075 %                                                                             %
00076 %                                                                             %
00077 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
00078 %
00079 %  GetWizardVersion() returns the Wizard API version as a string and
00080 %  as a number.
00081 %
00082 %  The format of the GetWizardVersion method is:
00083 %
00084 %      const char *GetWizardVersion(size_t *version)
00085 %
00086 %  A description of each parameter follows:
00087 %
00088 %    o version: The Wizard version is returned as a number.
00089 %
00090 */
00091 WizardExport const char *GetWizardVersion(size_t *version)
00092 {
00093   if (version != (size_t *) NULL)
00094     *version=WizardLibVersion;
00095   return(WizardVersion);
00096 }