Provider
Object Hierarchy:
Description:
[ CCode ( copy_function = "g_boxed_copy" , free_function = "g_boxed_free" , type_id = "ag_provider_get_type ()" ) ]
[ Compact ]
public class Provider
Opaque structure.
Use related accessor functions.
Content:
Static methods:
- public static void list_free (List<Provider> list)
Frees the list 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 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.