aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-digest-store.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2002-05-09 05:58:37 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2002-05-09 05:58:37 +0800
commit4554c20766d386909b765446af93418292293a7c (patch)
tree0bc57a8bdeb9901bd0dd929ca911ef53e9d4e81c /camel/camel-digest-store.c
parent06bd4d2a16b4b39f485363f10dd272d529e3f16a (diff)
downloadgsoc2013-evolution-4554c20766d386909b765446af93418292293a7c.tar.gz
gsoc2013-evolution-4554c20766d386909b765446af93418292293a7c.tar.zst
gsoc2013-evolution-4554c20766d386909b765446af93418292293a7c.zip
Implemented. (digest_getv): Implemented.
2002-05-08 Jeffrey Stedfast <fejj@ximian.com> * camel-digest-store.c (digest_setv): Implemented. (digest_getv): Implemented. * camel-disco-store.c (disco_setv): Implemented. (disco_getv): Implemented. * camel-remote-store.c (remote_store_setv): Implemented. (remote_store_getv): Implemented. * camel-transport.c (camel_transport_class_init): Implemented. (transport_setv): Implemented. (transport_getv): Implemented. * camel-store.c (store_setv): Implemented. (store_getv): Implemented. * camel-service.c (service_setv): Implemented. (service_getv): Implemented. svn path=/trunk/; revision=16729
Diffstat (limited to 'camel/camel-digest-store.c')
-rw-r--r--camel/camel-digest-store.c25
1 files changed, 23 insertions, 2 deletions
diff --git a/camel/camel-digest-store.c b/camel/camel-digest-store.c
index 3e2833442d..e3870e3672 100644
--- a/camel/camel-digest-store.c
+++ b/camel/camel-digest-store.c
@@ -47,7 +47,10 @@ static void camel_digest_store_class_init (CamelDigestStoreClass *klass);
static void camel_digest_store_init (CamelDigestStore *obj);
static void camel_digest_store_finalise (CamelObject *obj);
-static CamelStoreClass *camel_digest_store_parent = NULL;
+static int digest_setv (CamelObject *object, CamelException *ex, CamelArgV *args);
+static int digest_getv (CamelObject *object, CamelException *ex, CamelArgGetV *args);
+
+static CamelStoreClass *parent_class = NULL;
CamelType
@@ -72,11 +75,15 @@ camel_digest_store_get_type (void)
static void
camel_digest_store_class_init (CamelDigestStoreClass *klass)
{
+ CamelObjectClass *object_class = (CamelObjectClass *) klass;
CamelStoreClass *store_class = (CamelStoreClass *) klass;
- camel_digest_store_parent = CAMEL_STORE_CLASS(camel_type_get_global_classfuncs (camel_store_get_type ()));
+ parent_class = CAMEL_STORE_CLASS(camel_type_get_global_classfuncs (camel_store_get_type ()));
/* virtual method overload */
+ object_class->setv = digest_setv;
+ object_class->getv = digest_getv;
+
store_class->get_folder = digest_get_folder;
store_class->rename_folder = digest_rename_folder;
store_class->delete_folder = digest_delete_folder;
@@ -102,6 +109,20 @@ camel_digest_store_finalise (CamelObject *obj)
}
+static int
+digest_setv (CamelObject *object, CamelException *ex, CamelArgV *args)
+{
+ /* CamelDigestStore doesn't currently have anything to set */
+ return CAMEL_OBJECT_CLASS (parent_class)->setv (object, ex, args);
+}
+
+static int
+digest_getv (CamelObject *object, CamelException *ex, CamelArgGetV *args)
+{
+ /* CamelDigestStore doesn't currently have anything to get */
+ return CAMEL_OBJECT_CLASS (parent_class)->getv (object, ex, args);
+}
+
/**
* camel_digest_store_new: