X-Git-Url: http://git.maemo.org/git/?a=blobdiff_plain;f=src%2Fmodest-tny-account.h;h=16fbc4eef45e01d18f926e5387884c9540a94b41;hb=d1c8393fb05baf329c0f34fb8f528d077ffe916e;hp=915fe3f9d2e0b78c6e12db91614ca3f27e366c1f;hpb=5b20214853dcf7416c0e9b2590fed93af2c635e0;p=modest diff --git a/src/modest-tny-account.h b/src/modest-tny-account.h index 915fe3f..16fbc4e 100644 --- a/src/modest-tny-account.h +++ b/src/modest-tny-account.h @@ -187,6 +187,14 @@ gint modest_tny_folder_store_get_message_count (TnyFolderStore *self); **/ gint modest_tny_folder_store_get_local_size (TnyFolderStore *self); +/** + * modest_tny_folder_store_is_remote: + * @folder_store: The folder store (folder or account) that needs to + * decide if need a connection in subsequent operations. + * @return value: Whether a connection is necessary for this folder_store. + */ +gboolean modest_tny_folder_store_is_remote (TnyFolderStore *self); + /** modest_tny_account_get_parent_modest_account_name_for_server_account: * Get the name of the parent modest account of which the server account is a part. */