summaryrefslogtreecommitdiffstats
path: root/src/include/eiotas_particle.h
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2012-06-02 19:08:53 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2012-06-02 19:08:53 +0200
commit00f3bc3b9d4e74d089a76d1a31f74f3a4207b541 (patch)
tree09e8b20b480866a058571083643e29d53607510a /src/include/eiotas_particle.h
parent722cc78e6f2105108225212a0960f1b928fa71f2 (diff)
downloadedoors-00f3bc3b9d4e74d089a76d1a31f74f3a4207b541.zip
edoors-00f3bc3b9d4e74d089a76d1a31f74f3a4207b541.tar.gz
add eiotas_particle_destination_set and tests
Diffstat (limited to 'src/include/eiotas_particle.h')
-rw-r--r--src/include/eiotas_particle.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/include/eiotas_particle.h b/src/include/eiotas_particle.h
index 12026d8..ca8cc8e 100644
--- a/src/include/eiotas_particle.h
+++ b/src/include/eiotas_particle.h
@@ -127,6 +127,14 @@ EAPI Eina_Bool eiotas_particle_next_dst(Eiotas_Particle *particle);
EAPI void eiotas_particle_split_dst(Eiotas_Particle *particle);
/**
+ * @brief Add a destination and set it as current
+ *
+ * @param particle The @ref Eiotas_Particle to add destination to
+ * @param destination The destination to add and set as current
+ */
+EAPI void eiotas_particle_destination_set(Eiotas_Particle *particle, const char *destination);
+
+/**
* @brief Add destinations to the @ref Eiotas_Particle
*
* @param particle The @ref Eiotas_Particle to add destinations to