Ag.Provider – libaccounts-glib Reference Manual
Packages
libaccounts-glib
Ag
Provider
list_free
@ref
get_description
get_display_name
get_domains_regex
get_file_contents
get_i18n_domain
get_icon_name
get_name
get_plugin_name
get_single_account
get_tags
match_domain
unref
Provider
Object Hierarchy:
Description:
[
CCode
( ref_function =
"ag_provider_ref"
, type_id =
"ag_provider_get_type ()"
, unref_function =
"ag_provider_unref"
) ]
[
Compact
]
public
class
Provider
Opaque structure.
Use related accessor functions.
Namespace:
Ag
Package:
libaccounts-glib
Content:
Static methods:
public
static
void
list_free
(
List
<
Provider
> list)
Methods:
public
Provider
@ref
()
Adds a reference to
this
.
public
unowned
string
get_description
()
Get the description of the
Provider
.
public
unowned
string
get_display_name
()
Get the display name of the
Provider
.
public
unowned
string
get_domains_regex
()
Get a regular expression matching all domains where this provider's accounts can be used.
public
void
get_file_contents
(
string
contents)
Gets the contents of the XML provider file.
public
unowned
string
get_i18n_domain
()
Get the translation domain of the
Provider
.
public
unowned
string
get_icon_name
()
Get the icon name of the
Provider
.
public
unowned
string
get_name
()
Get the name of the
Provider
.
public
unowned
string
get_plugin_name
()
Get the name of the account plugin which manages all accounts created from this
Provider
.
public
bool
get_single_account
()
Tell whether the provider doesn't support creating more than one account.
public
List
<
unowned
string
>
get_tags
()
Get list of tags specified for the
Provider
.
public
bool
match_domain
(
string
domain)
Check whether
domain
is supported by this provider, by matching it with the regex returned by
get_domains_regex
.
public
void
unref
()
Used to unreference the
Provider
structure.