Top | ![]() |
![]() |
![]() |
![]() |
EConfigLookupResultKind | e_config_lookup_result_get_kind () |
gint | e_config_lookup_result_get_priority () |
gboolean | e_config_lookup_result_get_is_complete () |
const gchar * | e_config_lookup_result_get_protocol () |
const gchar * | e_config_lookup_result_get_display_name () |
const gchar * | e_config_lookup_result_get_description () |
gboolean | e_config_lookup_result_configure_source () |
gint | e_config_lookup_result_compare () |
EConfigLookupResult is an interface which actual results need to implement. Such result holds information about one kind and knows how to setup an ESource with the looked up values.
Simple changes can be saved using EConfigLookupResultSimple object.
EConfigLookupResultKind
e_config_lookup_result_get_kind (EConfigLookupResult *lookup_result
);
Since: 3.26
gint
e_config_lookup_result_get_priority (EConfigLookupResult *lookup_result
);
Since: 3.26
gboolean
e_config_lookup_result_get_is_complete
(EConfigLookupResult *lookup_result
);
whether the result is complete, that is, whether it doesn't require any further user interaction
Since: 3.26
const gchar *
e_config_lookup_result_get_protocol (EConfigLookupResult *lookup_result
);
if applicable, returns the protocol of this lookup_result
,
or NULL
if not set, or not known, or not applicable.
[nullable]
Since: 3.26
const gchar *
e_config_lookup_result_get_display_name
(EConfigLookupResult *lookup_result
);
Since: 3.26
const gchar *
e_config_lookup_result_get_description
(EConfigLookupResult *lookup_result
);
Since: 3.26
gboolean e_config_lookup_result_configure_source (EConfigLookupResult *lookup_result
,ESource *source
);
Configures the source
with the looked up configuration.
Since: 3.26
gint e_config_lookup_result_compare (gconstpointer lookup_result_a
,gconstpointer lookup_result_b
);
Compares two EConfigLookupResult objects, and returns value less than 0,
when lookup_result_a
is before lookup_result_b
, 0 when they are the same
and value greater than 0, when lookup_result_a
is after lookup_result_b
.
The comparison is done on kind, is-complete, priority and display name values, in this order.
lookup_result_a |
the first EConfigLookupResult |
|
lookup_result_b |
the second EConfigLookupResult |
Since: 3.26