Top | ![]() |
![]() |
![]() |
![]() |
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
);
e_config_lookup_result_get_kind
is deprecated and should not be used in newly-written code.
Since: 3.26
gint
e_config_lookup_result_get_priority (EConfigLookupResult *lookup_result
);
e_config_lookup_result_get_priority
is deprecated and should not be used in newly-written code.
Since: 3.26
gboolean
e_config_lookup_result_get_is_complete
(EConfigLookupResult *lookup_result
);
e_config_lookup_result_get_is_complete
is deprecated and should not be used in newly-written code.
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
);
e_config_lookup_result_get_protocol
is deprecated and should not be used in newly-written code.
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
);
e_config_lookup_result_get_display_name
is deprecated and should not be used in newly-written code.
Since: 3.26
const gchar *
e_config_lookup_result_get_description
(EConfigLookupResult *lookup_result
);
e_config_lookup_result_get_description
is deprecated and should not be used in newly-written code.
Since: 3.26
gboolean e_config_lookup_result_configure_source (EConfigLookupResult *lookup_result
,ESource *source
);
e_config_lookup_result_configure_source
is deprecated and should not be used in newly-written code.
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
);
e_config_lookup_result_compare
is deprecated and should not be used in newly-written code.
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
#define E_CONFIG_LOOKUP_RESULT_PRIORITY_IMAP 1000
E_CONFIG_LOOKUP_RESULT_PRIORITY_IMAP
is deprecated and should not be used in newly-written code.
#define E_CONFIG_LOOKUP_RESULT_PRIORITY_POP3 2000
E_CONFIG_LOOKUP_RESULT_PRIORITY_POP3
is deprecated and should not be used in newly-written code.