Added object position managing functions and structures.
[familia.git] / src / math / positions.c
diff --git a/src/math/positions.c b/src/math/positions.c
new file mode 100644 (file)
index 0000000..4fd47bf
--- /dev/null
@@ -0,0 +1,41 @@
+/****************************************************************************
+ *  Familia Lignum - Genealogical program                                   *
+ *  Copyright (C) 2011-2012 Rafał Długołęcki <rafal@dlugolecki.net.pl>      *
+ *                                                                          *
+ *  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; version 2 of the License.                 *
+ *                                                                          *
+ *  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., *
+ *  51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.             *
+ *                                                                          *
+ ****************************************************************************/
+
+#ifndef _FAMILIA_MATH_POSITIONS_H
+#define _FAMILIA_MATH_POSITIONS_H
+
+#include <stdlib.h>
+
+#include "positions.h"
+#include "storage/individual.h"
+#include "storage/family.h"
+
+struct position * familia_position_calculate_individual_position(struct familia_individual * individual)
+{
+/*     TODO: Implement this function*/
+       return NULL;
+}
+
+struct position * familia_position_calculate_family_position(struct familia_family * family)
+{
+/*     TODO: Implement this function*/
+       return NULL;
+}
+
+#endif /* _FAMILIA_MATH_3D_H */