flames_mes_slitff_size.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/06/06 08:17:33 $
00023  * $Revision: 1.3 $
00024  * $Name: uves-4_9_1 $
00025  * $Log: flames_mes_slitff_size.c,v $
00026  * Revision 1.3  2007/06/06 08:17:33  amodigli
00027  * replace tab with 4 spaces
00028  *
00029  * Revision 1.2  2006/10/12 11:35:42  jmlarsen
00030  * Added FLAMES modules
00031  *
00032  * Revision 1.5  2006/08/11 11:26:20  jmlarsen
00033  * Added runtime check of UVES library version number
00034  *
00035  * Revision 1.4  2006/05/05 13:52:54  jmlarsen
00036  * Added doxygen header, include config.h
00037  *
00038  * Revision 1.3  2006/04/24 09:17:19  jmlarsen
00039  * Removed explicit uves_-prefix'
00040  *
00041  * Revision 1.2  2006/02/03 08:55:42  jmlarsen
00042  * Removed stray doxygen marker
00043  *
00044  * Revision 1.1  2006/02/03 07:55:40  jmlarsen
00045  * Added plugin template
00046  *
00047  * Revision 1.42  2006/01/19 08:47:24  jmlarsen
00048  * Inserted missing doxygen end tag
00049  *
00050  * Revision 1.41  2005/12/19 16:17:55  jmlarsen
00051  * Replaced bool -> int
00052  *
00053  */
00054 
00055 #ifdef HAVE_CONFIG_H
00056 #  include <config.h>
00057 #endif
00058 
00059 /*----------------------------------------------------------------------------*/
00063 /*----------------------------------------------------------------------------*/
00064 
00065 #include <uves.h>
00066 #include <uves_utils.h>
00067 
00068 int cpl_plugin_get_info(cpl_pluginlist *list)
00069 {
00070     if (UVES_BINARY_VERSION != uves_get_version_binary())
00071     {
00072         cpl_msg_error(__func__, 
00073               "I am flames_mes_slitff_size version %d, but I am linking "
00074               "against UVES library version %d. "
00075               "This will not work. "
00076               "Please remove all previous installations "
00077               "of UVES and try again.",
00078               UVES_BINARY_VERSION, uves_get_version_binary());
00079         return 1;
00080     }
00081     return flames_mes_slitff_size_get_info(list);
00082 }

Generated on 8 Mar 2011 for UVES Pipeline Reference Manual by  doxygen 1.6.1