(split from Astrognome)Added GswePlanetInfo.sweph_id for Swiss Ephemeris planet IDs

This commit is contained in:
Gergely Polonkai 2013-09-01 16:06:25 +02:00
parent c569e2b6a8
commit 64ede94ea0
1 changed files with 3 additions and 0 deletions

View File

@ -60,6 +60,8 @@ typedef enum {
/** /**
* GswePlanetInfo: * GswePlanetInfo:
* @planet: the planet ID * @planet: the planet ID
* @sweph_id: the planet ID according to the Swiss Ephemeris libarary
* (or -1, if the planet has no such ID)
* @orb: the planet's personal orb * @orb: the planet's personal orb
* @name: the planet's name * @name: the planet's name
* @domicile_sign_1: the first sign in which the planet is domicile * @domicile_sign_1: the first sign in which the planet is domicile
@ -71,6 +73,7 @@ typedef enum {
*/ */
typedef struct { typedef struct {
GswePlanet planet; GswePlanet planet;
gint sweph_id;
gdouble orb; gdouble orb;
gchar *name; gchar *name;
GsweZodiac domicile_sign_1; GsweZodiac domicile_sign_1;