eolian: have eolian_all_classes_list_get instead of eolian_class_names_list_get

This commit is contained in:
Daniel Kolesa 2014-07-03 22:12:09 +01:00
parent a7dfaef215
commit 84451db638
3 changed files with 5 additions and 11 deletions

View File

@ -154,7 +154,7 @@ class_namespace_full(Eolian_Class const& klass)
inline efl::eina::range_ptr_list<const Eolian_Class> inline efl::eina::range_ptr_list<const Eolian_Class>
class_list_all() class_list_all()
{ {
return ::eolian_class_names_list_get(); return ::eolian_all_classes_list_get();
} }
inline std::string inline std::string

View File

@ -289,14 +289,13 @@ eolian_class_namespaces_list_get(const Eolian_Class klass);
EAPI Eolian_Class_Type eolian_class_type_get(const Eolian_Class klass); EAPI Eolian_Class_Type eolian_class_type_get(const Eolian_Class klass);
/* /*
* @brief Returns the names list of all the classes stored into the database. * @brief Returns a list of all the classes stored into the database.
* *
* @return the list * @return the list
* *
* @ingroup Eolian * @ingroup Eolian
*/ */
/* Returns the list of class names of the database */ EAPI const Eina_List *eolian_all_classes_list_get(void);
EAPI const Eina_List *eolian_class_names_list_get(void);
/* /*
* @brief Returns the description of a class. * @brief Returns the description of a class.

View File

@ -393,14 +393,9 @@ database_class_del(Eolian_Class class)
} }
EAPI const Eina_List * EAPI const Eina_List *
eolian_class_names_list_get(void) eolian_all_classes_list_get(void)
{ {
Eina_List *itr; return _classes;
_Class_Desc *cl;
Eina_List *list = NULL;
EINA_LIST_FOREACH(_classes, itr, cl)
list = eina_list_append(list, cl->name);
return list;
} }
Eina_Bool Eina_Bool