export api to be used in e_sys_action and other places.

use this call in order to check for existing on-going operations.



SVN revision: 39595
This commit is contained in:
Gustavo Sverzut Barbieri 2009-03-20 00:57:57 +00:00
parent fe300e8fcf
commit 377a9332df
2 changed files with 8 additions and 0 deletions

View File

@ -461,6 +461,13 @@ e_fm2_op_registry_get_all_free(Eina_List *list)
e_fm2_op_registry_entry_unref(entry);
}
EAPI Eina_Bool
e_fm2_op_registry_is_empty(void)
{
return eina_hash_population(_e_fm2_op_registry) == 0;
}
EAPI unsigned int
e_fm2_op_registry_init(void)
{

View File

@ -52,6 +52,7 @@ EAPI void e_fm2_op_registry_entry_listener_del(E_Fm2_Op_Registry_Entry *entry, v
EAPI Eina_Iterator *e_fm2_op_registry_iterator_new(void);
EAPI Eina_List *e_fm2_op_registry_get_all(void);
EAPI void e_fm2_op_registry_get_all_free(Eina_List *list);
EAPI Eina_Bool e_fm2_op_registry_is_empty(void);
EAPI unsigned int e_fm2_op_registry_init(void);
EAPI unsigned int e_fm2_op_registry_shutdown(void);