Re: [Evolution-hackers] Camel.Store or Camel.Folder sync()
- From: Jules Colding <colding omesc com>
- To: sparthasarathi novell com
- Cc: Evolution Hackers <evolution-hackers gnome org>
- Subject: Re: [Evolution-hackers] Camel.Store or Camel.Folder sync()
- Date: Wed, 01 Mar 2006 09:31:48 +0100
On Wed, 2006-03-01 at 13:35 +0530, Parthasarathi Susarla wrote:
> On Wed, 2006-03-01 at 08:51 +0100, Jules Colding wrote:
>
> > Yes sure, but my question was more directed towards the expunge
> > functionality of sync(). Both camel_store_sync() and camel_folder_sync()
> > have an option for expunging folders. The functionality is therefore
> > shared between the Camel.Store and Camel.Folder classes.
> >
> > I am therefore in doubt about which one is the preferred place to
> > actually implement the expunge functionality.
> The store_sync() calls a folder_sync on all the folders available in the
> store. So you actually need to implement it the Camel.Folder sync. And
> the store sync would do the rest for you. It is not necessary for you to
> implement the store_sync method unless you drastically want to change
> something specific to your store, which i doubt. For more details just
> see store_sync() function in camel-store.c.
>
> >
> > I would guess in Camel.Folder but is that correct?
> yup.
OK - thanks a lot,
jules
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]