diff include/mb_animate.h @ 192:54fdc2a65242

Remove factory from observer APIs. - Save factory that used to new a subject as subject's attribute. - Get factory from subject himself instead of passing as an argument. - It make API of observer more simple and clean.
author Thinker K.F. Li <thinker@branda.to>
date Tue, 18 Nov 2008 21:42:30 +0800
parents 530bb7728546
children 45d9a1e2764d
line wrap: on
line diff
--- a/include/mb_animate.h	Tue Nov 18 13:55:09 2008 +0800
+++ b/include/mb_animate.h	Tue Nov 18 21:42:30 2008 +0800
@@ -44,6 +44,7 @@
 			   mb_timeval_t *now);
 extern void mb_progm_abort(mb_progm_t *progm);
 extern subject_t *mb_progm_get_complete(mb_progm_t *progm);
+extern void mb_progm_free_completed(mb_progm_t *progm);
 
 /*! \defgroup ani_actions Animation Actions
  * @{