aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-folder.h
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2000-07-13 04:37:00 +0800
committerDan Winship <danw@src.gnome.org>2000-07-13 04:37:00 +0800
commit540e1d7671ec843c2db2d03810d948f879ac1bfc (patch)
tree93b23a7c4a19ef3db93730064e0a9c5035a04f81 /camel/camel-folder.h
parent4b7d13b41ff3dd03e8490108f30277f5469d40bf (diff)
downloadgsoc2013-evolution-540e1d7671ec843c2db2d03810d948f879ac1bfc.tar.gz
gsoc2013-evolution-540e1d7671ec843c2db2d03810d948f879ac1bfc.tar.zst
gsoc2013-evolution-540e1d7671ec843c2db2d03810d948f879ac1bfc.zip
Useful default implementations for free_{uids,subfolder_names,summary}.
* camel-folder.c (camel_folder_free_deep, camel_folder_free_shallow, camel_folder_free_nop): Useful default implementations for free_{uids,subfolder_names,summary}. (free_subfolder_names, free_uids): Make these g_warning-ing default implementations. * providers/*/camel-*-folder.c: Use the new functions where appropriate, remove duplicated code. svn path=/trunk/; revision=4120
Diffstat (limited to 'camel/camel-folder.h')
-rw-r--r--camel/camel-folder.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/camel/camel-folder.h b/camel/camel-folder.h
index 121a0277cb..392d4901ff 100644
--- a/camel/camel-folder.h
+++ b/camel/camel-folder.h
@@ -312,6 +312,12 @@ void camel_folder_move_message_to (CamelFolder *source,
void camel_folder_freeze (CamelFolder *folder);
void camel_folder_thaw (CamelFolder *folder);
+
+/* For use by subclasses (for free_{uids,summary,subfolder_names}) */
+void camel_folder_free_nop (CamelFolder *folder, GPtrArray *array);
+void camel_folder_free_shallow (CamelFolder *folder, GPtrArray *array);
+void camel_folder_free_deep (CamelFolder *folder, GPtrArray *array);
+
#ifdef __cplusplus
}
#endif /* __cplusplus */