Blender  V2.59
documentation.h
Go to the documentation of this file.
00001 /*
00002  * $Id: documentation.h 35244 2011-02-27 20:32:12Z jesterking $
00003  *
00004  * ***** BEGIN GPL LICENSE BLOCK *****
00005  *
00006  * This program is free software; you can redistribute it and/or
00007  * modify it under the terms of the GNU General Public License
00008  * as published by the Free Software Foundation; either version 2
00009  * of the License, or (at your option) any later version.
00010  *
00011  * This program is distributed in the hope that it will be useful,
00012  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00013  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00014  * GNU General Public License for more details.
00015  *
00016  * You should have received a copy of the GNU General Public License
00017  * along with this program; if not, write to the Free Software Foundation,
00018  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
00019  *
00020  * The Original Code is Copyright (C) 2001-2002 by NaN Holding BV.
00021  * All rights reserved.
00022  *
00023  * The Original Code is: all of this file.
00024  *
00025  * Contributor(s): none yet.
00026  *
00027  * ***** END GPL LICENSE BLOCK *****
00028  *
00029  * @mainpage plugin API - the access point for texture and sequence
00030  * plugins
00031  *
00032  * @section about About the plugin API
00033  *
00034  * This API wraps functions that are used by texture and sequence
00035  * plugins. They are explicitly wrapped in order to make the
00036  * dependencies to the rest of the system clear.
00037  *
00038  * @section issues Known issues with the plugin API
00039  *
00040  * - It can be difficult at times to get access to the API functions
00041  * linked into the final executable. On gcc, the -fpic and -shared
00042  * flags take care of this. On Irix, -shared is needed, but you also
00043  * need a reference to the function to get the handle. This has
00044  * momentarily been taken care of by pluginapi_force_ref().
00045  *
00046  * - Plugins need to define three functions that are needed for
00047  * version bookkeeping and information. The plugin loading code
00048  * explicitly checks for these functions. The nanes depend on whether
00049  * it is a texture or sequence plugin.
00050  *
00051  * - The plugin loading occurs in sequence.c and texture.c. The
00052  * following functions are involved:
00053  *   - open_plugin_seq() (used in readfile.c, editseq.c, sequence.c)
00054  *   - add_plugin_seq()  (used in editseq.c, sequence.c)
00055  *   - free_plugin_seq() (used in editseq.c, sequence.c)
00056  *   - open_plugin_tex() (used in texture.c, readfile.c)
00057  *   - add_plugin_tex()  (used in texture.c, buttons.c)
00058  *   - free_plugin_tex() (used in texture.c, buttons.c)
00059  *   - test_dlerr()      (used in texture.c, sequence.c)
00060  * Since the plugins are about to phase out, we will not sanitize this
00061  * code. It will be removed as soon as the replacing system is in
00062  * place.
00063  * 
00064  * @section dependencies Dependencies
00065  *
00066  * The plugins wraps functions from IMB and BLI. In addition, they
00067  * define some useful variables.
00068  * */
00069