Blender V2.61 - r43446

documentation.h

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