Add gswe_all_house_systems() function
This is required for Astrognome to configure house systems in the charts. See gergelypolonkai/astrognome#36
This commit is contained in:
parent
dca2071c88
commit
600712c901
@ -211,6 +211,7 @@ gswe_antiscion_data_get_type
|
|||||||
<FILE>gswe-house-system-info</FILE>
|
<FILE>gswe-house-system-info</FILE>
|
||||||
GsweHouseSystemInfo
|
GsweHouseSystemInfo
|
||||||
gswe_find_house_system_info_by_id
|
gswe_find_house_system_info_by_id
|
||||||
|
gswe_all_house_systems
|
||||||
gswe_house_system_info_new
|
gswe_house_system_info_new
|
||||||
gswe_house_system_info_ref
|
gswe_house_system_info_ref
|
||||||
gswe_house_system_info_unref
|
gswe_house_system_info_unref
|
||||||
|
@ -828,3 +828,17 @@ gswe_find_antiscion_axis_info_by_id(
|
|||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* gswe_all_house_systems:
|
||||||
|
*
|
||||||
|
* Returns: (transfer container): All #GsweHouseSystemInfo registered with
|
||||||
|
* SWE-GLib. This list should not be modified nor freed and is only valid until
|
||||||
|
* a new house system is registered.
|
||||||
|
*
|
||||||
|
* Since: 2.1.0
|
||||||
|
*/
|
||||||
|
GList *
|
||||||
|
gswe_all_house_systems(void)
|
||||||
|
{
|
||||||
|
return g_hash_table_get_values(gswe_house_system_info_table);
|
||||||
|
}
|
||||||
|
@ -67,4 +67,6 @@ GsweAntiscionAxisInfo *gswe_find_antiscion_axis_info_by_id(
|
|||||||
GsweAntiscionAxis antiscion_axis,
|
GsweAntiscionAxis antiscion_axis,
|
||||||
GError **err);
|
GError **err);
|
||||||
|
|
||||||
|
GList *gswe_all_house_systems(void);
|
||||||
|
|
||||||
#endif /* __SWE_GLIB_H__ */
|
#endif /* __SWE_GLIB_H__ */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user