From dcc3d40b2c0a78ba75ccae41619cb309ec6006c5 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Wed, 7 Dec 2011 22:23:21 -0500 Subject: MailFolderCache: Add class methods for signals. --- mail/mail-folder-cache.h | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) (limited to 'mail/mail-folder-cache.h') diff --git a/mail/mail-folder-cache.h b/mail/mail-folder-cache.h index 681c6efdda..a142272661 100644 --- a/mail/mail-folder-cache.h +++ b/mail/mail-folder-cache.h @@ -77,6 +77,32 @@ struct _MailFolderCache { struct _MailFolderCacheClass { GObjectClass parent_class; + + /* Signals */ + void (*folder_available) (MailFolderCache *cache, + CamelStore *store, + const gchar *folder_name); + void (*folder_unavailable) (MailFolderCache *cache, + CamelStore *store, + const gchar *folder_name); + void (*folder_deleted) (MailFolderCache *cache, + CamelStore *store, + const gchar *folder_name); + void (*folder_renamed) (MailFolderCache *cache, + CamelStore *store, + const gchar *old_folder_name, + const gchar *new_folder_name); + void (*folder_unread_updated) + (MailFolderCache *cache, + CamelStore *store, + const gchar *folder_name, + gint unread); + void (*folder_changed) (MailFolderCache *cache, + CamelStore *store, + gint new_messages, + const gchar *msg_uid, + const gchar *msg_sender, + const gchar *msg_subject); }; GType mail_folder_cache_get_type (void) G_GNUC_CONST; -- cgit v1.2.3