[evolution-kolab/ek-wip-porting] CamelIMAPXExtdFolder: added parent class functions
- From: Christian Hilberg <chilberg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-kolab/ek-wip-porting] CamelIMAPXExtdFolder: added parent class functions
- Date: Tue, 20 Dec 2011 14:31:42 +0000 (UTC)
commit 9fada24e1a8f666ecafd2512d51f3f7006276796
Author: Christian Hilberg <hilberg kernelconcepts de>
Date: Tue Dec 20 15:28:30 2011 +0100
CamelIMAPXExtdFolder: added parent class functions
* chaining up to parent for all virtual functions
for now
* need to check subclassing / types first, then
override the parent functions we need to
.../providers/imapx/camel-imapx-extd-folder.c | 16 ++++++++++++++++
1 files changed, 16 insertions(+), 0 deletions(-)
---
diff --git a/src/camel/providers/imapx/camel-imapx-extd-folder.c b/src/camel/providers/imapx/camel-imapx-extd-folder.c
index f06f60c..1ec0f35 100644
--- a/src/camel/providers/imapx/camel-imapx-extd-folder.c
+++ b/src/camel/providers/imapx/camel-imapx-extd-folder.c
@@ -64,11 +64,27 @@ static void
camel_imapx_extd_folder_class_init (CamelIMAPXExtdFolderClass *klass)
{
GObjectClass *object_class = G_OBJECT_CLASS (klass);
+ CamelFolderClass *folder_class = CAMEL_FOLDER_CLASS (klass);
+ CamelFolderClass *parent_folder_class = \
+ CAMEL_FOLDER_CLASS (camel_imapx_extd_folder_parent_class);
/* g_type_class_add_private (klass, sizeof (CamelIMAPXExtdFolderPrivate)); */
object_class->dispose = camel_imapx_extd_folder_dispose;
object_class->finalize = camel_imapx_extd_folder_finalize;
+
+ folder_class->search_by_expression = parent_folder_class->search_by_expression;
+ folder_class->search_by_uids = parent_folder_class->search_by_uids;
+ folder_class->count_by_expression = parent_folder_class->count_by_expression;
+ folder_class->search_free = parent_folder_class->search_free;
+ folder_class->get_filename = parent_folder_class->get_filename;
+ folder_class->append_message_sync = parent_folder_class->append_message_sync;
+ folder_class->expunge_sync = parent_folder_class->expunge_sync;
+ folder_class->get_message_sync = parent_folder_class->get_message_sync;
+ folder_class->refresh_info_sync = parent_folder_class->refresh_info_sync;
+ folder_class->synchronize_sync = parent_folder_class->synchronize_sync;
+ folder_class->synchronize_message_sync = parent_folder_class->synchronize_message_sync;
+ folder_class->transfer_messages_to_sync = parent_folder_class->transfer_messages_to_sync;
}
/*----------------------------------------------------------------------------*/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]