Call the listeners when contacts are added and removed.

This commit is contained in:
akwizgran
2011-08-11 15:55:30 +01:00
parent 151a360587
commit 3edfa5d1ba
4 changed files with 37 additions and 28 deletions

View File

@@ -4,6 +4,7 @@ package net.sf.briar.api.db;
public interface DatabaseListener {
static enum Event {
CONTACTS_UPDATED,
MESSAGES_ADDED,
SUBSCRIPTIONS_UPDATED,
TRANSPORTS_UPDATED