Add dbus SignalControl interface to register/verify/link accounts

This commit is contained in:
AsamK 2021-04-03 19:13:12 +02:00
parent 48b2c7ff8a
commit 8f781c019f
9 changed files with 272 additions and 22 deletions

View file

@ -9,10 +9,10 @@ import java.util.List;
public interface MultiLocalCommand extends LocalCommand {
void handleCommand(Namespace ns, List<Manager> m) throws CommandException;
void handleCommand(Namespace ns, List<Manager> m, final SignalCreator c) throws CommandException;
@Override
default void handleCommand(final Namespace ns, final Manager m) throws CommandException {
handleCommand(ns, List.of(m));
handleCommand(ns, List.of(m), null);
}
}