| Top |
ESourceUoaESourceUoa — ESource extension for Ubuntu Online Accounts |
The ESourceUoa extension associates an ESource with an AgAccount. This extension is usually found in a top-level ESource, with various mail, calendar and address book data sources as children.
Access the extension as follows:
1 2 3 4 5 |
#include <libedataserver/libedataserver.h> ESourceUoa *extension; extension = e_source_get_extension (source, E_SOURCE_EXTENSION_UOA); |
guint
e_source_uoa_get_account_id (ESourceUoa *extension);
Returns the numeric identifier of the Ubuntu Online Account associated
with the ESource to which extension
belongs.
Since 3.8
void e_source_uoa_set_account_id (ESourceUoa *extension,guint account_id);
Sets the numeric identifier of the Ubuntu Online Account associated
with the ESource to which extension
belongs.
Since 3.8
#define E_SOURCE_EXTENSION_UOA "Ubuntu Online Accounts"
Pass this extension name to e_source_get_extension() to access
ESourceUoa. This is also used as a group name in key files.
Since 3.8
struct ESourceUoa {
ESourceExtension parent;
ESourceUoaPrivate *priv;
};
Contains only private data that should be read and manipulated using the functions below.
Since 3.8