diff options
author | Hamed Zaghaghi <hamed.zaghaghi@gmail.com> | 2008-11-29 05:01:39 +0300 |
---|---|---|
committer | Hamed Zaghaghi <hamed.zaghaghi@gmail.com> | 2008-11-29 05:01:39 +0300 |
commit | 344d9f1e6a1ee15e2cbbafafad704c7efd0e8ce6 (patch) | |
tree | c15cf3b349d9d285940df8b491934911292639ea /source/blender/makesrna/intern/rna_sensor.c | |
parent | 228ce647e036c7531d978e38202958b7854c707a (diff) |
add initial codes for rna_sensors
Diffstat (limited to 'source/blender/makesrna/intern/rna_sensor.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_sensor.c | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/rna_sensor.c b/source/blender/makesrna/intern/rna_sensor.c new file mode 100644 index 00000000000..3457899d86f --- /dev/null +++ b/source/blender/makesrna/intern/rna_sensor.c @@ -0,0 +1,49 @@ +/** + * $Id$ + * + * ***** BEGIN GPL LICENSE BLOCK ***** + * + * This program 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 + * of the License, or (at your option) any later version. + * + * This program 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + * + * Contributor(s): Blender Foundation (2008). + * + * ***** END GPL LICENSE BLOCK ***** + */ + +#include <stdlib.h> + +#include "RNA_access.h" +#include "RNA_define.h" +#include "RNA_types.h" + +#include "rna_internal.h" + +#include "DNA_sensor_types.h" + +#ifdef RNA_RUNTIME + +#else + +void RNA_def_sensor(BlenderRNA *brna) +{ + StructRNA *srna; + PropertyRNA *prop; + + srna= RNA_def_struct(brna, "Sensor", "ID", "Sensor"); + +} + +#endif + |