LpfManager
LpfManager — Provider Manager
|
|
Object Hierarchy
GObject
╰── LpfManager
Description
A LpfManager handles the different public transport information providers.
Functions
lpf_manager_new ()
LpfManager *
lpf_manager_new (void
);
lpf_manager_error_quark ()
GQuark
lpf_manager_error_quark (void
);
lpf_manager_get_available_providers ()
GStrv
lpf_manager_get_available_providers (void
);
Returns
List of available providers.
[transfer full]
lpf_manager_activate_provider ()
LpfProvider *
lpf_manager_activate_provider (LpfManager *self
,
const gchar *name
,
GError **error
);
Activate the given provider
lpf_manager_deactivate_provider ()
void
lpf_manager_deactivate_provider (LpfManager *self
,
LpfProvider *provider
);
Types and Values
LPF_PROVIDERS_ENV
#define LPF_PROVIDERS_ENV "LPF_PROVIDERS"
LPF_MANAGER_ERROR
#define LPF_MANAGER_ERROR g_spawn_error_quark ()
Error domain for the provider manager
enum LpfManagerError
Error codes returned by manager