summaryrefslogtreecommitdiff
path: root/src/lib/emotion/emotion_private.h
diff options
context:
space:
mode:
authorGustavo Sverzut Barbieri <barbieri@gmail.com>2013-01-11 03:06:42 +0000
committerGustavo Sverzut Barbieri <barbieri@gmail.com>2013-01-11 03:06:42 +0000
commit356d4f733cd51ebcc95ad436044aa1fdd4aef6df (patch)
tree68104f9cd4bf1c7edcb6fa096389a688b0f6e7b5 /src/lib/emotion/emotion_private.h
parent4c64334b9d801f85dd19a6122db75cc3a1ecab6f (diff)
efl/emotion: rework module infra, better integration with 'generic'.
Change the module infra and allow one to register using the description structure itself, saves some work. Replace module_open and module_close with add() and del(), that are more descriptive. Move stuff to init/shutdown where it was a better fit. Since add() now receives the first parameter being the owning structure we can create one structure per generic player and they will merge transparently with other modules, then we can use a simple algorithm that considers the plugin priority. ALL DYNAMIC! Future work could be done to load the plugin priority specified by user from configuration file. But this is not in my plans right now. SVN revision: 82602
Diffstat (limited to 'src/lib/emotion/emotion_private.h')
-rw-r--r--src/lib/emotion/emotion_private.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/emotion/emotion_private.h b/src/lib/emotion/emotion_private.h
index 597e3fb7ab..93419f6d5e 100644
--- a/src/lib/emotion/emotion_private.h
+++ b/src/lib/emotion/emotion_private.h
@@ -30,7 +30,7 @@ void emotion_engine_instance_del(Emotion_Engine_Instance *in
30Eina_Bool emotion_engine_instance_name_equal(const Emotion_Engine_Instance *inst, const char *name); 30Eina_Bool emotion_engine_instance_name_equal(const Emotion_Engine_Instance *inst, const char *name);
31void *emotion_engine_instance_data_get(const Emotion_Engine_Instance *inst); 31void *emotion_engine_instance_data_get(const Emotion_Engine_Instance *inst);
32 32
33unsigned char emotion_engine_instance_file_open(Emotion_Engine_Instance *inst, const char *file); 33Eina_Bool emotion_engine_instance_file_open(Emotion_Engine_Instance *inst, const char *file);
34void emotion_engine_instance_file_close(Emotion_Engine_Instance *inst); 34void emotion_engine_instance_file_close(Emotion_Engine_Instance *inst);
35void emotion_engine_instance_play(Emotion_Engine_Instance *inst, double pos); 35void emotion_engine_instance_play(Emotion_Engine_Instance *inst, double pos);
36void emotion_engine_instance_stop(Emotion_Engine_Instance *inst); 36void emotion_engine_instance_stop(Emotion_Engine_Instance *inst);