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 () |
const gchar * | e_config_lookup_result_get_password () |
gboolean | e_config_lookup_result_configure_source () |
gint | e_config_lookup_result_compare () |
gboolean | e_config_lookup_result_equal () |
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
const gchar *
e_config_lookup_result_get_password (EConfigLookupResult *lookup_result
);
e_config_lookup_result_get_password
is deprecated and should not be used in newly-written code.
Since: 3.28
gboolean e_config_lookup_result_configure_source (EConfigLookupResult *lookup_result
,struct _EConfigLookup *config_lookup
,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. The config_lookup
can be used to get other than the provided source
.
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. Due to this it doesn't mean that the two results are equal when
the function returns 0, use e_config_lookup_result_equal()
to check complete
equality instead.
lookup_result_a |
the first EConfigLookupResult |
|
lookup_result_b |
the second EConfigLookupResult |
Since: 3.26
gboolean e_config_lookup_result_equal (gconstpointer lookup_result_a
,gconstpointer lookup_result_b
);
e_config_lookup_result_equal
is deprecated and should not be used in newly-written code.
lookup_result_a |
the first EConfigLookupResult |
|
lookup_result_b |
the second EConfigLookupResult |
Since: 3.28
#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.