diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2013-07-15 21:45:22 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2013-07-18 00:08:46 +0800 |
commit | 4de572679748a0586b9a9c3bf34c40ea5102e826 (patch) | |
tree | fa6815753e6fc1fd8f922b0a42c42a373256598c /libemail-engine/mail-folder-cache.h | |
parent | 079fc1a78d35d79350b7390ca3a76f65f9f22841 (diff) | |
download | gsoc2013-evolution-4de572679748a0586b9a9c3bf34c40ea5102e826.tar gsoc2013-evolution-4de572679748a0586b9a9c3bf34c40ea5102e826.tar.gz gsoc2013-evolution-4de572679748a0586b9a9c3bf34c40ea5102e826.tar.bz2 gsoc2013-evolution-4de572679748a0586b9a9c3bf34c40ea5102e826.tar.lz gsoc2013-evolution-4de572679748a0586b9a9c3bf34c40ea5102e826.tar.xz gsoc2013-evolution-4de572679748a0586b9a9c3bf34c40ea5102e826.tar.zst gsoc2013-evolution-4de572679748a0586b9a9c3bf34c40ea5102e826.zip |
Add mail_folder_cache_has_folder_info().
Returns whether MailFolderCache has information about the folder
described by the CamelStore and folder name. This does not necessarily
mean it has the CamelFolder instance, but it at least has some meta-data
about it.
You can use this function as a folder existence test.
Diffstat (limited to 'libemail-engine/mail-folder-cache.h')
-rw-r--r-- | libemail-engine/mail-folder-cache.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libemail-engine/mail-folder-cache.h b/libemail-engine/mail-folder-cache.h index 4581552524..02c305ecea 100644 --- a/libemail-engine/mail-folder-cache.h +++ b/libemail-engine/mail-folder-cache.h @@ -117,6 +117,10 @@ void mail_folder_cache_note_store (MailFolderCache *cache, gpointer data); void mail_folder_cache_note_folder (MailFolderCache *cache, CamelFolder *folder); +gboolean mail_folder_cache_has_folder_info + (MailFolderCache *cache, + CamelStore *store, + const gchar *folder_name); gboolean mail_folder_cache_get_folder_from_uri (MailFolderCache *cache, const gchar *uri, |