flames_cal_mkmaster.c

00001 /*                                                                              *
00002  *   This file is part of the ESO UVES Pipeline                                 *
00003  *   Copyright (C) 2004,2005 European Southern Observatory                      *
00004  *                                                                              *
00005  *   This library is free software; you can redistribute it and/or modify       *
00006  *   it under the terms of the GNU General Public License as published by       *
00007  *   the Free Software Foundation; either version 2 of the License, or          *
00008  *   (at your option) any later version.                                        *
00009  *                                                                              *
00010  *   This program is distributed in the hope that it will be useful,            *
00011  *   but WITHOUT ANY WARRANTY; without even the implied warranty of             *
00012  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the              *
00013  *   GNU General Public License for more details.                               *
00014  *                                                                              *
00015  *   You should have received a copy of the GNU General Public License          *
00016  *   along with this program; if not, write to the Free Software                *
00017  *   Foundation, 51 Franklin St, Fifth Floor, Boston MA 02110-1301 USA          *
00018  */
00019  
00020 /*
00021  * $Author: amodigli $
00022  * $Date: 2007/10/24 09:29:10 $
00023  * $Revision: 1.8 $
00024  * $Name: uves-5_0_0 $
00025  * $Log: flames_cal_mkmaster.c,v $
00026  * Revision 1.8  2007/10/24 09:29:10  amodigli
00027  * added to repository
00028  *
00029  * Revision 1.2  2007/06/06 08:17:33  amodigli
00030  * replace tab with 4 spaces
00031  *
00032  * Revision 1.1  2007/02/09 09:51:54  jmlarsen
00033  * Added recipes
00034  *
00035  * Revision 1.7  2006/10/26 14:01:55  jmlarsen
00036  * Replaced hard-coded package name with PACKAGE_NAME
00037  *
00038  * Revision 1.6  2006/10/19 08:19:10  jmlarsen
00039  * Doc. update
00040  *
00041  * Revision 1.5  2006/08/11 11:26:20  jmlarsen
00042  * Added runtime check of UVES library version number
00043  *
00044  * Revision 1.4  2006/05/05 13:52:54  jmlarsen
00045  * Added doxygen header, include config.h
00046  *
00047  * Revision 1.3  2006/04/24 09:17:19  jmlarsen
00048  * Removed explicit uves_-prefix'
00049  *
00050  * Revision 1.2  2006/02/03 08:55:42  jmlarsen
00051  * Removed stray doxygen marker
00052  *
00053  * Revision 1.1  2006/02/03 07:55:40  jmlarsen
00054  * Added plugin template
00055  *
00056  * Revision 1.42  2006/01/19 08:47:24  jmlarsen
00057  * Inserted missing doxygen end tag
00058  *
00059  * Revision 1.41  2005/12/19 16:17:55  jmlarsen
00060  * Replaced bool -> int
00061  *
00062  */
00063 
00064 #ifdef HAVE_CONFIG_H
00065 #  include <config.h>
00066 #endif
00067 
00068 /*----------------------------------------------------------------------------*/
00072 /*----------------------------------------------------------------------------*/
00073 
00074 #include <flames.h>
00075 #include <uves_utils.h>
00076 
00077 int cpl_plugin_get_info(cpl_pluginlist *list)
00078 {
00079     if (UVES_BINARY_VERSION != uves_get_version_binary())
00080     {
00081         cpl_msg_error(__func__, 
00082               "I am flames_cal_mkmaster version %d, but I am linking "
00083               "against UVES library version %d. "
00084               "This will not work. "
00085               "Please remove all previous installations "
00086               "of the " PACKAGE_NAME " and try again.",
00087               UVES_BINARY_VERSION, uves_get_version_binary());
00088         return 1;
00089     }
00090     return flames_cal_mkmaster_get_info(list);
00091 }

Generated on 9 Mar 2012 for UVES Pipeline Reference Manual by  doxygen 1.6.1