mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-13 19:29:06 +01:00
Removed direct calls to DB's contact/identity methods.
This commit is contained in:
@@ -30,10 +30,10 @@ public interface ContactManager {
|
||||
void removeContact(ContactId c) throws DbException;
|
||||
|
||||
interface AddContactHook {
|
||||
void addingContact(ContactId c);
|
||||
void addingContact(Contact c);
|
||||
}
|
||||
|
||||
interface RemoveContactHook {
|
||||
void removingContact(ContactId c);
|
||||
void removingContact(Contact c);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -25,10 +25,10 @@ public interface IdentityManager {
|
||||
void removeLocalAuthor(AuthorId a) throws DbException;
|
||||
|
||||
interface AddIdentityHook {
|
||||
void addingIdentity(AuthorId a);
|
||||
void addingIdentity(LocalAuthor a);
|
||||
}
|
||||
|
||||
interface RemoveIdentityHook {
|
||||
void removingIdentity(AuthorId a);
|
||||
void removingIdentity(LocalAuthor a);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user