Implement. (get_trash): Implement. (camel_pop3_store_class_init): Override
2001-03-07 Jeffrey Stedfast <fejj@ximian.com> * providers/pop3/camel-pop3-store.c (init_trash): Implement. (get_trash): Implement. (camel_pop3_store_class_init): Override the default init_trash and get_trash virtual functions. Hopefully this should fix the problem of pop3 sotre's not disconnecting after the send&recv code finishes downloading mail. Wonder if I should override the default implementation for the mbox, mh, and maildir too? svn path=/trunk/; revision=8592
This commit is contained in:
committed by
Jeffrey Stedfast
parent
06cd1f4436
commit
c5d148704d
@ -1,3 +1,15 @@
|
||||
2001-03-07 Jeffrey Stedfast <fejj@ximian.com>
|
||||
|
||||
* providers/pop3/camel-pop3-store.c (init_trash): Implement.
|
||||
(get_trash): Implement.
|
||||
(camel_pop3_store_class_init): Override the default init_trash and
|
||||
get_trash virtual functions. Hopefully this should fix the problem
|
||||
of pop3 sotre's not disconnecting after the send&recv code
|
||||
finishes downloading mail.
|
||||
|
||||
Wonder if I should override the default implementation for the
|
||||
mbox, mh, and maildir too?
|
||||
|
||||
2001-03-07 Dan Winship <danw@ximian.com>
|
||||
|
||||
* camel-remote-store.c (camel_remote_store_connected): Return the
|
||||
|
||||
@ -77,6 +77,9 @@ static GList *query_auth_types (CamelService *service, gboolean connect, CamelEx
|
||||
static CamelFolder *get_folder (CamelStore *store, const char *folder_name,
|
||||
guint32 flags, CamelException *ex);
|
||||
|
||||
static void init_trash (CamelStore *store);
|
||||
static CamelFolder *get_trash (CamelStore *store, CamelException *ex);
|
||||
|
||||
static int pop3_get_response (CamelPop3Store *store, char **ret, CamelException *ex);
|
||||
|
||||
|
||||
@ -97,6 +100,8 @@ camel_pop3_store_class_init (CamelPop3StoreClass *camel_pop3_store_class)
|
||||
camel_service_class->disconnect = pop3_disconnect;
|
||||
|
||||
camel_store_class->get_folder = get_folder;
|
||||
camel_store_class->init_trash = init_trash;
|
||||
camel_store_class->get_trash = get_trash;
|
||||
}
|
||||
|
||||
|
||||
@ -533,6 +538,20 @@ get_folder (CamelStore *store, const char *folder_name,
|
||||
return camel_pop3_folder_new (store, ex);
|
||||
}
|
||||
|
||||
static void
|
||||
init_trash (CamelStore *store)
|
||||
{
|
||||
/* no-op */
|
||||
;
|
||||
}
|
||||
|
||||
static CamelFolder *
|
||||
get_trash (CamelStore *store, CamelException *ex)
|
||||
{
|
||||
/* no-op */
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* camel_pop3_command: Send a command to a POP3 server.
|
||||
|
||||
Reference in New Issue
Block a user