I proposed one event_id because the insert hook also only receives one

The idea was simply as a notification mechanism, I am not sure it's a
good idea to allow extensions to bar events from deletion, although I
can't fully see the ramifications of this... We can't use the current
notification API because that would require a full dbus roundtrip (back
to the same process!).

I don't know if the hooks should be called before or after the
deletion... Any thoughts?

delete_event_hook for extensions
You received this bug notification because you are a member of Zeitgeist
Framework Team, which is subscribed to Zeitgeist Framework.

Status in Zeitgeist Framework: New

Bug description:
Right now zeitgeist extensions have no way of knowing when events are deleted. 
I propose adding a delete_event_hook() method on the Extension class that 
extensions can override. The delete_event_hook() method should take an event_id 
as its sole argument.

I need this functionality in the FTS extension.

Mailing list: https://launchpad.net/~zeitgeist
Post to     : zeitgeist@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zeitgeist
More help   : https://help.launchpad.net/ListHelp

Reply via email to