diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2002-05-09 05:58:37 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2002-05-09 05:58:37 +0800 |
commit | 4554c20766d386909b765446af93418292293a7c (patch) | |
tree | 0bc57a8bdeb9901bd0dd929ca911ef53e9d4e81c /camel/camel-store.c | |
parent | 06bd4d2a16b4b39f485363f10dd272d529e3f16a (diff) | |
download | gsoc2013-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-store.c')
-rw-r--r-- | camel/camel-store.c | 23 |
1 files changed, 21 insertions, 2 deletions
diff --git a/camel/camel-store.c b/camel/camel-store.c index 6764ac0af6..ab3d667fde 100644 --- a/camel/camel-store.c +++ b/camel/camel-store.c @@ -75,12 +75,15 @@ static void construct (CamelService *service, CamelSession *session, CamelProvider *provider, CamelURL *url, CamelException *ex); +static int store_setv (CamelObject *object, CamelException *ex, CamelArgV *args); +static int store_getv (CamelObject *object, CamelException *ex, CamelArgGetV *args); + static void camel_store_class_init (CamelStoreClass *camel_store_class) { CamelObjectClass *camel_object_class = CAMEL_OBJECT_CLASS (camel_store_class); CamelServiceClass *camel_service_class = CAMEL_SERVICE_CLASS(camel_store_class); - + parent_class = CAMEL_SERVICE_CLASS (camel_type_get_global_classfuncs (camel_service_get_type ())); /* virtual method definition */ @@ -102,7 +105,10 @@ camel_store_class_init (CamelStoreClass *camel_store_class) /* virtual method overload */ camel_service_class->construct = construct; - + + camel_object_class->setv = store_setv; + camel_object_class->getv = store_getv; + camel_object_class_add_event(camel_object_class, "folder_created", NULL); camel_object_class_add_event(camel_object_class, "folder_deleted", NULL); camel_object_class_add_event(camel_object_class, "folder_renamed", NULL); @@ -174,6 +180,19 @@ camel_store_get_type (void) return camel_store_type; } +static int +store_setv (CamelObject *object, CamelException *ex, CamelArgV *args) +{ + /* CamelStore doesn't currently have anything to set */ + return CAMEL_OBJECT_CLASS (parent_class)->setv (object, ex, args); +} + +static int +store_getv (CamelObject *object, CamelException *ex, CamelArgGetV *args) +{ + /* CamelStore doesn't currently have anything to get */ + return CAMEL_OBJECT_CLASS (parent_class)->getv (object, ex, args); +} static gboolean folder_matches (gpointer key, gpointer value, gpointer user_data) |