Add a LiveQueryIntegrator to ease query writing
ClosedPublic

Authored by ervin on Aug 28 2015, 1:11 PM.

Details

Summary

This will allow to factor out quite some code out of the queries
classes. They all have some book keeping and behavior in common, so move
as much as possible of it inside an ad hoc class.

Diff Detail

Repository
R4 Zanshin
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
ervin updated this revision to Diff 627.Aug 28 2015, 1:11 PM
ervin retitled this revision from to Add a LiveQueryIntegrator to ease query writing.
ervin updated this object.
ervin edited the test plan for this revision. (Show Details)
ervin added reviewers: bensi, franckarrecot, remibenoit.
ervin updated this revision to Diff 699.Sep 4 2015, 2:40 PM

Improve the template magic around bind so that template parameters don't need to be explicitly specified anymore

ervin updated this revision to Diff 703.Sep 4 2015, 8:30 PM

Further tuning in the template code

bensi accepted this revision.Sep 12 2015, 12:10 PM
bensi edited edge metadata.
This revision is now accepted and ready to land.Sep 12 2015, 12:10 PM
franckarrecot requested changes to this revision.Sep 13 2015, 12:46 PM
franckarrecot edited edge metadata.
franckarrecot added inline comments.
src/akonadi/akonadilivequeryintegrator.h
118

"must retrun bool" instead of "void"

This revision now requires changes to proceed.Sep 13 2015, 12:46 PM
ervin updated this revision to Diff 877.Sep 15 2015, 4:51 PM
ervin edited edge metadata.

Fix the static assert message, it was saying the predicate should return void while in fact it should return bool.

franckarrecot accepted this revision.Sep 16 2015, 2:39 PM
franckarrecot edited edge metadata.
This revision is now accepted and ready to land.Sep 16 2015, 2:39 PM
This revision was automatically updated to reflect the committed changes.