![]() |
![]() |
![]() |
Reference Manual of the tinymail framework | ![]() |
---|---|---|---|---|
TnyCamelStoreAccount; TnyStoreAccount* tny_camel_store_account_new (void); TnyFolder* tny_camel_store_account_factor_folder (TnyCamelStoreAccount *self, const gchar *full_name, gboolean *was_new);
GObject +----TnyCamelAccount +----TnyCamelStoreAccount +----TnyCamelPOPStoreAccount +----TnyCamelIMAPStoreAccount +----TnyCamelNNTPStoreAccount
TnyCamelStoreAccount implements TnyFolderStore, TnyAccount and TnyStoreAccount.
TnyStoreAccount* tny_camel_store_account_new (void);
Create a new TnyStoreAccount instance implemented for Camel
Returns : | A new TnyStoreAccount instance implemented for Camel |
TnyFolder* tny_camel_store_account_factor_folder (TnyCamelStoreAccount *self, const gchar *full_name, gboolean *was_new);
Factor a new TnyFolder instance. It's possible that an existing one is reused In that case will a reference be added to the instance. If an existing instance was not available, a new one will be created and remembered for in case a new request happens.
self : |
a valid TnyCamelStoreAccount instance |
full_name : |
the name of the folder to create |
was_new : |
whether or not a new instance got created (by reference) |
Returns : | A TnyCamelTransportAccount instance or NULL |