Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWillian Padovani Germano <wpgermano@gmail.com>2004-05-18 07:23:45 +0400
committerWillian Padovani Germano <wpgermano@gmail.com>2004-05-18 07:23:45 +0400
commit022bff122f3c20807780d184325df47f20a3f222 (patch)
treee4f0dd45be90a3c7edbf1b4f4a2f6c5ee20958f5 /source/blender/python/api2_2x/Blender.h
parentfba0e401c9308681fc8c820c535032965a960839 (diff)
BPython:
- Finally added Blender.Load function for loading .blend files, useful for demos, for example. - Moved data from Blender.h to Blender.c. We'll keep doing this where it applies and someday remove all unused files at once.
Diffstat (limited to 'source/blender/python/api2_2x/Blender.h')
-rw-r--r--source/blender/python/api2_2x/Blender.h71
1 files changed, 0 insertions, 71 deletions
diff --git a/source/blender/python/api2_2x/Blender.h b/source/blender/python/api2_2x/Blender.h
index ebbae7ff63a..40585fffd3a 100644
--- a/source/blender/python/api2_2x/Blender.h
+++ b/source/blender/python/api2_2x/Blender.h
@@ -31,75 +31,4 @@
#ifndef EXPP_BLENDER_H
#define EXPP_BLENDER_H
-
-#include <Python.h>
-#include <stdio.h>
-
-#include <BKE_global.h>
-#include <BSE_headerbuttons.h>
-#include <DNA_ID.h>
-#include <DNA_object_types.h>
-#include <DNA_scene_types.h>
-#include <DNA_screen_types.h> /* for SPACE_VIEW3D */
-#include <DNA_userdef_types.h>
-#include <BKE_ipo.h>
-
-#include "gen_utils.h"
-#include "modules.h"
-
-/* From Window.h, used here by Blender_Redraw */
-PyObject *M_Window_Redraw(PyObject *self, PyObject *args);
-
-/*****************************************************************************/
-/* Python API function prototypes for the Blender module. */
-/*****************************************************************************/
-PyObject *Blender_Set (PyObject *self, PyObject *args);
-PyObject *Blender_Get (PyObject *self, PyObject *args);
-PyObject *Blender_Redraw(PyObject *self, PyObject *args);
-PyObject *Blender_ReleaseGlobalDict(PyObject *self, PyObject *args);
-PyObject *Blender_Quit(PyObject *self);
-
-/*****************************************************************************/
-/* The following string definitions are used for documentation strings. */
-/* In Python these will be written to the console when doing a */
-/* Blender.__doc__ */
-/*****************************************************************************/
-char Blender_Set_doc[] =
-"(request, data) - Update settings in Blender\n\
-\n\
-(request) A string identifying the setting to change\n\
- 'curframe' - Sets the current frame using the number in data";
-
-char Blender_Get_doc[] =
-"(request) - Retrieve settings from Blender\n\
-\n\
-(request) A string indentifying the data to be returned\n\
- 'curframe' - Returns the current animation frame\n\
- 'curtime' - Returns the current animation time\n\
- 'staframe' - Returns the start frame of the animation\n\
- 'endframe' - Returns the end frame of the animation\n\
- 'filename' - Returns the name of the last file read or written\n\
- 'version' - Returns the Blender version number";
-
-char Blender_Redraw_doc[] = "() - Redraw all 3D windows";
-
-char Blender_ReleaseGlobalDict_doc[] =
-"Deprecated, please use the Blender.Registry module solution instead.";
-
-char Blender_Quit_doc[] =
-"() - Quit Blender. Experimental, please use with caution.";
-
-/*****************************************************************************/
-/* Python method structure definition. */
-/*****************************************************************************/
-struct PyMethodDef Blender_methods[] = {
- {"Set", Blender_Set, METH_VARARGS, Blender_Set_doc},
- {"Get", Blender_Get, METH_VARARGS, Blender_Get_doc},
- {"Redraw", Blender_Redraw, METH_VARARGS, Blender_Redraw_doc},
- {"Quit", (PyCFunction)Blender_Quit, METH_NOARGS, Blender_Quit_doc},
- {"ReleaseGlobalDict", &Blender_ReleaseGlobalDict,
- METH_VARARGS, Blender_ReleaseGlobalDict_doc},
- {NULL, NULL}
-};
-
#endif /* EXPP_BLENDER_H */