summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2012-05-21 22:55:23 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2012-05-21 22:55:23 +0200
commit2ef4c6d3ff6754a9889b414fca8bddfa4ad8023e (patch)
treefa17b46f06a2f037112a21b1e8e983cafa60d0e7 /src
parentbd2645e81b46d81fdee070c6088618b26c9b56f0 (diff)
downloadedoors-2ef4c6d3ff6754a9889b414fca8bddfa4ad8023e.zip
edoors-2ef4c6d3ff6754a9889b414fca8bddfa4ad8023e.tar.gz
add eiotas_particle.c and eiotas_link.c
Diffstat (limited to 'src')
-rw-r--r--src/include/eiotas_iota.h2
-rw-r--r--src/lib/CMakeLists.txt2
-rw-r--r--src/lib/eiotas_link.c31
-rw-r--r--src/lib/eiotas_particle.c31
4 files changed, 65 insertions, 1 deletions
diff --git a/src/include/eiotas_iota.h b/src/include/eiotas_iota.h
index 4a01921..6e4a346 100644
--- a/src/include/eiotas_iota.h
+++ b/src/include/eiotas_iota.h
@@ -25,8 +25,8 @@ typedef enum _Eiotas_Type
{
EIOTAS_TYPE_SPIN=0,
EIOTAS_TYPE_ROOM,
- EIOTAS_TYPE_BOARD,
EIOTAS_TYPE_DOOR,
+ EIOTAS_TYPE_BOARD,
EIOTAS_TYPE_COUNT
} Eiotas_Type;
diff --git a/src/lib/CMakeLists.txt b/src/lib/CMakeLists.txt
index cf5d693..e2871fc 100644
--- a/src/lib/CMakeLists.txt
+++ b/src/lib/CMakeLists.txt
@@ -1,5 +1,7 @@
LIST(APPEND EIOTAS_CC_SOURCES
eiotas_main.c
+ eiotas_particle.c
+ eiotas_link.c
eiotas_iota.c
eiotas_spin.c
eiotas_room.c
diff --git a/src/lib/eiotas_link.c b/src/lib/eiotas_link.c
new file mode 100644
index 0000000..59d4326
--- /dev/null
+++ b/src/lib/eiotas_link.c
@@ -0,0 +1,31 @@
+/* EIOTAS
+ * Copyright (C) 2012 Jérémy Zurcher
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library 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
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library;
+ * if not, see <http://www.gnu.org/licenses/>.
+ */
+
+#ifdef HAVE_CONFIG_H
+# include "eina_config.h"
+#endif
+
+#include "eiotas_link.h"
+#include "eiotas_private.h"
+
+void eiotas_link_free(Eiotas_Link *link)
+{
+ DBG("Link free 0x%X",link);
+ // TODO
+}
+
diff --git a/src/lib/eiotas_particle.c b/src/lib/eiotas_particle.c
new file mode 100644
index 0000000..28ff6c0
--- /dev/null
+++ b/src/lib/eiotas_particle.c
@@ -0,0 +1,31 @@
+/* EIOTAS
+ * Copyright (C) 2012 Jérémy Zurcher
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library 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
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library;
+ * if not, see <http://www.gnu.org/licenses/>.
+ */
+
+#ifdef HAVE_CONFIG_H
+# include "eina_config.h"
+#endif
+
+#include "eiotas_particle.h"
+#include "eiotas_private.h"
+
+void eiotas_particle_free(Eiotas_Particle *particle)
+{
+ DBG("Particle free 0x%X",particle);
+ // TODO
+}
+