[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-pim
Subject:    Re: [Kde-pim] [PATCH] Akonadi::ItemSync customization
From:       Dmitry Ivanov <vonami () gmail ! com>
Date:       2008-06-27 18:32:54
Message-ID: 200806272232.55107.vonami () gmail ! com
[Download RAW message or body]

On Friday 27 June 2008 16:00:56 Dmitry Ivanov wrote:
> Hello,
>
> The attached patch allows to customize the behaviour of  Akonadi::ItemSync:
>
> 1. Allows subsclasses to "plug in" their own sync algorithms by
> reimplementing virtual bool updateItem( const Item &local, Item &remote )
> const
>
> 2. Allows to specify how much data ItemSync should fetch from the cache
> when building a list of all items for the collection being synchronized, by
> calling
>    fetchScope() or setFetchScope().
>
> The default behaviour of ItemSync changes since its now fetches the full
> payload from the cache by default (it was disabled before due to a possible
> deadlock).
>
> Since the patch breaks BC and my work on the SoC project is partially
> blocked, I'd like to get this patch in ASAP. (note: no apidocs yet).

Small fix: I will remove constness of updateItem() as I can imagine scenarios 
where the decision for the current items depends on data collected from 
previous items.

Dmitry

-- 
A: Because it destroys the flow of the conversation
Q: Why is top-posting bad?
_______________________________________________
KDE PIM mailing list kde-pim@kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic