TnyCamelStoreAccount

TnyCamelStoreAccount — A store account type implemented for camel.

Synopsis

                    TnyCamelStoreAccount;
TnyStoreAccount*    tny_camel_store_account_new         (void);
TnyFolder*          tny_camel_store_account_factor_folder
                                                        (TnyCamelStoreAccount *self,
                                                         const gchar *full_name,
                                                         gboolean *was_new);

Object Hierarchy

  GObject
   +----TnyCamelAccount
         +----TnyCamelStoreAccount
               +----TnyCamelPOPStoreAccount
               +----TnyCamelIMAPStoreAccount
               +----TnyCamelNNTPStoreAccount

Implemented Interfaces

TnyCamelStoreAccount implements TnyAccount, TnyFolderStore and TnyStoreAccount.

Description

A TnyStoreAccount implemented using camel.

Details

TnyCamelStoreAccount

typedef struct _TnyCamelStoreAccount TnyCamelStoreAccount;


tny_camel_store_account_new ()

TnyStoreAccount*    tny_camel_store_account_new         (void);

Create a new TnyStoreAccount instance implemented for Camel

Returns :

A new TnyStoreAccount instance implemented for Camel

tny_camel_store_account_factor_folder ()

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

See Also

TnyFolderStore, TnyAccount, TnyTransportAccount, TnyTransportAccount, TnyCamelAccount