Object Hierarchy
GObject
╰── LpfLoc
╰── LpfStop
Description
A LpfLoc represents a location (e.g. a station)
Functions
lpf_loc_get_name ()
const gchar *
lpf_loc_get_name (LpfLoc *self
);
lpf_loc_get_lat ()
double
lpf_loc_get_lat (LpfLoc *self
);
Returns
the locations latitude
lpf_loc_get_long ()
double
lpf_loc_get_long (LpfLoc *self
);
Returns
the locations longitude
lpf_loc_get_opaque ()
gpointer
lpf_loc_get_opaque (LpfLoc *self
);
Get the opaque data stored by a provider.
Returns
pointer to the opaue data
lpf_loc_set_opaque ()
void
lpf_loc_set_opaque (LpfLoc *self
,
gpointer opaque
);
Set the opaque data stored by a provider. The data will
be freed using g_free.
Property Details
The “lat”
property
“lat” gdouble
Get Location Latitude.
Flags: Read / Write / Construct
Allowed values: [-90,90]
Default value: 0
The “long”
property
“long” gdouble
Get Location Longitude.
Flags: Read / Write / Construct
Allowed values: [-180,180]
Default value: 0
The “name”
property
“name” gchar *
Get Location name.
Flags: Read / Write / Construct
Default value: ""