/* $Id: plugin.c,v 1.44 2006/07/31 03:48:09 reinelt Exp $ * * plugin handler for the Evaluator * * Copyright (C) 2003 Michael Reinelt * Copyright (C) 2004 The LCD4Linux Team * * This file is part of LCD4Linux. * * LCD4Linux is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2, or (at your option) * any later version. * * LCD4Linux is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * * * $Log: plugin.c,v $ * Revision 1.44 2006/07/31 03:48:09 reinelt * preparations for scrolling * * Revision 1.43 2006/07/30 11:29:02 lfcorreia * Make changes suggested by Michael, only one init function is needed * * Revision 1.42 2006/07/29 21:12:31 lfcorreia * Add UPPERCASE string plugin function * * Revision 1.41 2006/04/15 05:22:52 reinelt * mpd plugin from Stefan Kuhne * * Revision 1.40 2006/02/19 15:42:19 reinelt * file plugin from Chris Maj * * Revision 1.39 2005/11/04 04:53:10 reinelt * sample plugin activated * * Revision 1.38 2005/05/08 04:32:44 reinelt * CodingStyle added and applied * * Revision 1.37 2005/05/02 10:29:20 reinelt * preparations for python bindings and python plugin * * Revision 1.36 2005/04/03 07:07:51 reinelt * added statfs plugin * * Revision 1.35 2005/01/18 06:30:23 reinelt * added (C) to all copyright statements * * Revision 1.34 2004/06/26 12:04:59 reinelt * * uh-oh... the last CVS log message messed up things a lot... * * Revision 1.33 2004/06/26 09:27:21 reinelt * * added '-W' to CFLAGS * changed all C++ comments to C ones * cleaned up a lot of signed/unsigned mistakes * * Revision 1.32 2004/06/07 06:56:55 reinelt * * added test plugin from Andy Baxter * * Revision 1.31 2004/05/29 00:27:23 reinelt * * added plugin_diskstats.c * * Revision 1.30 2004/05/22 18:30:02 reinelt * * added plugin 'uptime' * * Revision 1.29 2004/05/20 07:47:51 reinelt * added plugin_time * * Revision 1.28 2004/04/12 11:12:26 reinelt * added plugin_isdn, removed old ISDN client * fixed some real bad bugs in the evaluator * * Revision 1.27 2004/04/09 06:09:55 reinelt * big configure rework from Xavier * * Revision 1.25 2004/04/07 08:29:05 hejl * New plugin for wireless info * * Revision 1.24 2004/03/19 06:37:47 reinelt * asynchronous thread handling started * * Revision 1.23 2004/03/14 07:11:42 reinelt * parameter count fixed for plugin_dvb() * plugin_APM (battery status) ported * * Revision 1.22 2004/03/13 06:49:20 reinelt * seti@home plugin ported to NextGeneration * * Revision 1.21 2004/03/10 07:16:15 reinelt * MySQL plugin from Javier added * * Revision 1.20 2004/03/03 03:47:04 reinelt * big patch from Martin Hejl: * - use
#!/bin/sh

# $Id$
# $URL$


OLD_VERSION=`cat svn_version.h 2>/dev/null`

if [ -d .svn ]; then
    NEW_VERSION="#define SVN_VERSION \"`svnversion -n`\""
fi

if [ "$NEW_VERSION" != "$OLD_VERSION" ]; then
    echo $NEW_VERSION >svn_version.h
fi
#endif #ifdef PLUGIN_WIRELESS plugin_init_wireless(); #endif #ifdef PLUGIN_XMMS plugin_init_xmms(); #endif return 0; } void plugin_exit(void) { #ifdef PLUGIN_APM plugin_exit_apm(); #endif #ifdef PLUGIN_CPUINFO plugin_exit_cpuinfo(); #endif #ifdef PLUGIN_DISKSTATS plugin_exit_diskstats(); #endif #ifdef PLUGIN_DVB plugin_exit_dvb(); #endif #ifdef PLUGIN_EXEC plugin_exit_exec(); #endif #ifdef PLUGIN_FILE plugin_exit_file(); #endif #ifdef PLUGIN_I2C_SENSORS plugin_exit_i2c_sensors(); #endif #ifdef PLUGIN_IMON plugin_exit_imon(); #endif #ifdef PLUGIN_ISDN plugin_exit_isdn(); #endif #ifdef PLUGIN_LOADAVG plugin_exit_loadavg(); #endif #ifdef PLUGIN_MEMINFO plugin_exit_meminfo(); #endif #ifdef PLUGIN_MPD plugin_exit_mpd(); #endif #ifdef PLUGIN_MYSQL plugin_exit_mysql(); #endif #ifdef PLUGIN_NETDEV plugin_exit_netdev(); #endif #ifdef PLUGIN_POP3 plugin_exit_pop3(); #endif #ifdef PLUGIN_PPP plugin_exit_ppp(); #endif #ifdef PLUGIN_PROC_STAT plugin_exit_proc_stat(); #endif #ifdef PLUGIN_PYTHON plugin_exit_python(); #endif #ifdef PLUGIN_SAMPLE plugin_exit_sample(); #endif #ifdef PLUGIN_SETI plugin_exit_seti(); #endif #ifdef PLUGIN_STATFS plugin_exit_statfs(); #endif #ifdef PLUGIN_UNAME plugin_exit_uname(); #endif #ifdef PLUGIN_UPTIME plugin_exit_uptime(); #endif #ifdef PLUGIN_WIRELESS plugin_exit_wireless(); #endif #ifdef PLUGIN_XMMS plugin_exit_xmms(); #endif plugin_exit_cfg(); plugin_exit_math(); plugin_exit_string(); plugin_exit_test(); plugin_exit_time(); DeleteFunctions(); DeleteVariables(); }