aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-vee-store.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2001-02-24 00:52:55 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-02-24 00:52:55 +0800
commitafd1cad2da1ace056f7882a1088ce3e3b7dba2da (patch)
tree8837f2b4ac974e7476fb7937e1eca8ef079861e7 /camel/camel-vee-store.c
parentac97d963b038541b84aa15b4eaa3d28fd9d60114 (diff)
downloadgsoc2013-evolution-afd1cad2da1ace056f7882a1088ce3e3b7dba2da.tar.gz
gsoc2013-evolution-afd1cad2da1ace056f7882a1088ce3e3b7dba2da.tar.zst
gsoc2013-evolution-afd1cad2da1ace056f7882a1088ce3e3b7dba2da.zip
init get_trash and init_trash. (camel_store_init): call the virtual
2001-02-23 Jeffrey Stedfast <fejj@ximian.com> * camel-store.c (camel_store_class_init): init get_trash and init_trash. (camel_store_init): call the virtual init_trash function. (camel_store_finalize): unref the vtrash folder/store if present. (camel_store_get_folder): Add the new folder to the vtrash vfolder. (init_trash): default implementation of init_trash. (get_trash): default implementation of get_trash. * camel-vee-store.c (vee_init_trash): No-op. (vee_get_trash): return NULL svn path=/trunk/; revision=8368
Diffstat (limited to 'camel/camel-vee-store.c')
-rw-r--r--camel/camel-vee-store.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/camel/camel-vee-store.c b/camel/camel-vee-store.c
index 4920e04a83..38d535dbee 100644
--- a/camel/camel-vee-store.c
+++ b/camel/camel-vee-store.c
@@ -23,6 +23,8 @@
#include "camel-vee-folder.h"
static CamelFolder *vee_get_folder (CamelStore *store, const char *folder_name, guint32 flags, CamelException *ex);
+static void vee_init_trash (CamelStore *store);
+static CamelFolder *vee_get_trash (CamelStore *store, CamelException *ex);
struct _CamelVeeStorePrivate {
};
@@ -62,6 +64,8 @@ camel_vee_store_class_init (CamelVeeStoreClass *klass)
/* virtual method overload */
store_class->get_folder = vee_get_folder;
+ store_class->init_trash = vee_init_trash;
+ store_class->get_trash = vee_get_trash;
}
static void
@@ -91,3 +95,16 @@ vee_get_folder (CamelStore *store, const char *folder_name, guint32 flags, Camel
{
return camel_vee_folder_new(store, folder_name, flags, ex);
}
+
+static void
+vee_init_trash (CamelStore *store)
+{
+ /* no-op */
+ ;
+}
+
+static CamelFolder *
+vee_get_trash (CamelStore *store, CamelException *ex)
+{
+ return NULL;
+}